aboutsummaryrefslogtreecommitdiff
path: root/ui-snapshot.c
Commit message (Collapse)AuthorAge
* ui-snapshot: whitespace/formatting cleanupLars Hjemli2007-07-23
| | | | | | | | Introduce a #define for number of snapshot archive entries, move all decls to function entrypoint, remove some trailing whitespace and reformat a few lines. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* cgit_print_snapshot_links: use url to specify snapshot nameLars Hjemli2007-07-23
| | | | Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* allow selective enabling of snapshotsMichael Krelin2007-07-21
| | | | | | | | snapshot configuration parameter now can be a space/slash/comma/colon/semicolon/pipe-separated list of snaphot suffixes as listed in ui-snapshot.c Signed-off-by: Michael Krelin <hacker@klever.net>
* shorten snapshot names to repo basenameMichael Krelin2007-07-21
| | | | Signed-off-by: Michael Krelin <hacker@klever.net>
* added snapshot filename to the linkMichael Krelin2007-07-21
| | | | | | | - changed cgit_pageurl into cgit_fileurl with the filename parameter - rewritten cgit_pageurl as a wrapper around cgit_fileurl Signed-off-by: Michael Krelin <hacker@klever.net>
* add plain uncompressed tar snapshort formatMichael Krelin2007-07-21
| | | | | | time to make available snapshots selectable Signed-off-by: Michael Krelin <hacker@klever.net>
* introduced .tar.bz2 snapshotsMichael Krelin2007-07-21
| | | | | | | | | | | - reworked write_tar_gzip_archive to handle arbitrary filter as a write_compressed_tar_archive - reformatted whitespaces in the said function to adhere to common cgit standards - added wrappers around write_compressed_tar_archive for .tar.gz and .tar.bz2 - added a hint for vim to use 8 characters shift width by default Signed-off-by: Michael Krelin <hacker@klever.net>
* compress .tar.gz using gzip as a filterMichael Krelin2007-07-20
|
* add support for snapshot tarballsMichael Krelin2007-07-18
| | | | | | | - reworked cgit_print_snapshot to use a list of supported archivers and pick one for the suffix supplied - moved printing of snaphot links into ui-snapshot and make it iterate through the said list
* Add support for snapshotsLars Hjemli2007-02-08
Make a link from the commit viewer to a snapshot of the corresponding tree. Currently only zip-format is supported. Signed-off-by: Lars Hjemli <hjemli@gmail.com>