Author |
Message
|
souciance |
Posted: Thu Oct 18, 2018 11:19 pm Post subject: git keywords in bar file |
|
|
Disciple
Joined: 29 Jun 2010 Posts: 169
|
Hello,
SVN had its keywords which you could bake into the barfile. It doesn't seem that git has that functionality. Anyone solved this? We would like to see in our runtime who deployed what and from which branch. Yes, I know there a thousand other ways to do this, but if somoene can confirm that this work is doomed to fail then that would be enough.
Best
Souciance |
|
Back to top |
|
 |
Vitor |
Posted: Fri Oct 19, 2018 5:07 am Post subject: Re: git keywords in bar file |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
souciance wrote: |
somoene can confirm that this work is doomed to fail then that would be enough. |
I can confirm that to the best of my knowledge git lacks an equivalent of the svn keywords you speak of. If someone knows better, I'd be very interested to find that out!
You'll need to use one of the thousand other ways to obtain the information and bake it into the barfile (which is of course a broker function independent of any source control technology) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Oct 19, 2018 5:09 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
For the record, we moved away from doing this when we moved to Git from SVN and now obtain the information you're talking about from our deployment control system (Jenkins et al).
But I would be interested in having my Git knowledge increased if someone does know this........? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
souciance |
Posted: Fri Oct 19, 2018 1:40 pm Post subject: |
|
|
Disciple
Joined: 29 Jun 2010 Posts: 169
|
Vitor wrote: |
For the record, we moved away from doing this when we moved to Git from SVN and now obtain the information you're talking about from our deployment control system (Jenkins et al).
But I would be interested in having my Git knowledge increased if someone does know this........? |
Yeah our Jenkins can give us this info as well but it would be sweet to inject this into the bar file. I am sure there is some bad script someone has written to get it to work. |
|
Back to top |
|
 |
timber |
Posted: Mon Oct 22, 2018 12:17 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
|
Back to top |
|
 |
|