Fossil

Check-in [4adcd4f4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added some docs for the name/uuid params for /zip.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:4adcd4f4f55f4a13960aa42c24fb07606af39093
User & Date: stephan 2014-03-24 16:30:56
References
2014-03-25
18:43 Fixed ticket [d752140c]: RECONSTRUCT failure plus 4 other changes artifact: 615b7e1e user: nobody
Context
2014-03-26
11:03
Use full UUID's in hyperlinks check-in: a16236e7 user: jan.nijtmans tags: trunk
2014-03-24
16:30
Added some docs for the name/uuid params for /zip. check-in: 4adcd4f4 user: stephan tags: trunk
2014-03-23
17:14
Added some text to the /tar help, per ML suggestion. check-in: 7ba06f15 user: stephan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/zip.c.

416
417
418
419
420
421
422









423
424
425
426
427
428
429

/*
** WEBPAGE: zip
** URL: /zip/RID.zip
**
** Generate a ZIP archive for the baseline.
** Return that ZIP archive as the HTTP reply content.









*/
void baseline_zip_page(void){
  int rid;
  char *zName, *zRid;
  int nName, nRid;
  Blob zip;








>
>
>
>
>
>
>
>
>







416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438

/*
** WEBPAGE: zip
** URL: /zip/RID.zip
**
** Generate a ZIP archive for the baseline.
** Return that ZIP archive as the HTTP reply content.
**
** Optional URL Parameters:
**
** - name=base name of the output file. Defaults to
** something project/version-specific.
**
** - uuid=the version to zip (may be a tag/branch name).
** Defaults to trunk.
**
*/
void baseline_zip_page(void){
  int rid;
  char *zName, *zRid;
  int nName, nRid;
  Blob zip;