Commit Graph

12 Commits

Author SHA1 Message Date
Bulat Gaifullin cae6df70bf Added packaging driver to build RPM by using mock
Option 'cache_dir' uses to specify directory where
will be downloaded remote files
The packaging controller allows to use files which
are available via HTTP as source or spec file
Each driver has its own section in input data,
this allows to use same input data for several drivers.

Change-Id: I1fb3b08fe305c3413e5aa4a9213762208a2479da
2016-07-05 16:49:06 +03:00
Bulat Gaifullin 794256f1bc Added CLI for building packages
Usage of command:
packetary build -t "the name of driver" \
    -i "the path of file with input data" \
    -o "the path to output directory" \
    [-C "the config for driver"]

Change-Id: I71df1b8a36342a9ea238d5b6ebb686e5bce71007
2016-06-27 19:31:16 +03:00
Bulat Gaifullin f659d0ed63 Moved repositorory drivers to dedicated namespace
The 'packetary.drivers' is very common namespace, so
the repository drivers was moved to 'repository_drivers' namespace.

Change-Id: Ie246e8ba83e1f4cd01ff707c0cd1e77ea5fe3551
2016-06-15 13:34:23 +03:00
Bulat Gaifullin e0059a7af3 Increased version to 0.2.0.dev
Change-Id: I6829c561e1b962745c55a68a245ee99534281378
2016-02-09 17:20:54 +03:00
Bulat Gaifullin cacf6b75e3 Added command-line interface for create_repository
Change-Id: I22b39adc9a40be8e9d500a81dfef7cbf49f8b651
Implements: blueprint build-repository
2016-01-30 21:42:47 +03:00
Bulat Gaifullin 2873c724bf Drop files are not related to packetary 2015-12-24 13:00:48 +03:00
Bulat Gaifullin 1590bdc17f Fixed packetary entry-points
Change-Id: I371043f69e1578fecee5a9bedf4b11cbbfcd9652
Closes-Bug: #1526890
2015-12-16 20:01:42 +03:00
Bulat Gaifullin af0a66d31c [packetary] Introduce command-line interface
Available commands:
- clone - Clones specified repository(es) to local folder.
  packetary clone -o "http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse" -t deb -d /var/www/mirror/ubuntu

- packages - Gets the list of packages from repository(es).
  packetary packages -o http://mirror.fuel-infra.org/mos-repos/centos/mos8.0-centos6-fuel/os -t yum

- unresolved - Get the list of external dependencies for repository.
  packetary unresolved -o "http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0 mos8.0 main"

Change-Id: I4b3f3fb7b7f2967cf596ed3c7758cfbbf76dfe73
Partial-Bug: #1487077
2015-12-03 09:45:38 +00:00
Bulat Gaifullin 2e39995864 Added packaging for fuel-mirror
Change-Id: I296a5f356ca805deda28ea984df15c0b63b43a80
Closes-Bug: #1487077
Closes-Bug: #1489506
Implements: blueprint refactor-local-mirror-scripts
2015-12-02 15:47:05 +03:00
Bulat Gaifullin 994fed9b1e [packetary] Introduce driver for rpm-repository
Change-Id: Ib9b9208964dba25d585fb9345a6ef95e7782a9ff
Implements: blueprint refactor-local-mirror-scripts
Partial-Bug: #1487077
2015-11-19 16:32:31 +03:00
Bulat Gaifullin aa570b1f98 [packetary] Introduce driver for debian-repository
Change-Id: Icb8f6964bd0a9080ace50b4786ac76ae5dbb9976
Implements: blueprint refactor-local-mirror-scripts
Partial-Bug: #1487077
2015-11-16 15:00:55 +03:00
Bulat Gaifullin b6d09c7ead [packetary] initial commit
the project structure was created by cookiecutter.

Implements: blueprint refactor-local-mirror-scripts
Partial-Bug: #1487077

Change-Id: Ib33955ba1d4013bc1491a503610885367924b0e9
2015-10-20 19:33:48 +00:00