Project

Profile

Help

Issue #2078

closed

Updating auto-publish value in the repo update does not influence the behaviour.

Added by fdobrovo almost 8 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Docker:
2.0.0
Platform Release:
Target Release - Docker:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

1. create repo with auto-publish true

$ pulp-admin docker repo create --repo-id "dock" --auto-publish true

2. update repo and set auto-publish to false

$ pulp-admin -docker repo update --repo-id "dock" --auto-publish false

3. Check config of distributor

$ curl -H "Accept: application/json" -X GET -k -u admin:admin 'https://localhost/pulp/api/v2/repositories/dock/distributors/'|python -m json.tool
    {
    "_href": "/pulp/api/v2/repositories/dock/distributors/docker_web_distributor_name_cli/",
    "_id": {
        "$oid": "57877337e7798910b0ac8d00"
    },
    "_ns": "repo_distributors",
    "auto_publish": true,
    "config": {
        "auto_publish": false
    },
    "distributor_type_id": "docker_distributor_web",
    "id": "docker_web_distributor_name_cli",
    "last_publish": null,
    "repo_id": "dock",
    "scratchpad": {}
},

Propably the same as https://pulp.plan.io/issues/1295


Related issues

Related to Python Support - Issue #1295: Updating auto-publish value in the repo update does not influence the behaviour.CLOSED - WONTFIXActions
Has duplicate Docker Support - Issue #2084: updating to --auto-publish false has unexpected resultCLOSED - DUPLICATEActions

Also available in: Atom PDF