Skip to main content

Introduction

collective.zestreleaser.aftercheckoutaction allows to execute any shell action after a clean tag checkout has been done. The command is executed in the context of hte checkout directory. Some variables in the command string can be substituted:

  • name The package name

  • version The package version of the checkout

Commands can be written into ~/.pypirc, the section name must be collective.zestreleaser.aftercheckoutaction. The variable name is used to match the action against a package. For each variable, this plugin compares the package name against the variable name. If the variable name matches the beginning of the package name, the action is executed. If multiple variable name match, the longest variable name wins.

cza is a bit similar to gocept.zestreleaser.customupload. While gza lets you upload the finished egg to a predefined location, cza lets you do something with the clean checkout. Cza is intended to be used if company policy demands that each released version of company code must be committed to a company versioning system, but where the actual development happens somewhere else. You should NOT use this plugin to change something in the checkout, this would result in an egg release that has different contents than what is in the source repository

Example

Add this to your local ~/.pypirc:

[collective.zestreleaser.aftercheckoutaction]
collective.zestreleaser.aftercheckoutaction=svn import svn+ssh://do3cc@svn.zope.org/repos/main/Sandbox/do3cc/%(name)s/tags/%(version)s -m "Automatic commit"

This would execute an action for the package collective.zestreleaser.aftercheckoutaction.

Contributors

  • Wolfgang Schnerring, Christian Zagrodnick

    authors of gocept.zestreleaser.customupload, which was liberally copied

  • Patrick Gerken

    removed the clean parts of the original

Changelog

0.1.0 (2012-09-12)

  • Package created using templer []

Release files for collective.zestreleaser.aftercheckoutaction 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.zestreleaser.aftercheckoutaction 0.1.0
File Size Uploaded
collective.zestreleaser.aftercheckoutaction-0.1.0.zip 11.8 kB Details

Release files / collective.zestreleaser.aftercheckoutaction-0.1.0.zip

Download URL collective.zestreleaser.aftercheckoutaction-0.1.0.zip
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e90f05a3f9b7feefbf13808ff627dcb9eced18258fc712a9bab66634a898699d
BLAKE2b-256 checksum
How to use checksums
434b8f246696f1fbabaf78f5c13361552aed045dece15237b3717708284f7dce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page