Description of problem: When creating a repo with setting relative_path, download_url in api/repositories/repo/packages/ doesn't return correct location of the package Version-Release number of selected component (if applicable): pulp 0.0.237-1 How reproducible: Always Steps to Reproduce: 1. create a repo with relative path 2. synchronize the repo 3. get the download_url for a package in a repo through the API 4. curl that url Actual results: 404 - file not found Expected results: Get the requested package corresponding to the relative_path
fixed! commit d8824f33c8a374227472715dca0b547f8ab68e10
Fixed in build 0.247.
verified [root@preethi ~]# pulp-admin repo create --id=f16 --preserve_metadata --feed=http://download.devel.redhat.com/released/F-16/GOLD/Fedora/x86_64/os/ --relativepath=/f16/ [root@preethi ~]# pulp-admin repo sync --id=f16 -FSync for repository f16 started Sync: Finished 0/3113 new items downloaded 3113/3113 existing items processed Item Details: Tree Files: 6/6 RPMs: 3107/3107 [root@preethi ~]# curl -k -u admin:admin -X GET https://localhost/pulp/api/repositories/f16/packages/ |more % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0[{"size": 19328, "license": "GPLv2+", "vendor": "Fedora Project", "name": "bodhi -client", "repo_defined": true, "buildhost": "x86-18.phx2.fedoraproject.org", "c hecksum": {"sha256": "bb649a92d1fdf213cefccec6cc9f06d8713472e7790b2d2ba4d18d8989 47a79d"}, "requires": ["python-fedora", "python-kitchen", "yum", "python-simplej son", "koji"], "download_url": "https://preethi.usersys.redhat.com//pulp/repos/f 16/bodhi-client-0.8.0-1.fc16.noarch.rpm", "filename": "bodhi-client-0.8.0-1.fc16 .noarch.rpm", "epoch": "0", "version": "0.8.0", "provides": ["bodhi-client"], "_ ns": "packages", "release": "1.fc16", "group": "Applications/Internet", "_id": " 60ec0aaf-6ba7-456c-b24c-0af04391af19", "arch": "noarch", "id": "60ec0aaf-6ba7-45 6c-b24c-0af04391af19", "description": "Client tools for interacting with bodhi"} , {"size": 162404, "license": "GPL+",
Pulp v1.0 is released Closed Current Release.