CPAN upload
CPAN offers multiple ways for uploading modules. I only know of 3 ways:
- the pause web interface
- How to push CPAN modules from Github to CPAN
- FTP with cpan-upload
I'm wondering if it's possible to upload a file through scp (ssh). This would be very convenient in the case where SSH keys would be allowed as it wouldn't require users to type in a password (except for the first time that the ssh-aget loads the key).
Anyone knows if it's possible to use scp?
You can use the PAUSE upload page or use anonymous FTP. You can fake various methods that actually use the HTTP upload you find on the PAUSE page.
The Github upload is odd. I wouldn't use that since it makes a tarball out of everything in your repo for that tag. If there is anything else in there that's not in MANIFEST, you're probably distributing too much.
I use my Module::Release module to handle all of the details for me.
I use a custom made release script. My script too handles the most common tasks for some of my modules but I should definitely adopt one of the release helpers available in CPAN.
I use cpan-upload for uploading my modules and I find it a bit annoying to type in my password. When I release a module I also update my remote repository at the same time and this is done without a password (assuming that my SSH key has been already loaded).
I would love to see a similar functionality for uploading modules to CPAN. I'm pretty sure that others will enjoy too.
I'm assuming that the pause server is running already linux/unix so it would be a matter of proving a web frontend for uploading our SSH plublic key and to allow users to scp.