[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnupload: Explain how to create symlinks
From: |
Bruno Haible |
Subject: |
gnupload: Explain how to create symlinks |
Date: |
Fri, 10 May 2019 01:34:59 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; ) |
I needed to create symlinks on alpha.gnu.org, and did not find the
accepted gnupload syntax in 'gnupload --help', Here is a proposed patch
to explain it.
2019-05-09 Bruno Haible <address@hidden>
gnupload: Explain how to create symlinks.
* build-aux/gnupload (usage): Add an example that creates symlinks.
diff --git a/build-aux/gnupload b/build-aux/gnupload
index 3fcf551..d24a924 100755
--- a/build-aux/gnupload
+++ b/build-aux/gnupload
@@ -116,12 +116,22 @@ Examples:
--symlink-regex \\
foobar-1.0.tar.gz foobar-1.0.tar.xz
-4. Upload foobar-0.9.90.tar.gz to two sites:
+4. Create a symbolic link foobar-latest.tar.gz -> foobar-1.0.tar.gz
+ and likewise for the corresponding .sig file:
+ gnupload --to ftp.gnu.org:foobar \\
+ --symlink foobar-1.0.tar.gz foobar-latest.tar.gz \\
+ foobar-1.0.tar.gz.sig foobar-latest.tar.gz.sig
+ or (equivalent):
+ gnupload --to ftp.gnu.org:foobar \\
+ --symlink foobar-1.0.tar.gz foobar-latest.tar.gz \\
+ --symlink foobar-1.0.tar.gz.sig foobar-latest.tar.gz.sig
+
+5. Upload foobar-0.9.90.tar.gz to two sites:
gnupload --to alpha.gnu.org:foobar \\
--to sources.redhat.com:~ftp/pub/foobar \\
foobar-0.9.90.tar.gz
-5. Delete oopsbar-0.9.91.tar.gz and upload foobar-0.9.91.tar.gz
+6. Delete oopsbar-0.9.91.tar.gz and upload foobar-0.9.91.tar.gz
(the -- terminates the list of files to delete):
gnupload --to alpha.gnu.org:foobar \\
--to sources.redhat.com:~ftp/pub/foobar \\
- gnupload: Explain how to create symlinks,
Bruno Haible <=