URL: <http://gna.org/patch/?4453>
Summary: --enable-gitrev Project: Freeciv Submitted by: cazfi Submitted on: Sun 26 Jan 2014 12:40:51 AM EET Category: bootstrap Priority: 5 - Normal Status: Ready For Test Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.5.0, 2.6.0 _______________________________________________________ Details: Add configure option --enable-gitrev, equivalent to --enable-svnrev. If freeciv sources to be built happen to be in git repository, enabling this option adds commit id to version numbers. This initial version is straightforward copy of --enable-svnrev implementation. As git commit id is rather long string, there's certainly need to adjust this feature in future tickets, not to print full string where it doesn't fit. There's no plan to switch freeciv project to git (freeciv-web part is already in github). This patch exist for two reasons: 1) It opens the option to switch to git in the future. This feature should be in all branches active at the time of the switch to mimimize feature reggression 2) More importantly, many people already use git-svn for freeciv development (not limited to freeciv project itself, but to external projects too). --enable-gitrev feature will be available for them already. It seems to me that there's not much risk in including this to S2_5, but rather makes sure it's not later found out to be needed but not present there. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sun 26 Jan 2014 12:40:51 AM EET Name: GitRev.patch Size: 7kB By: cazfi <http://gna.org/patch/download.php?file_id=19868> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?4453> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev