Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag information in a dedicated file #118

Closed
Sebastien-Hanicotte opened this issue Oct 28, 2013 · 1 comment
Closed

Tag information in a dedicated file #118

Sebastien-Hanicotte opened this issue Oct 28, 2013 · 1 comment

Comments

@Sebastien-Hanicotte
Copy link
Member

CVS projects had their $id:$ keyword to retrieve current deployment tag
SVN projects had their $id$ keyword to retrieve this same information
Git... does not have this kind of feature.

Assurely, Twgit can help Git Users to update this information and allow projects who needs to access this kind of information to retrieve it easily.

The .twgit config file will ask for a particular file where to put the current Tag name, if left blank, then the file will not be created, but if filled with Complete_Path, this information will be retrieved and stored in each Tag created with Twgit process.

Let's hope it will be useful for a lot of projects, which will be able to inform their users their version info.

based on @gletournel and @geoffroy-aubry original idea (Let's give credit where credit is due)

Sebastien-Hanicotte added a commit to Sebastien-Hanicotte/twgit that referenced this issue Nov 22, 2013
The version info will look for every files specified in the
TWGIT_VERSION_INFO_PATH to replace Id tag with starting new tag.
The Id tag has to be written either as '$Id$' or '$Id:1.2.3'
When beginning a new tag (twgit init, twgit release start or
twgit hotfix start), the value will be updated with new version
information (ex. $Id:1.3.0$).

Specific tests have been written to check that waited and
unwaited substitution are correctly performed for the three way
of starting a new tag.
@geoffroy-aubry
Copy link
Member

4b810d5

@geoffroy-aubry geoffroy-aubry added this to the v1.14.0 milestone Apr 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants