* gnupload: Explain how to create symlinks
@ 2019-05-09 23:34 Bruno Haible
2019-05-11 18:50 ` Bruno Haible
0 siblings, 1 reply; 2+ messages in thread
From: Bruno Haible @ 2019-05-09 23:34 UTC (permalink / raw)
To: bug-gnulib
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 <bruno@clisp.org>
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 \\
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: gnupload: Explain how to create symlinks
2019-05-09 23:34 gnupload: Explain how to create symlinks Bruno Haible
@ 2019-05-11 18:50 ` Bruno Haible
0 siblings, 0 replies; 2+ messages in thread
From: Bruno Haible @ 2019-05-11 18:50 UTC (permalink / raw)
To: bug-gnulib
> 2019-05-09 Bruno Haible <bruno@clisp.org>
>
> gnupload: Explain how to create symlinks.
> * build-aux/gnupload (usage): Add an example that creates symlinks.
>
Pushed.
Bruno
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-11 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-09 23:34 gnupload: Explain how to create symlinks Bruno Haible
2019-05-11 18:50 ` Bruno Haible
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 read-only IMAP folder(s) and NNTP newsgroup(s).