2015-06-23 21:12 GMT-06:00 James <[email protected]>:
> Take java:
>
> * Warnings:
>  * ------
>  * The source of the overlay "java" seems to have changed.
>  * You currently sync from
>  *
>  *   git://git.overlays.gentoo.org/proj/java.git
>  *
>  * while the remote lists report
>  *
>  *   1. git://anongit.gentoo.org/proj/java.git
>  *   2. git+ssh://[email protected]/proj/java.git
>  *   3. https://anongit.gentoo.org/git/proj/java.git
>  *
>  * as correct locations.
>  * Please consider removing and re-adding the overlay.
>
This is because recent changes of the infrastructure providing
overlays, explanation it's on the frontpage(gentoo.org)

>
> Maybe a few examples of /etc/portage/repos.conf to look at?
>
Maybe this is useful, what I have been doing, is use layman as always
for external repos from gentoo overlays( layman -a ...), As far as I
know the repos.conf still doesn't handle svn, so I think devs are
keeping layman the way it is to not break this, but if I want to
change something in a particular external overlay say java, what i do
is this

A new conf /etc/repos.conf/java.conf
[java]
priority = 100
location =  /home/$MY_USER/$MY_OVERLAYS_DIR/java
layman-type = git
auto-sync = no

And of course clone the repo to that dir and make my changes.


> Note the gentoo and local is fine. I keep /usr/local/portage
> for my stuff alone, so I guess I can just use the old layman
> dir stucture (/var/lib/layman) for my collection of exteranal
> repos?
>
I find the use of /usr/local/portage less useful than making your own
overlay, I have my own overlay in repos.conf pretty much the same as
the example before
/etc/repos.conf/j-overlay.conf:(This is my box used for development)
[j-overlay]
priority = 100
location =  /home/$MY_USER/$MY_OVERLAYS_DIR/j-overlay
layman-type = git
auto-sync = no

But I distribute it to some containers and some other  gentoo
installations by a little different config file:

[j-overlay]
location = /var/lib/portage/repos/j-overlay
sync-type = git
priority = 100
sync-uri = https://github.com/j-g-/j-overlay.git
auto-sync = true

And as expected, emerge --sync syncs the portage three(also via git)
and changes I commit to my own overlay.

I hope you find this useful.

Reply via email to