Skip to main content

This simple recipe for zc.buildout fetches data from a given repository and stores it into its part’s directory. A simple task using this could look like this:

[myapp]
recipe=zerokspot.recipe.git
repository=git://github.com/zerok/zerokspot.gitrecipe.git
rev=7c73978b55fcadbe2cd6f2abbefbedb5a85c2c8c

This would store the repository under ${buildout:directory}/parts/myapp and keep it at exactly this revision, no matter what happens on the server.

The recipe has following options:

repository

The absolute URL of the repository to be fetched

rev

A revision/commit within this repository the environment should use.

branch

If you want to stay up to date with a certain branch other than “master”, use this.

paths

List of relative paths to packages to develop. Must be used together with as_egg=true.

newest

This overrides the newest-option of the global setting for this part

as_egg

Set to True if you want the checkout to be registered as a development egg in your buildout.

cache-name

Name of the repository in the download-cache directory.

recursive

Follow submodules (Note that submodules are not cloned from the download cache).

Offline installation

If you want to install a part from the download-cache, this is now possible, too:

[buildout]
parts = myapp
download-cache = /var/cache/buildout
install-from-cache = true

[mylib]
recipe = zerokspot.recipe.git
repository = http://domain.com/repo.git

With this configuration, the recipe will look for /var/cache/buildout/repo and clone it into the local parts/ folder.

The recipe also supports an additional “cache-name” setting that lets you configure the folder name of the repository in the download cache.

Release files for zerokspot.recipe.git 0.6.1

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

Source distribution (sdist)

Source distribution for zerokspot.recipe.git 0.6.1
File Size Uploaded
zerokspot.recipe.git-0.6.1.tar.gz 8.8 kB Details

Release files / zerokspot.recipe.git-0.6.1.tar.gz

Download URL zerokspot.recipe.git-0.6.1.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0bd7330619156d5b686f839e3219c17ccd1cd3207bbf013c9572c9dfc2cad08a
BLAKE2b-256 checksum
How to use checksums
e1f899d0f2b658dda3628f3c20b72bbba47deded2252231aaf9036597f8dfa1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6.1 This release

1 release file

0.6.0

1 release file

0.5.6

1 release file

0.5.5

1 release file

0.5.4

1 release file

0.5.3

1 release file

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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