List for cgit developers and users
 help / color / mirror / Atom feed
From: Mateja Maric <mail@matejamaric.com>
To: Martin Burnicki <martin.burnicki@meinberg.de>
Cc: cgit@lists.zx2c4.com
Subject: Re: Download links for HEAD?
Date: Thu, 27 Aug 2020 10:49:31 +0000 (UTC)	[thread overview]
Message-ID: <4c1a6968-fc38-491e-bb94-2e112a90986b@matejamaric.com> (raw)
In-Reply-To: <0ed398ac-729d-6131-a4ab-2ae0f440aa0b@meinberg.de>

Checkout "snapshots" option in cgitrc manpage. You can have both .zip and .tar.gz. archives.
27 Aug 2020 12:44:50 Martin Burnicki <martin.burnicki@meinberg.de>:

> Hi,
> 
> I've recently started to use cgit, and there are a few projects on our
> web page:
> https://git.meinbergglobal.com/
> 
> Beside the possibility that users can clone the repos, I'd appreciate if
> there was an easy way to download e.g. the current HEAD (or a specific
> version ) as .zip or .tar.gz file, even if a version has no tag.
> 
> This would make it much easier for users that aren't familiar with git
> to download the latest code.
> 
> For example, in this repo
> https://git.meinbergglobal.com/example-code/gpsxmple.git/
> 
> I've explicitly assigned a tag 'gpsxmple-current' to the latest commit
> to make sure download links are listed. But of course, after a future
> commit the tag had to be deleted and assign to the new commit.
> 
> Is it not possible to download current HEAD as archive, or am I missing
> something?
> 
> Thanks for any suggestions,
> 
> Martin
> -- 
> Martin Burnicki
> 
> Senior Software Engineer
> 
> MEINBERG Funkuhren GmbH & Co. KG
> Email: martin.burnicki@meinberg.de
> Phone: +49 5281 9309-414
> Linkedin: https://www.linkedin.com/in/martinburnicki/
> 
> Lange Wand 9, 31812 Bad Pyrmont, Germany
> Amtsgericht Hannover 17HRA 100322
> Geschäftsführer/Managing Directors: Günter Meinberg, Werner Meinberg,
> Andre Hartmann, Heiko Gerstung
> Websites: https://www.meinberg.de  https://www.meinbergglobal.com
> Training: https://www.meinberg.academy
> 

  reply	other threads:[~2020-08-27 10:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-27 10:44 Martin Burnicki
2020-08-27 10:49 ` Mateja Maric [this message]
2020-08-27 11:23   ` Martin Burnicki
2020-08-27 11:51     ` Mateja Maric
2020-08-27 12:40       ` Martin Burnicki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4c1a6968-fc38-491e-bb94-2e112a90986b@matejamaric.com \
    --to=mail@matejamaric.com \
    --cc=cgit@lists.zx2c4.com \
    --cc=martin.burnicki@meinberg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).