| 1 |
ctanupload script |
| 2 |
~~~~~~~~~~~~~~~~~ |
| 3 |
This Perl script allows the uploads of a contribution to CTAN from the command line. |
| 4 |
It is intended to simplify the release process for LaTeX package authors. |
| 5 |
|
| 6 |
Copyright (C) by Martin Scharrer <[email protected]> |
| 7 |
Source code repository: https://bitbucket.org/martin_scharrer/ctanupload |
| 8 |
Please report bugs and feature requests at https://bitbucket.org/martin_scharrer/ctanupload/issues/ |
| 9 |
|
| 10 |
Usage: |
| 11 |
ctanupload <options> --<name>=<value> |
| 12 |
|
| 13 |
Arguments can also be given using the CTANUPLOAD environment variable which are processed first, so that |
| 14 |
explicit arguments will overwrite them. |
| 15 |
|
| 16 |
Options: |
| 17 |
-p Prompt for missing values. (default if run in terminal) |
| 18 |
-P Do not prompt for missing values. (default if not run in terminal) |
| 19 |
-y Do not ask for confirmation, but submit immediately. |
| 20 |
-u <URL> CTAN URL to upload to (defaults to CTAN_URL environment variable or random if not set) |
| 21 |
-U <name> CTAN server to upload to, either 'dante' or 'uktug'. |
| 22 |
-F <file> Read data from file |
| 23 |
-f Force upload even if input seems incorrect (unknown license etc.). |
| 24 |
-v Verbose mode. |
| 25 |
-q Quiet mode. |
| 26 |
-l Write log file. |
| 27 |
-L Do not write log file. (default) |
| 28 |
-o <file> Define log file. (still requires -l) |
| 29 |
-h Print this help and exit. |
| 30 |
-V Print version number. |
| 31 |
|
| 32 |
The following fields exists and can be given as |
| 33 |
--<name>=<value>, --<name> <value>, --<name>-file=<file>, --<name>-file <file> |
| 34 |
or as environment variables: CTAN_<NAME>, CTAN_<name>, <NAME> or <name>. |
| 35 |
|
| 36 |
contribution Name of your contribution |
| 37 |
version Version number |
| 38 |
name Your name |
| 39 |
email Your email |
| 40 |
summary Summary description |
| 41 |
directory Suggested CTAN directory |
| 42 |
DoNotAnnounce No need to announce this update |
| 43 |
announce Short description for announcement |
| 44 |
notes Optional notes to the CTAN maintainers |
| 45 |
license License type |
| 46 |
freeversion Which free license |
| 47 |
file File to upload |
| 48 |
|
| 49 |
Valid license types: |
| 50 |
free Free |
| 51 |
nocommercial Nocommercial |
| 52 |
nosell Nosell |
| 53 |
nosource Nosource |
| 54 |
shareware Shareware |
| 55 |
artistic Perl Artistic (Clarified or later) |
| 56 |
other-nonfree Other nonfree License |
| 57 |
|
| 58 |
Valid free license: |
| 59 |
apache2 Apache License v2.0 |
| 60 |
artistic Perl Artistic License (version 2) |
| 61 |
fdl GNU Free Documentation License |
| 62 |
gfl GUST Font License |
| 63 |
gpl GNU General Public License |
| 64 |
lgpl Lesser GPL |
| 65 |
lppl LaTeX Project |
| 66 |
ofl Open Font License |
| 67 |
pd Public Domain |
| 68 |
other-free Other Free |
| 69 |
|