Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a user I want to create arbitrary structured publications #391

Closed
pulpbot opened this issue Jan 4, 2022 · 4 comments
Closed

As a user I want to create arbitrary structured publications #391

pulpbot opened this issue Jan 4, 2022 · 4 comments
Labels
Milestone

Comments

@pulpbot
Copy link
Member

pulpbot commented Jan 4, 2022

Author: @quba42 (quba42)

Redmine Issue: 7287, https://pulp.plan.io/issues/7287


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

@pulpbot pulpbot added this to the Wishlist milestone Jan 4, 2022
@pulpbot
Copy link
Member Author

pulpbot commented Jan 4, 2022

From: @quba42 (quba42)
Date: 2020-08-06T10:35:10Z


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

@pulpbot
Copy link
Member Author

pulpbot commented Jan 4, 2022

From: jxsxs (jxsxs)
Date: 2021-04-12T08:13:00Z


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."
    ]
}

@quba42 quba42 removed New labels Jan 31, 2022
@stale
Copy link

stale bot commented May 25, 2022

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

@stale stale bot added the stale label May 25, 2022
@quba42
Copy link
Collaborator

quba42 commented Jun 20, 2023

I am closing this, since it is now possible (though still quite difficult) to create arbitrary structured repos.

With features like the structured upload, we are moving in this direction, though in a somewhat different way from what this ticket envisages.

The current issue that best tracks these efforts is currently #785

@quba42 quba42 closed this as completed Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants