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

Feature: list objects by their associations and/or see "deeper" associations #132

Open
ianballou opened this issue Feb 8, 2021 · 4 comments
Labels
feature request New feature request (template-set) Katello This issue or pull request is important to katello

Comments

@ianballou
Copy link

It would be nice to see object associations without having to search around.

Example: See publications and distributions associated with a repo. For now you have to list the distributions, see what publications are associated, then look at the publication to see what repositories are associated.

Another example in a different direction: list repositories from a publication.

From a Katello developer's perspective, we do this all the time from the Rails console. Pretty much all of the associations you could wish for are there and it really helps with debugging.

@mdellweg mdellweg added the feature request New feature request (template-set) label Feb 8, 2021
@mdellweg
Copy link
Member

can you elaborate, how you'd expect such a command to look like? Would it be a bunch of extra options for show ?

@daviddavis daviddavis added the Katello This issue or pull request is important to katello label Feb 17, 2021
@mdellweg mdellweg removed the triaged label Sep 14, 2022
@ianballou
Copy link
Author

I'm revisiting this since Pulpcon is coming soon. I think perhaps a search query could serve the purpose well.

@mchithu
Copy link

mchithu commented Nov 7, 2022

Yes, repo/remote/worker name lookup in the task query will help us much.

@mdellweg
Copy link
Member

You can search by both worker and used resources of a task.
Also there is a task subcommand for repositories. pulp file repository task list --help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request (template-set) Katello This issue or pull request is important to katello
Projects
None yet
Development

No branches or pull requests

4 participants