Skip to main content

Simple buildout recipe for downloading git repositories. It uses system git command and its syntax

Project description

Welcome to gitrecipe doc page

Usage

Recipe clones git repository and checkouts to revision, if it is provided in configuration. You can use recipe like this:

[buildout]
parts = data

[data]
recipe = gitrecipe
repository = git://example.com/my-git-repo.git
rev = origin/redevlop-branch

Options

repository - repository url

ref of rev - git reference wich you want to checkout

Notes

rev option leaved for compatibility with zerokspot.recipe.git. It is better to use ref parameter, because it corresponds Git terminology

Since 0.0.2 recipe does check existing repository while install and update. Repository origin url must be the same as given in rev option. Otherwise repository will be deleted and cloned again.

About

I’ve used recipe zerokspot.recipe.git, but as for me, it too complex and has some disadvantages:

  • it does not allow commit from the source folder, default remote is local copy in downloads

  • it does not allow to specify the tag or branch of the repository, only revision hash

So I wrote my own git recipe with compatible options. You can choose this or that.

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

gitrecipe-0.0.2.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file gitrecipe-0.0.2.tar.gz.

File metadata

  • Download URL: gitrecipe-0.0.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gitrecipe-0.0.2.tar.gz
Algorithm Hash digest
SHA256 86530e16ab7d0501bb4eadc3e6e4b98ecffa777e0d26827734295b8aa87fbe5f
MD5 0eb186706501c73c5082d7d6c08b55f0
BLAKE2b-256 c3a4f4a38183b614be7b49957d793726cab58d30d81d6a80bde63226a0cb185f

See more details on using hashes here.

Supported by

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