Fossil SCM

The /zip and /tarball built-in help now makes clear that the VERSION/ part of the URL is optional to help avoid confusions like we're seeing in [forum:/forumpost/24c0eb271dbadcf0 | the forum post] that sparked this sequence of improvements.

wyoung 2023-02-28 05:41 trunk
Commit 4717db33f0033b48f7fd74194b203c02df0f8195b23de639a7c38fda15ac41e9
2 files changed +2 -2 +3 -3
+2 -2
--- src/tar.c
+++ src/tar.c
@@ -704,17 +704,17 @@
704704
return zName;
705705
}
706706
707707
/*
708708
** WEBPAGE: tarball
709
-** URL: /tarball/VERSION/NAME.tar.gz
709
+** URL: /tarball/[VERSION/]NAME.tar.gz
710710
**
711711
** Generate a compressed tarball for the check-in specified by VERSION.
712712
** The tarball is called NAME.tar.gz and has a top-level directory called
713713
** NAME.
714714
**
715
-** Alternatively, the VERSION can be specified using the r= query parameter.
715
+** The optional VERSION element defaults to "trunk" per the r= rules below.
716716
** All of the following URLs are equivalent:
717717
**
718718
** /tarball/release/xyz.tar.gz
719719
** /tarball?r=release&name=xyz.tar.gz
720720
** /tarball/xyz.tar.gz?r=release
721721
--- src/tar.c
+++ src/tar.c
@@ -704,17 +704,17 @@
704 return zName;
705 }
706
707 /*
708 ** WEBPAGE: tarball
709 ** URL: /tarball/VERSION/NAME.tar.gz
710 **
711 ** Generate a compressed tarball for the check-in specified by VERSION.
712 ** The tarball is called NAME.tar.gz and has a top-level directory called
713 ** NAME.
714 **
715 ** Alternatively, the VERSION can be specified using the r= query parameter.
716 ** All of the following URLs are equivalent:
717 **
718 ** /tarball/release/xyz.tar.gz
719 ** /tarball?r=release&name=xyz.tar.gz
720 ** /tarball/xyz.tar.gz?r=release
721
--- src/tar.c
+++ src/tar.c
@@ -704,17 +704,17 @@
704 return zName;
705 }
706
707 /*
708 ** WEBPAGE: tarball
709 ** URL: /tarball/[VERSION/]NAME.tar.gz
710 **
711 ** Generate a compressed tarball for the check-in specified by VERSION.
712 ** The tarball is called NAME.tar.gz and has a top-level directory called
713 ** NAME.
714 **
715 ** The optional VERSION element defaults to "trunk" per the r= rules below.
716 ** All of the following URLs are equivalent:
717 **
718 ** /tarball/release/xyz.tar.gz
719 ** /tarball?r=release&name=xyz.tar.gz
720 ** /tarball/xyz.tar.gz?r=release
721
+3 -3
--- src/zip.c
+++ src/zip.c
@@ -866,18 +866,18 @@
866866
** WEBPAGE: sqlar
867867
** WEBPAGE: zip
868868
**
869869
** URLs:
870870
**
871
-** /zip/VERSION/NAME.zip
872
-** /sqlar/VERSION/NAME.sqlar
871
+** /zip/[VERSION/]NAME.zip
872
+** /sqlar/[VERSION/]NAME.sqlar
873873
**
874874
** Generate a ZIP Archive or an SQL Archive for the check-in specified by
875875
** VERSION. The archive is called NAME.zip or NAME.sqlar and has a top-level
876876
** directory called NAME.
877877
**
878
-** Alternatively, the VERSION can be specified using the r= query parameter.
878
+** The optional VERSION element defaults to "trunk" per the r= rules below.
879879
** All of the following URLs are equivalent:
880880
**
881881
** /zip/release/xyz.zip
882882
** /zip?r=release&name=xyz.zip
883883
** /zip/xyz.zip?r=release
884884
--- src/zip.c
+++ src/zip.c
@@ -866,18 +866,18 @@
866 ** WEBPAGE: sqlar
867 ** WEBPAGE: zip
868 **
869 ** URLs:
870 **
871 ** /zip/VERSION/NAME.zip
872 ** /sqlar/VERSION/NAME.sqlar
873 **
874 ** Generate a ZIP Archive or an SQL Archive for the check-in specified by
875 ** VERSION. The archive is called NAME.zip or NAME.sqlar and has a top-level
876 ** directory called NAME.
877 **
878 ** Alternatively, the VERSION can be specified using the r= query parameter.
879 ** All of the following URLs are equivalent:
880 **
881 ** /zip/release/xyz.zip
882 ** /zip?r=release&name=xyz.zip
883 ** /zip/xyz.zip?r=release
884
--- src/zip.c
+++ src/zip.c
@@ -866,18 +866,18 @@
866 ** WEBPAGE: sqlar
867 ** WEBPAGE: zip
868 **
869 ** URLs:
870 **
871 ** /zip/[VERSION/]NAME.zip
872 ** /sqlar/[VERSION/]NAME.sqlar
873 **
874 ** Generate a ZIP Archive or an SQL Archive for the check-in specified by
875 ** VERSION. The archive is called NAME.zip or NAME.sqlar and has a top-level
876 ** directory called NAME.
877 **
878 ** The optional VERSION element defaults to "trunk" per the r= rules below.
879 ** All of the following URLs are equivalent:
880 **
881 ** /zip/release/xyz.zip
882 ** /zip?r=release&name=xyz.zip
883 ** /zip/xyz.zip?r=release
884

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button