News for hackers. Stuff that matters.
Re:Ubuntu 13.10 (Saucy Salamander) by 0x006A on Thursday October 17, 2013 @08:06AM (#6564794)
can you use obs to build packages straight from git? Tarball based build workflows seam rather outdated to me.
Re:Ubuntu 13.10 (Saucy Salamander) by halfasleep on Thursday October 17, 2013 @08:18AM (#6564839)
Yeah, you can. The functionality is called "services". I'm not sure how auto-versioning would work with git though. I have packages building from SVN, and OBS updates the spec file automagically to set the version to the SVN revision.
Re:Ubuntu 13.10 (Saucy Salamander) by tacticus on Thursday October 17, 2013 @08:23AM (#6564865)
Git describe is what you want.

it will take the nearest tag name and use that as the version with the number of commits from that tag as the release value.