Project

Profile

Help

Issue #2418

closed

pulp-admin rpm provider lost auto-publish

Added by darkfader over 7 years ago. Updated over 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.10.0
Platform Release:
OS:
CentOS 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Easy Fix, Pulp 2
Sprint:
Quarter:

Description

Hi,

there's a quite big issue with the rpm module.
There's a supposed to be a flag named auto-publish, which is needed if you don't want to expose the raw upstream (feed=url) repositories to the clients.
This flag was there intentionally, and it's been there since v1.
It's now MIA, but as far as I could find out it is only missing in RPM, and only since we went to 2.10.0 (from 2.8)

I asked on IRC about this but was asked for a backtrace - there's no backtrace, the option itself is gone.


  #  pulp-admin rpm repo create --repo-id testname --autopublish false

Pulp replies with

The following options were specified but do not exist on the command:
  --autopublish

I've spent a lot time trying to find out why/how/where this happened, but found no hint of it.
Since other types (docker, python) seem to still have it, I am assuming this was a mistake.

I'm marking this as a blocker, since it's quite a bit of a problem for everyone using that.
Please, put an eye on this, when you can.

Also marked as easy fix, assuming someone is better at me at finding out what happened.

Also available in: Atom PDF