Buildout recipe for checking out from subversion
Project description
This zc.buildout recipe will check out a number of URLs into its parts directory. It won’t remove its parts directory if there are any changes in the checkout, so it’s safe to work with that checkout for development.
This is an example buildout part that uses this recipe:
[development-products] recipe = infrae.subversion urls = https://svn.plone.org/svn/collective/PDBDebugMode/trunk PDBDebugMode
This will maintain a working copy of PDBDebugMode in the parts/development-products/PDBDebugMode directory (not in the parts directory itself). Thus, the recipe handles multiple URLs fine.
If you have pysvn installed on the computer, it will be use. This implies better performances.
Update
By default, when buildout update the part, an svn up is done for each link. However, when a revision number is specified like this:
https://svn.infrae.com/buildout/infrae.subversion/trunk@27829
The SVN link is skipped for update. If you want to prevent update for all SVN link of the part even if they do not contain revision number, you can add the following option:
ignore_updates = true
Export
With pysvn installed, you can specify:
export = true
in your buildout part to get an SVN export instead of an SVN checkout.
Sample
For an example buildout that uses this recipe, please see the Silva buildout.
As well, the doctest file can provide more sample.
Latest version
The latest version is available in a Subversion repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for infrae.subversion-1.0dev-r28201.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c63edbce67b57022f57ab3ec3e39b2a984d582ed8eb7b8e73f8b5bbc13aa5a77 |
|
MD5 | 1184087bbcdc0db36c1dcf74a02c1722 |
|
BLAKE2b-256 | 167878f11bbac25e34ba4dce346c4d0e9358413900ac87589040047a119dcd09 |
Hashes for infrae.subversion-1.0dev_r28201-py2.5.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25ada00dd3127e2bc72967a17d8b0b633c156917bf074b3bc6e75e1348657e3d |
|
MD5 | 9a211d543a4eadc8f05d1f888b465c88 |
|
BLAKE2b-256 | 23a5b09e5116c6a5884a78cf9aaec74c6699c83986980bb734072ae49f719d4c |
Hashes for infrae.subversion-1.0dev_r28201-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bcce331c9d89f4f08fab42ef686141edb7288b309e9031a1563e53204be528f |
|
MD5 | 93d38add421fb2288d2072e488309412 |
|
BLAKE2b-256 | 91743143ac44e1972f9e8e832538ab644ef39b67650921e02e7642cab815dfe6 |