This question led to a new package:
ctanupload
sty2dtx and ctanify are useful tools to prepare clean packages to CTAN. Is there also a tool to upload the package from a terminal?
This question led to a new package:
ctanupload
sty2dtx and ctanify are useful tools to prepare clean packages to CTAN. Is there also a tool to upload the package from a terminal?
Update 2011/09/07: Now on CTAN: ctanupload, including PDF manual.
I had now a look on how to code a script to handle the WWW form upload and went with Perl and the WWW::Mechanize library. The following script allows to upload a contribution to CTAN. The form fields can be provided using --<name>=<value> or using environment variables, which simplifies the use in Makefiles. I also implemented an interactive mode and error checking for the input.
I uploaded the script itself to CTAN as ctanupload.
See README file on CTAN.
Available on CTAN ctanupload.pl or over the source code repository: https://bitbucket.org/martin_scharrer/ctanupload
Makefilewhich calledfirefoxwith the complete form data except the file name as part of the URL, but it doesn't work any longer. Might be caused by changes in the CTAN upload form or maybe by the new Firefox version. However, it then didn't worked in my tests with other browser as well. – Martin Scharrer Sep 02 '11 at 08:34ctanifyto make sure to upload something clean, and parse the archive to get the author, package name, description, version, etc. It would then ask for confirmation before sending. – raphink Sep 02 '11 at 08:47ctanifycan then be part of a Makefile. – Martin Scharrer Sep 02 '11 at 08:50lynxor similar suit the purpose? – mas Sep 02 '11 at 11:04github actionat https://github.com/paolobrasolin/ctan-submit-action – cmhughes Apr 10 '23 at 19:04