Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#18228 closed New feature (duplicate)

Add get_git_revsion() to django.utils.version and refactor django.get_version()

Reported by: Daniel Swarbrick Owned by: nobody
Component: Core (Other) Version: dev
Severity: Normal Keywords: git
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Attached patch adds function to determine the git HEAD revision hash, and modifies django.get_version() accordingly.

Attachments (1)

get_git_version.diff (2.0 KB ) - added by Daniel Swarbrick 13 years ago.

Download all attachments as: .zip

Change History (3)

by Daniel Swarbrick, 13 years ago

Attachment: get_git_version.diff added

comment:1 by Aymeric Augustin, 13 years ago

Resolution: duplicate
Status: newclosed

Thanks, but this is a duplicate of #18224.

To avoid duplicating efforts, it's best to check existing tickets before writing patches, for instance with the "Search" field at the top right of each page.

comment:2 by Daniel Swarbrick, 13 years ago

Sorry. Didn't expect that functionality to be in there so quickly. I wrote my patch last night, before #18224 was even open.

Note: See TracTickets for help on using tickets.
Back to Top