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

Provide a way to list packages from specific repositories #1837

Open
birdie-github opened this issue Nov 5, 2024 · 4 comments
Open

Provide a way to list packages from specific repositories #1837

birdie-github opened this issue Nov 5, 2024 · 4 comments
Labels
Priority: LOW Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take

Comments

@birdie-github
Copy link

birdie-github commented Nov 5, 2024

Which makes searching/grepping this list nearly impossible.

Using dnf5-5.2.6.2-1.fc41.x86_64.

Now it lists:

tmpwatch.x86_64                                 2.11-27.fc41                    fedora
tmt.noarch                                      1.38.0-1.fc41                   updates

It used to be:

tmpwatch.x86_64                                 2.11-27.fc41                    @fedora
tmt.noarch                                      1.38.0-1.fc41                   @updates

And now that I know how dnf list installed works, it should be dnf list --installed, there's an inconsistency:

xfconf.x86_64                                  4.18.3-3.fc41                      fedora
xfd.x86_64                                     1.1.2-2.fc34                       @commandline

So actually the AT symbol is still there for some "repos".

@pkratoch
Copy link
Contributor

pkratoch commented Nov 6, 2024

I think the main problem is that there is currently no good way to list packages from a specific repository. Grepping using the '@' symbol is just a workaround, but an option that would filter the list would be better.

Btw. the command repository-packages that could be used to achieve that as well is not yet implemented: #915

@pkratoch pkratoch changed the title dnf list now omits the @ symbol for repos' names Provide a way to list packages from specific repositories Nov 6, 2024
@pkratoch
Copy link
Contributor

pkratoch commented Nov 6, 2024

I renamed the issue to better describe the use case rather than a specific implementation. Previously, it was "dnf list now omits the @ symbol for repos' names"

@pkratoch pkratoch added Priority: LOW Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take labels Nov 6, 2024
@birdie-github
Copy link
Author

Packages names never include the at symbol, so you could just reinstate it, please.

@pkratoch
Copy link
Contributor

pkratoch commented Nov 6, 2024

Packages names never include the at symbol, so you could just reinstate it, please.

I agree that package names never include the '@' symbol. I am only saying it's good to differentiate between what the use case is (in this case to find packages from a specific repository) and how to achieve the use case. There are multiple options of how to implement that and I would argue that adding the '@' symbol is not the best one. In any case, naming the issue based on the use case instead of a specific implementation seems better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: LOW Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
None yet
Development

No branches or pull requests

2 participants