Talk:Portage with Git

New page
Hi. Thanks for the addition! unbelievable we didn't have this already.

I'm not sure this short topic needs it's own page, I'll probably move the contents to a preexisting page, such as ebuild repository, when I get time. I've just added some info about what topics merit a new page to Help:Starting a new page, but the article still needs more info on this.

-- Ris (talk) 11:49, 20 August 2022 (UTC)

Awesome addition
However there is one thing... I needed to add "sync-depth = 1" >> eselect-repo.conf

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

as emerge --sync would just hang @ "/usr/bin/git fetch origin"

* Running emerge --sync >>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'... /var/db/repos/gentoo /usr/bin/git fetch origin...............................................................

But sync depth 1 fixes it

* Running emerge --sync >>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'... /var/db/repos/gentoo /usr/bin/git fetch origin --depth 1 remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 === Sync completed for gentoo

Cheers!