Opened 7 years ago

Closed 7 years ago

Last modified 7 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: master
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


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 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Daniel Swarbrick

Attachment: get_git_version.diff added

comment:1 Changed 7 years ago by Aymeric Augustin

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 Changed 7 years ago by Daniel Swarbrick

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