Skip to main content

This library aims to provide utility scripts to manipulate BT5 compress and repositories creation.

Project description

Business Template Repository Builder
========================================

This library aims to provide utility scripts to manipulate BT5 compress and
repositories creation. This utilities can help you to create bt5
repositories into private network or specific to your project.

Scripts created
=======================================

bt5_repository_builder

Download business templates from a remote repository (svn), compress it (.bt5)
and creates bt5list.

By default, this uses svn HEAD to compile and provides as same as snapshot.

USAGE:
-u, --url : URL where the business templates will be downloaded from
(Default: https://svn.erp5.org/repos/public/erp5/trunk/bt5,https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5/bootstrap)

-r, --repository : Where the .bt5 will be placed (Default: Current folder.)

-d, --download-dir : Custom folder where download/checkout will be placed.
(Default: repository_folder/.download)
-c, --download-cmd : Command used to download bt5 from URL.
(Default: "svn co --trust-server-cert --non-interactive -q")

-p, --preserve-download : Do not erase download after build. (Default: False)


bt5_genlist

Generates bt5list only from bt5s already downloaded.

bt5_build_from_folder

Only compress all bt5s available into some folder into a destination folder.


USAGE EXAMPLE
============================

Build bt5 repository from with private business templates.

$ bt5_repository_builder -u http://url.to/private/repository

Build bt5 repository from a specific revision of SVN.

$ bt5_repository_builder -c "svn co -q -r 1234"

Create a Snapshot updated everyhour using cron:

1 * * * * bt5_repository_builder -p -r /srv/www/repository





ChangeLog
===============

0.0.1 (unreleased)
---------------------

- Initial version
[Rafael Monnerat]

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

erp5.utils.dists-0.0.1dev-r42989.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file erp5.utils.dists-0.0.1dev-r42989.tar.gz.

File metadata

File hashes

Hashes for erp5.utils.dists-0.0.1dev-r42989.tar.gz
Algorithm Hash digest
SHA256 96f8832c4c591cd99d286aa18723ec08103dc9a4a0aee24aaad1219791350c54
MD5 ab603564fb3c1285a1d03128da0b7742
BLAKE2b-256 1f6b1cfd9fb3d0fc055791a2fccc591baad8048dc9eb2bb58ed34db25f741bc0

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