Skip to main content

zest.releaser plugin to enter from the command-line the destination of the upload

Project description

This package provides a plugin for zest.releaser that offers to upload the released egg via SCP, SFTP or HTTP(S) PUT (WebDAV) to a custom location (instead of or in addition to PyPI).

This plugin is based on gocept.zestreleaser.customupload to do the upload process and uses the distbase and distdefault concept of jarn.mkrelease, so you need to add something like this to your ~/.pypirc like the following:

[cs.zestreleaser.upload]
_default_with_input_ = scp://download.gocept.com//var/www/customers/
_default_ = scp://download.gocept.com//var/www/packages

If the option _default_with_input is set, the script will ask the user a folder name that will be appended to the setting, and the created egg will be uploaded there and the script will finish there.

This option is useful if you have a folder where you have one folder per project/customer in the same place.

If the option _default_with_input_ is not set and _default_ is set, the script will upload the egg to that destination. This is usefull as a default destination of your eggs.

Options for HTTP(S) PUT (WebDAV)

This option is the same as in gocept.zestreleaser.customupload so HTTP(S) PUT (WebDAV) is implemented using curl to add options to curl, e. g. to disable certificate checks, add the options in front of the URL like this:

[cs.zestreleaser.upload]
gocept.special = --insecure https://dav.gocept.com/special

Development

The source code is available in the git repository at https://github.com/codesyntax/cs.zestreleaser.upload

Please report any bugs you find at https://github.com/codesyntax/cs.zestreleaser.upload/issues

Changelog

2.0 (2020-02-26)

  • Python3 support [erral]

1.0 (2014-11-07)

  • Initial implementation [erral]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cs.zestreleaser.upload-2.0.tar.gz (22.3 kB view details)

Uploaded Source

File details

Details for the file cs.zestreleaser.upload-2.0.tar.gz.

File metadata

  • Download URL: cs.zestreleaser.upload-2.0.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for cs.zestreleaser.upload-2.0.tar.gz
Algorithm Hash digest
SHA256 c4fbdc20489735760fb8bb27f89325d6fb7cd56673f2059b0985d1dbd5efc9eb
MD5 98f1fca61fe8fff2f4b35cc32e19e627
BLAKE2b-256 36c3227b35b2c97bb32bf48c4d6e53be43d8811b1c8fc1d91f4d4eb404078397

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page