List for cgit developers and users
 help / color / mirror / Atom feed
* Could snapshot links be named after git describe ?
@ 2016-10-10  9:04 sylvain
  2016-10-23 16:10 ` john
  0 siblings, 1 reply; 2+ messages in thread
From: sylvain @ 2016-10-10  9:04 UTC (permalink / raw)


Hi,

Currently the snapshots and resulted downloaded files are named like
this <project>-<branch|sha1>.<zip|tar.gz|tar.bz2>

I was wondering if they could be named using the git describe format
instead. I think it would make more sens and be prettier.

Naming the file after the branch does not make much sens according to
me as it could be any commit of the said branch at any given time and
the full sha1 is not really useful.

<project>-$(git describe --abbrev=6).<zip|tar.gz|tar.bz2> seems the
best to me. I find it really useful to have the last tag name and the
number of commits since.

Best regards.

-- 
Sylvain Rabot <sylvain at abstraction.fr>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-23 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-10  9:04 Could snapshot links be named after git describe ? sylvain
2016-10-23 16:10 ` john

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).