Project

Profile

Help

Story #7287

closed

As a user I want to create arbitrary structured publications

Added by quba42 over 3 years ago. Updated about 2 years ago.

Status:
CLOSED - DUPLICATE
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

Ticket moved to GitHub: "pulp/pulp_deb/391":https://github.com/pulp/pulp_deb/issues/391


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 APICLOSED - DUPLICATEActions
Actions #1

Updated by quba42 over 3 years ago

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

Updated by quba42 over 3 years ago

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

Actions #3

Updated by jxsxs almost 3 years 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."
    ]
}

Actions #4

Updated by pulpbot about 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF