Hide Forgot
[root@pulp-nightly ~]# pulp-admin repo create --id=foo Successfully created repository [ foo ] [root@pulp-nightly ~]# pulp-admin content upload /tmp/parent-1.0-1.noarch.rpm * Starting Package Upload operation. See /var/log/pulp/client.log for more verbose output * Performing Package Uploads to Pulp server * Content Upload complete. [root@pulp-nightly ~]# pulp-admin package search +------------------------------------------+ Package Information +------------------------------------------+ Name EVRA Filename Repositories parent 0:1.0-1.noarch parent-1.0-1.noarch.rpm [root@pulp-nightly ~]# pulp-admin content list --orphaned parent-1.0-1.noarch.rpm,b1d66501cf7494f13ebef843017179979476023282c457fe67c33b2a7f30a27b [root@pulp-nightly ~]# pulp-admin repo add_package --id=foo -p parent Package parent could not be found skipping [root@pulp-nightly ~]# pulp-admin content list --orphaned > tmp.csv [root@pulp-nightly ~]# pulp-admin repo add_package --id=foo --csv=tmp.csv No Source repo specified, skipping dependency lookup Successfully added packages [u'parent-1.0-1.noarch'] to repo [foo].
Apparently, inputting the entire pkg filename to the -p option still works. In the past, the truncated pkg name works in the past as well, so this is a minor regression.
bug 681804 required that we are able to handle package/file names that have characters such as "++". The fix for this was to require the full filename in order to do an add. Prior to this a subset of the name would be sufficient as long as it resulted in a unique result. (The subset of text was passed into package search as a regex, now that is disabled and the full filename is required.) Suggest this gets CLOSED as NOTABUG