List for cgit developers and users
 help / color / mirror / Atom feed
* Custom release downloads
@ 2021-12-05 21:25 Kian Kasad
  0 siblings, 0 replies; only message in thread
From: Kian Kasad @ 2021-12-05 21:25 UTC (permalink / raw)
  To: cgit

[-- Attachment #1: Type: text/plain, Size: 975 bytes --]

Hi,

Is it possible to add custom release downloads? Instead of a snapshot of
the Git repository, I want to be able to add a certain file to download.
This file will be generated in a post-receive hook for my repository,
but that shouldn't matter too much.

For example, the repository structure could look like this, with the
files to download placed in a 'releases' folder.

	repo.git
	├── branches
	├── config
	├── description
	├── HEAD
	├── releases
	│   ├── v0.0.0
	│   │   ├── kblackjack-0.0.0.tar.gz
	│   │   └── kblackjack-0.0.0-py3-none-any.whl
	│   └── v0.0.1
	│       ├── kblackjack-0.0.1.tar.gz
	│       └── kblackjack-0.0.1-py3-none-any.whl
	├── hooks
	│   └── ...
	├── info
	│   └── ...
	├── objects
	│   └── ...
	└── refs
	    └── ...

--
Kian Kasad
PGP 0x1715EEAA14DAEC1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-05 21:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-05 21:25 Custom release downloads Kian Kasad

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).