Re: On git 1.6 (novice's opinion)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30 Mar 2009 at 11:06, Andreas Ericsson wrote:

[...]
> 3 It's far better to set the version number in the release-process. Usually
>   this can be done automatically by one invocation of "git describe", just
>   as git.git does it.

However if you put a version number into every file and THEN commit, it's somewhat 
ridiculous (I'll have to learn about "git describe"). But for configuration 
management you want to have exactly that (find exactly the file that was shipped 
(or used to build)).

> 
> We've adopted "3" full out at $dayjob. Our build-machinery gets the version
> number from the git tag (releases can only be built from signed tags), and
> it updates macros and whatnot used for informing the user which version he
> or she is running. This makes a lot more sense both from a bug-reporting
> and from a release process view than having generated version-numbers in

So your "release commits" are outside GIT? (see above)

> files. On a side-note; When I told my co-workers I'd like us to switch to
> git, two of them asked about autoversioning features. I said there weren't
> any and asked them to name a single time when we've actually used them for
> anything *at all*. In a team of eight, having been programming for three
> years with 12 releases and about 800 bugreports + feature-requests, noone
> could mention a single time when the autogenerated version numbers had
> actually been used for anything.

Hmm: Were they visible to customers?

> 
> Otoh, having the entire repository locally makes it painless to view the
> commit-log for an entire project (or parts of it) and see who changed what
> when and why, which is information that's actually *useful*.

[Big meals need time to digest: Just give me more time to do so (getting into 
git). As with vi and Emacs (usualy I prefer Emacs), there will be situations when 
I won't use Git however]

Regards,
Ulrich

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux