Commit Graph

11 Commits

Author SHA1 Message Date
Sergey Kulanov 4569ca760f Align to global requirements
Change-Id: Ie76a985cf32b4a562f28866b3176acc44ff8f2ee
2016-05-19 13:18:05 +03:00
Vladimir Kozhukalov 1238b33ebd Add package filtering feature
Change-Id: Ia8bf716e9902d250c9fb26bbad325fbe2a204b54
2016-02-20 07:00:52 +03:00
Bulat Gaifullin 9e107cde9a Implemented input data validation
Change-Id: I8407cf4cbb69e60b7def891625522f3ca3c822fe
Implements:  blueprint unify-input-data
2016-02-05 17:07:48 +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 671af8e611 [packetary] Repository class
class Repository composes from:
* RepositryDriver - low-level support for physical repository. deb, yum, etc.
* RepositoryController - infrastcuture method to communicate with driver
* RepositoryApi - high-level class, that provides methods to work with repository

Change-Id: Iaf868fca982d91089e369d13a6fb381ff879ea73
Implements: blueprint refactor-local-mirror-scripts
Partial-Bug: #1487077
2015-11-09 16:22:18 +03:00
Bulat Gaifullin 6a9c463042 [packetary] Packages indexer
Change-Id: I981fe7ae8f0aba8314475c3633f325e18d5e3bb5
Implements: blueprint refactor-local-mirror-scripts
Partial-Bug: #1487077
2015-11-03 17:29:10 +03:00
Bulat Gaifullin 56689ae7cf [packetary] Infrastructure
Introduce infrastructure:
* Executor (The Asynchronous task executor)
* ConnectionsPool (The pool of network connections)
* ResumeableStream - allows resume streaming when error occures

Change-Id: Ia68d60c2b9d685820a4c1916c8f1aa724f3a3f91
Implements: blueprint refactor-local-mirror-scripts
Partial-Bug: #1487077
2015-10-27 17:41:57 +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