Project

Profile

Help

Story #7287

As a user I want to create arbitrary structured publications

Added by quba42 12 months ago. Updated 4 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Target Release - Debian:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Right now the only way to create structured publications is to sync a remote repository (the metadata structure of which will be recreated by pulp_deb).

Instead, I want the ability to:

  1. manually create a release from a list of one or more components.
  2. add/remove components from existing releases.
  3. manually create a component from a list of zero or more packages.
  4. add/remove packages from existing components.
  5. add/remove releases from a repository.

It is crucial that any of the above actions automatically create a consistent repository. For example: If I add a release to a repository, then any components, packages, etc. part of that release must also be added to the repository automatically


Related issues

Related to Debian Support - Issue #6538: Unable to create ReleaseArchitecture or ReleaseComponent via the APINEW<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by quba42 12 months ago

  • Related to Issue #6538: Unable to create ReleaseArchitecture or ReleaseComponent via the API added

#2 Updated by quba42 12 months ago

Needs Discussion: Should manually created Releases and Components also generate the relevant artifacts for verbatim publication?

#3 Updated by jxsxs 4 months ago

Second this!

I wanted to do this as well but could not find a way.

I have a release and want to create a release_component off of it.

        }
            "codename": "stretch",
            "distribution": "debian",
            "pulp_created": "2021-04-08T19:44:41.592665Z",
            "pulp_href": "/pulp/api/v3/content/deb/releases/80f239cf-52a4-4cbc-8072-d4029ca6cc54/",
            "suite": "stretch"
        }

POST to pulp/api/v3/content/deb/release_components/

with

Payload:
{

    "component": "stable",
    "release": "pulp/api/v3/content/deb/releases/80f239cf-52a4-4cbc-8072-d4029ca6cc54"

}

results in:


{
    "release": [
        "Invalid hyperlink - No URL match."
    ]
}

Please register to edit this issue

Also available in: Atom PDF