Actions
Issue #1104
closedIf relative_url is not specified during repo creation it should not be present in distibutor_config post data
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - OSTree:
master
Platform Release:
Target Release - OSTree:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
If relative_url is not specified during repo creation it should not be present in distibutor_config post data. If relative_url was not specified it means that it defaults to repo_id
$ pulp-admin -vv ostree repo create --repo-id=test2
2015-07-03 15:00:02,511 - DEBUG - sending POST request to /pulp/api/v2/repositories/
2015-07-03 15:00:02,653 - INFO - POST request to /pulp/api/v2/repositories/ with parameters {"display_name": null, "description": null, "distributors": [{"distributor_id": "ostree_web_distributor_name_cli", "auto_publish": true, "distributor_config": {"relative_path": null}, "distributor_type_id": "ostree_web_distributor"}], "notes": {"_repo-type": "OSTREE"}, "importer_type_id": "ostree_web_importer", "importer_config": {"feed": null, "validate": null}, "id": "test2"}
2015-07-03 15:00:02,653 - INFO - Response status : 201
2015-07-03 15:00:02,653 - INFO - Response body :
{
"scratchpad": {},
"display_name": "test2",
"description": null,
"last_unit_added": null,
"notes": {
"_repo-type": "OSTREE"
},
"last_unit_removed": null,
"content_unit_counts": {},
"_ns": "repos",
"_id": {
"$oid": "5596875245ef484fc385096e"
},
"id": "test2",
"_href": "/pulp/api/v2/repositories/test2/"
}
Repository [test2] successfully created
Related issues
Updated by jortel@redhat.com almost 9 years ago
- Related to Issue #1105: relative_path should default to repo_id if not specified differently added
Updated by bmbouter about 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter about 5 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.
Actions