Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703646 - app-eselect/eselect-repository leaves empty lines in repos.conf
Summary: app-eselect/eselect-repository leaves empty lines in repos.conf
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-24 08:09 UTC by charles17
Modified: 2019-12-25 18:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description charles17 2019-12-24 08:09:54 UTC
Using "eselect repository remove" leaves an empty line at the end when removing the latest entry from /etc/portage/repos.conf


repos.conf before adding additional repository:
$ cat /etc/portage/repos.conf
[testing]
location = /var/db/repos/testing
auto-sync = no

[brother-overlay]
location = /var/db/repos/brother-overlay
sync-type = git
sync-uri = https://github.com/gentoo-mirror/brother-overlay.git

[gentoo]
location = /var/db/repos/gentoo
sync-type = rsync
sync-uri = rsync://rsync.de.gentoo.org/gentoo-portage/


After "eselect repository enable vortex"
$ cat /etc/portage/repos.conf
[testing]
location = /var/db/repos/testing
auto-sync = no

[brother-overlay]
location = /var/db/repos/brother-overlay
sync-type = git
sync-uri = https://github.com/gentoo-mirror/brother-overlay.git

[gentoo]
location = /var/db/repos/gentoo
sync-type = rsync
sync-uri = rsync://rsync.de.gentoo.org/gentoo-portage/

[vortex]
location = /var/db/repos/vortex
sync-type = git
sync-uri = https://github.com/gentoo-mirror/vortex.git


After "eselect repository remove vortex" there is an empty line at the end.

After again "eselect repository enable vortex"
$ cat /etc/portage/repos.conf
[testing]
location = /var/db/repos/testing
auto-sync = no

[brother-overlay]
location = /var/db/repos/brother-overlay
sync-type = git
sync-uri = https://github.com/gentoo-mirror/brother-overlay.git

[gentoo]
location = /var/db/repos/gentoo
sync-type = rsync
sync-uri = rsync://rsync.de.gentoo.org/gentoo-portage/


[vortex]
location = /var/db/repos/vortex
sync-type = git
sync-uri = https://github.com/gentoo-mirror/vortex.git


So empty lines are getting more and more between the entries.