Currently, whenever a package is added to a repo using /repositories/<id>/add_package/ that package always ends up at <repo path>/<name>-<version>-<release>.<arch>.rpm. There are times when a user would want the RPMs to be in a different directory relative to the root of the repository. Fedora, for example, uses an os/Packages/*.rpm structure. Please provide a way to specify an optional relativepath when adding a package to a repo.
commit 8f42c852dc26a22f0c4877b99f5ac07a541be1a0 Author: Pradeep Kilambi <pkilambi> Date: Thu Apr 19 16:34:56 2012 -0400 805086 - Support for packages_dir in repo * Ability to specify a relative packages dir path to store and symlink to the repo location * updated add_packages/remove_packages to account for packages path before symlinking * ability to update packages_dir on a repo if repo is empty * db migrate script * unit tests Areas to test: * repo creation with package dirs * repo delete * pkg upload to repo with pkg path and make sure the package is landed appropriately * package associations/removals from repos using add_package/remove_package * metadata accounts for pkg dir * verify clones
build: 1.1.4
Pulp v1.1 Release