Re: [gentoo-user] gentoo portage on github - using fork as local overlay
Am 2017-01-14 um 20:00 schrieb Alarig Le Lay: [stefangweichinger-gentoo] location = /usr/local/portage masters = gentoo sync-type = git sync-uri = https://github.com/stefangweichinger/gentoo.git auto-sync = no I think you have a publickey specified for your repo to push on it. A simple workaround could be to use the directory where you cloned your repository instead of github. ok, so just remove those lines with "sync-" above. This means I have to fetch/pull manually but that isn't any problem. thanks
Re: [gentoo-user] gentoo portage on github - using fork as local overlay
On Sat Jan 14 19:49:01 2017, Stefan G. Weichinger wrote: > # /etc/portage/repos.conf/local.conf > > [stefangweichinger-gentoo] > location = /usr/local/portage > masters = gentoo > sync-type = git > sync-uri = https://github.com/stefangweichinger/gentoo.git > auto-sync = no > > ... but that always gave me permission issues > > $ emaint sync -r stefangweichinger-gentoo > >>> Syncing repository 'stefangweichinger-gentoo' into > '/usr/local/portage'... > /usr/bin/git pull > Permission denied (publickey). > fatal: Could not read from remote repository. > > Please make sure you have the correct access rights > and the repository exists. > !!! git pull error in /usr/local/portage > > could someone show me an example and maybe even explain the workflow? Hi, I think you have a publickey specified for your repo to push on it. A simple workaround could be to use the directory where you cloned your repository instead of github. -- alarig signature.asc Description: PGP signature
[gentoo-user] gentoo portage on github - using fork as local overlay
I recently suggested ebuilds on bugs.gentoo.org and was advised to generate a PR (=pull request) against the gentoo portage repo on github: https://github.com/gentoo/gentoo ok, I forked that repo, did my changes within a local copy (clone) of my repo .. etc etc So far I understand things, OK, I have to figure out how to use branches for separate packages ... but I am on my way ;-) What I didn't yet find on Gentoo Wiki etc: I would like to have my ongoing work (which is tracked inside my own fork of the gentoo portage tree) in, say, /usr/local/portage and be able to install packages either from the official portage tree or my own overlay. I created files like this: # /etc/portage/repos.conf/local.conf [stefangweichinger-gentoo] location = /usr/local/portage masters = gentoo sync-type = git sync-uri = https://github.com/stefangweichinger/gentoo.git auto-sync = no ... but that always gave me permission issues $ emaint sync -r stefangweichinger-gentoo >>> Syncing repository 'stefangweichinger-gentoo' into '/usr/local/portage'... /usr/bin/git pull Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. !!! git pull error in /usr/local/portage could someone show me an example and maybe even explain the workflow?