Skip to main content

Buildout recipe for cloning sources from a mercurial repository.

Project description

hgrecipe

A Buildout recipe for pulling a Mercurial repository.

This is a fork of the MercurialRecipe package with an additional feature.

On a version update or configuration tweak Buildout is greedy, sometimes uninstalling and reinstalling parts you don’t want it to. Being on the receiving end of Buildout trashing an existing repository because of it can be painful. This recipe adds an overwrite option which ensures that Buildout will leave those repositories safe and intact.

Example Recipe

[django-dbtemplates]
recipe = hgrecipe
repository = https://me@bitbucket.org/jezdez/django-dbtemplates
overwrite = true

[my-code]
recipe = hgrecipe
repository = https://me@bitbucket.org/dont-delete-this-unless-i-say-so

Recipe Options

repository

The url of the repository to clone.

location

The location to clone the repository to. Defaults to the Buildout parts directory.

newest

Whether to pull the latest version of the repository on a Buildout. Value of true or false. Defaults to true.

overwrite

Whether to overwrite an existing repository at the value of location and whether to remove repository when recipe is uninstalled. Defaults to false.

Sandbox Installation

Run the following commands to run a demo of this package.

$ hg clone http://bitbucket.org/prestontimmons/hgrecipe
$ cd hgrecipe
$ python bootstrap.py
$ bin/buildout
$ bin/python hgrecipe/tests.py

Project details


Release history Release notifications | RSS feed

This version

0.9

Download files

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

Source Distribution

hgrecipe-0.9.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

hgrecipe-0.9.linux-x86_64.exe (67.8 kB view details)

Uploaded Source

File details

Details for the file hgrecipe-0.9.tar.gz.

File metadata

  • Download URL: hgrecipe-0.9.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hgrecipe-0.9.tar.gz
Algorithm Hash digest
SHA256 dfc5ef08efd6339b67e0b7814a84a97303ed7fac502fa123ae68b83d43149a2d
MD5 d39390002b07d188e0b2eb6f03ef00a8
BLAKE2b-256 14f553dd9f6fd5a252ba04eff611f285ce7bb92e18a394b9a02a06a78abe5e4d

See more details on using hashes here.

File details

Details for the file hgrecipe-0.9.linux-x86_64.exe.

File metadata

File hashes

Hashes for hgrecipe-0.9.linux-x86_64.exe
Algorithm Hash digest
SHA256 84bfa25ee1cf727afd6764ed169a412aca2fcdccb18042d95d9c4e5133b8f060
MD5 7c8a58a44d9e23bd7fc2ac4b08b6e4f6
BLAKE2b-256 cc8a652230c37ee696b11465ad617794f5292c1edc3181bfe66997c91ca6fb38

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