Actions
Issue #1074
closedFailing to specify an auto-publish value results in a null value
Start date:
Due date:
Estimated time:
Severity:
3. High
Version - OSTree:
master
Platform Release:
Target Release - OSTree:
1.0.0
OS:
Fedora 21
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
The CLI documentation states the --auto-publish value defaults to 'true' when you create a new ostree repository:
(pulp)[vagrant@pulp-devel pulp_ostree]$ pulp-admin ostree repo create --help
Command: create
Description: creates a new repository
Available Arguments:
...
--auto-publish - if "true", on each successful sync the repository will
automatically be published; if "false" content will only be
available after manually publishing the repository; defaults
to "true"
However if you don't provide a value explicitly the actual default is null:
{
"_ns": "repo_distributors",
"auto_publish": null,
"config": {
"relative_path": "/repo/"
},
"distributor_type_id": "ostree_web_distributor",
"id": "ostree_web_distributor_name_cli",
"last_publish": null,
"repo_id": "test",
"scheduled_publishes": [],
"scratchpad": null
}
This results in no auto-publishes
Updated by bmbouter over 8 years ago
- Severity changed from 2. Medium to 3. High
- Triaged changed from No to Yes
Both a CLI and a server side issue. Please fix in both places.
Updated by ipanova@redhat.com about 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
Added by ipanova@redhat.com about 8 years ago
Updated by ipanova@redhat.com about 8 years ago
- Status changed from ASSIGNED to POST
https://github.com/pulp/pulp_ostree/pull/36
Issue was only in CLI.
Server side did not have any issues - if auto_publish was not specified at all , then in config it was False
- if auto_publish was specified and value was True, then in config it was True
This way work other content types, I specifically checked the rpm repo creation behaviour via API.
Updated by ipanova@redhat.com about 8 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 8db30a78d955c83afbb4e3a743b1af24e12f7ec0.
Updated by jortel@redhat.com about 8 years ago
- Target Release - OSTree set to 1.0.0
Updated by rbarlow over 7 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Auto-publish now default to true.
closes #1074 https://pulp.plan.io/issues/1074