https://bugzilla.novell.com/show_bug.cgi?id=373167
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=373167#c10
Ján Kupec
It is somewhat clear that YaST will need an internal identifier to join its own
it is internal for yast, but for zypper it's quite external.
data with and to maintain the identifyability of a repo after renaming or changes to the URI (f.e. to employ another mirror), but please call this one id, ident or somehow else. No data base designer will ever join towards a column called name.
ALIAS not name. Although alias does not evoke an identifier as well... but we just picked up the YUM 'standard'.
The basic problem is for sure that all columns together are broader than the with of the text console, which causes line wraps and the content to be almost illegible. That is why I have added the following to my bashrc: :: alias rug='rug --no-abbrev'
This will be implemented also in zypper in the future. We are already tracking this.
Drop the id-column out!! It worsens the problem of overlong columns. No unnecessary information ought to be displayed here.
Please read once again what i wrote in comment #7.
Stating the positional number where the repo should show up in the repo list is that way the best solution to provide a directive for reordering - simply put the positional number in place of the name identifier. What would that be good for? What about adding an aption to the repos command to sort by alias, name and priority, or even URI? IMO adding means to manually assign unique numbers to the repositories in order to sort them is >meaningless.
That would possibly deserve its own discussion.
Yes, i suggest to take this to opensuse-softwaremgmt@opensuse.org mailing list.
* Assigning priorities is for sure no bad idea. * Nevertheless that will just provide limited means to sort the repos. * Sorting of repos will and has already become increasingly important as more and more sources become available and used by a better performant pkg-mgm.
That's what priorities are about.
* Basically the user just wants to group repos by their purpose and to sort repos by their importance as well as the resulting overall shape of their zypper repos display line.
By importance: implemented (priority). By purpose: if you need this open a separate enhancement bug for this to dicuss it separately.
* Sorting in linear order by positional insertion(zypper) or mouse drags(yast) is straight forward and provides a feasible solution to manage to suffice all three sort-criteria.
I caught only by-prio and by-purpose sort criteria, what was the third?
* It can be provided by the same command as rename-repo. That is orthogonal. No own command has to be remembered. The user, if not resource-empty, will have a try on this anyway (whether documented or not).
renamerepo for sorting? i don't get that. There already is modifyrepo which fits better.
* It is just a natural desire to reorder. We can reorder the pencils on the table, etc. It would be awkward if that was forbidden.
I'm not really sure. Maybe. But as i said, you can file an enhancement request for this we will get more opinions and discuss it. Or even better, start a thread at opensuse-softwaremgmt@opensuse.org ML and mention this bug there. Please don't discuss this in this bug further. See also Bug 364391. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.