-
Notifications
You must be signed in to change notification settings - Fork 41
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
Enhancement request – Repositories #97
Comments
@Conan-Kudo dnfdaemon GetRepo(repo_id) does not export such information. Looking at dnf.cli.command.repolist code: |
A decision that would be taken by developers. My own experience tend to indicate that those values would be needed before take place decision to enable any repository, |
maybe... i usually enable a repo just because i need something from it, despite of it size for instance... and so more than how many packages the relevant part in my opinion is which ones... |
It seems to me that your decision will be the right one according to your own experience. which may conduct you to consider #97 as a partly or entirely irrelevant request. |
not really. That is why I asked you if they were the only ones, or you needed other information also... I'm already working on it, in dnfdaemon without good results though... |
My mistake! I have to keep on trying (refers to foreign language ). Those ones as well may have a useful purpose and are not yet present in the dnfdragora's existing list:
|
In your report you quoted |
From a TUI perspective, checking a repository in disabled state appears clearly to be not adequate for the purpose of the task. As an additional information, the use of another command relying on 'wc' may as well serve as model for the implementation you may plan; it allows for retrieving the number of packages related to a specific repository as a single value, however it does not handle the storage size. Output resulting from command The following command returns the sum of each enabled repository's number of packages (Overall number of packages) resulting from: For each enabled repository, a valuable information is the value expressed in percentage (optimally with a two digits accuracy) resulting from expression: |
Using new dnfdaemon the requested information is now shown into repository info view, that is changed in table in which key are localized (if knwon) and values are in human readable form for some keys (e.g. size for instnace) |
OS: Fedora – Installed omponents: Announced features are not visible in the interface. |
Hi Manatools. For a given enabled repository on system, let's assume here the one named updates-testing, maintained by Fedora. In terminal, assuming the command and its subsequent output as model (Note: Red Hat Bugzilla – Bug 1562191):
# dnf -v repolist --enabled updates-testing | less
...
Repo-pkgs : ...
Repo-size : ...
..
The knowledge of this output would have been appropriate as a prerequisite to estimate the possibility of the addition (
# dnf install -y <component> --enablerepo=updates-testing
) of such repository or any others, assuming that all subsequent packages they contain would have to be installed on the system. since their respective values related to digital storage may be huge.As expected it would be valuable for advanced users and especially for beginners that indeed may rely for the package management mainly if not entirely on the GUI tool available in OS' main repository (be it Yumex-DNF or Dnfdragora by whom it was replaced since version 27 of Fedora Desktop) to get that valuable information straight along with the existing one currently located at File -> Repositories, then field section dedicated to repository information. Such enhancement would benefit to Fedora.
The text was updated successfully, but these errors were encountered: