Bug 383348 - zypper sl output ...
Summary: zypper sl output ...
Status: RESOLVED DUPLICATE of bug 364391
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Factory
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Duncan Mac-Vicar
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-24 13:26 UTC by Michael Meeks
Modified: 2008-04-24 13:46 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Meeks 2008-04-24 13:26:13 UTC
A small complaint - but when using zypper I often forget where the factory repository lives (for various things), so I want to see the URLs on zypper sl.

Unfortunately it doesn't show them to me - so I find myself doing:

sudo zypper sl -e /tmp/repo.conf
cat /tmp/repo.conf.repo

or variants of that ;-)

That's a tad painful; any chance of a wide or '-w' option (of some sort), that would show the relevant URL after the ~always identical name & alias fields ? :-)

Thanks.
Comment 1 Jan Kupec 2008-04-24 13:38:55 UTC
I'm not sure what zypper help sl told you, but since 0.11.1 it will tell you this :O)

$ zypper help sl
repos (lr)

List all defined repositories.

  Command options:
-e, --export <FILE.repo>  Export all defined repositories as a single local .repo file.
-u, --uri                 Show also base URI of repositories.
-p, --priority            Show also repository priority.
-d, --details             Show more information like URI, priority, type.
-U, --sort-by-uri         Sort the list by URI.
-P, --sort-by-priority    Sort the list by repository priority.
-A, --sort-by-alias       Sort the list by alias.
-N, --sort-by-name        Sort the list by name.

don't get frightened by the repo (lr) :O) sl (or service-list) is just a rug compatiblity alias for 'repos' command (you can read about that in man zypper, too)

*** This bug has been marked as a duplicate of bug 364391 ***
Comment 2 Michael Meeks 2008-04-24 13:46:11 UTC
ah - thanks :-)

zypper lr --help
repos (lr)

List all defined repositories.

  Command options:
-e, --export <FILE.repo>  Export all defined repositories as a single local .repo file.


Clearly I'm still using 11.0 for some reason (~latest factory).