Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666368 - app-eselect/eselect-repository: unable to list added unregistered repositories
Summary: app-eselect/eselect-repository: unable to list added unregistered repositories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-09-16 22:31 UTC by Michael Perlov
Modified: 2018-09-30 18:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Allows to list added unregistered repositories (list.patch,1.16 KB, patch)
2018-09-16 22:32 UTC, Michael Perlov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Perlov 2018-09-16 22:31:02 UTC
If custom repository been added as stated in documentation (eselect repository add test git https://github.com/test/test.git), it would not be listed when invoking eselect repository list -i. Also, it can be disabled by it's name, but can not be enabled back.

I've created a patch, that allows to list added repos, disable repo by it's name or index. But I still can not enable it back, because this is only possible for repos in repositories.xml


Reproducible: Always
Comment 1 Michael Perlov 2018-09-16 22:32:15 UTC
Created attachment 547042 [details, diff]
Allows to list added unregistered repositories
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-29 22:34:25 UTC
I'm sorry this is taking so long.  I still have looking into this on my todo list.
Comment 3 Michael Perlov 2018-09-29 22:58:58 UTC
There is no hurry =)
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-30 06:58:38 UTC
Thanks.  I had to do substantial changes to your patch to sort the repos correctly.  Could you please confirm that -9999 works for you?
Comment 5 Michael Mair-Keimberger (mm1ke) 2018-09-30 17:46:08 UTC
Hi, i can confirm that the 9999 version works:

Available repositories:
  [144] gentoo #
  [222] local @            -> this wasn't printed before (it's a local repo)
  [324] rust *
  [360] steam-overlay *

Thanks
Comment 6 Larry the Git Cow gentoo-dev 2018-09-30 18:13:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a259c088a0ab975497449e177dc8e725451d4e7

commit 5a259c088a0ab975497449e177dc8e725451d4e7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-09-30 18:07:16 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-09-30 18:13:41 +0000

    app-eselect/eselect-repository: Bump to v5
    
    v5 fixes listing local repositories.
    
    Closes: https://bugs.gentoo.org/666368
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-eselect/eselect-repository/Manifest            |  1 +
 .../eselect-repository/eselect-repository-5.ebuild | 40 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)