Issue #1710
closedenable-v2 cannot be updated using the CLI
Description
We can specify `enable-v2` at docker repo creation time, but we cannot update it later. A similar setting, enable-v1 does exist on update.
(pulp)[vagrant@dev pulp]$ pulp-admin docker repo update --repo-id=busybox --enable-v1=False
This command may be exited via ctrl+c without affecting the request.
[\]
Running...
Task Succeeded
(pulp)[vagrant@dev pulp]$ pulp-admin docker repo update --repo-id=busybox --enable-v2=False
Command: update
Description: changes metadata on an existing repository
...
Cut for brevity
...
The following options were specified but do not exist on the command:
--enable-v2
Updated by rbarlow almost 9 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to rbarlow
- Triaged changed from No to Yes
Updated by rbarlow almost 9 years ago
It turns out that --enable-v1 doesn't work with update either, so I'm fixing that too. PR almost ready.
Updated by rbarlow almost 9 years ago
- Status changed from ASSIGNED to POST
This PR fixes the issue:
https://github.com/pulp/pulp_docker/pull/141
This PR introduces a pulp-smash test to ensure it stays fixed:
Added by rbarlow almost 9 years ago
Added by rbarlow almost 9 years ago
Revision 2d4d2597 | View on GitHub
Allow users to --enable-v{1,2} with repo update.
Our Docker CLI extensions had an oversight where users could not update the --enable-v{1,2} flags on their repositories. This commit fixes that oversight.
https://pulp.plan.io/issues/1710
fixes #1710
Added by rbarlow almost 9 years ago
Revision 2d4d2597 | View on GitHub
Allow users to --enable-v{1,2} with repo update.
Our Docker CLI extensions had an oversight where users could not update the --enable-v{1,2} flags on their repositories. This commit fixes that oversight.
https://pulp.plan.io/issues/1710
fixes #1710
Added by rbarlow almost 9 years ago
Revision 2d4d2597 | View on GitHub
Allow users to --enable-v{1,2} with repo update.
Our Docker CLI extensions had an oversight where users could not update the --enable-v{1,2} flags on their repositories. This commit fixes that oversight.
https://pulp.plan.io/issues/1710
fixes #1710
Updated by rbarlow almost 9 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 2d4d25978819edfb8081faeb325b8f879715b2c1.
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from MODIFIED to 5
Updated by rbarlow almost 9 years ago
- Status changed from 5 to 6
Tested in the pulp smash PR referenced above.
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from 6 to CLOSED - CURRENTRELEASE
Allow users to --enable-v{1,2} with repo update.
Our Docker CLI extensions had an oversight where users could not update the --enable-v{1,2} flags on their repositories. This commit fixes that oversight.
https://pulp.plan.io/issues/1710
fixes #1710