Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 547042 Details for
Bug 666368
app-eselect/eselect-repository: unable to list added unregistered repositories
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allows to list added unregistered repositories
list.patch (text/plain), 1.16 KB, created by
Michael Perlov
on 2018-09-16 22:32:15 UTC
(
hide
)
Description:
Allows to list added unregistered repositories
Filename:
MIME Type:
Creator:
Michael Perlov
Created:
2018-09-16 22:32:15 UTC
Size:
1.16 KB
patch
obsolete
>--- a/eselect-repo-helper 2018-06-02 21:04:28.000000000 +0300 >+++ b/eselect-repo-helper 2018-09-17 00:47:19.647995929 +0300 >@@ -33,9 +33,11 @@ > > > def do_list(args): >+ repos=[] > for r in sorted(args.repositories_xml.getroot().findall('repo'), > key=lambda x: locale.strxfrm(x.findtext('name'))): > name = r.findtext('name') >+ repos.append(name) > uris = [transform_source(s, name) for s in r.findall('source')] > if name in args.repos_conf: > sect = args.repos_conf[name] >@@ -47,7 +49,10 @@ > else: > status = 'disabled' > print('{} {}'.format(name, status)) >- >+ for r in args.repos_conf: >+ if r != 'DEFAULT' and r not in repos: >+ status = 'local' >+ print('{} {}'.format(r, status)) > > def do_metadata(args): > all_repos = set(x.findtext('name') >--- a/repository.eselect.in 2018-06-02 21:04:28.000000000 +0300 >+++ b/repository.eselect.in 2018-09-17 00:52:07.626654927 +0300 >@@ -423,6 +423,8 @@ > name+=" $(highlight_warning '#')" > fi > ;; >+ local) >+ name+=" $(highlight_warning '#')";; > *) > if [[ -n ${only_installed} ]]; then > (( i++ ))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 666368
: 547042