Re: [gentoo-user] repos.conf

2015-06-25 Thread Florian Gamböck

Hi James,

Am 24.06.2015 um 05:12 schrieb James:

So is there a tool/interface where I type something like
'layman -a java' and it writes out the file to
/etc/portage/repos.conf/new.conf


You should take a look at 
https://wiki.gentoo.org/wiki/Project:Portage/Sync#layman-updater_Method.


TLDR: Install (as in accept keyword) a newer version of Layman (at 
least 2.2.16), add the sync-plugin-portage USE-Flag, and maybe double 
check your /etc/layman/layman.cfg so it uses repos.conf.


What layman then does, is creating a dedicated 
/etc/portage/repos.conf/layman.conf, in which it automatically adds and 
removes overlays you add/remove via the usual layman commands. So in 
fact quite similar as the behavior with layman's make.conf, just with 
the new repos.conf.


HTH and best wishes,
--Flo



Re: [gentoo-user] repos.conf

2015-06-24 Thread Jc García
2015-06-23 21:12 GMT-06:00 James wirel...@tampabay.rr.com:
 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://g...@git.gentoo.org/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.



[gentoo-user] repos.conf

2015-06-23 Thread James
Hello,


So I nuked the /var/lib/layman/make.conf file. I have a list of sites (repos)
I want to keep. Noodling around I figured out that I cannot use laymen to
add git
repos. bummer.


So is there a tool/interface where I type something like
'layman -a java' and it writes out the file to
/etc/portage/repos.conf/new.conf

Layman -S pucked. So after following all the guides I must
have missed something.


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://g...@git.gentoo.org/proj/java.git
 *   3. https://anongit.gentoo.org/git/proj/java.git
 * 
 * as correct locations.
 * Please consider removing and re-adding the overlay.


I tried this (layman -d java; layman -a java) but it
just does the ond /var/lib/layman/ entry.


No tool to select a git repo and make the new.conf file in 
/etc/portage/resos.conf/  dir?

I'd prefer a default file created that I just then edit, or one
big repo.conf file for overlays (formerly overlays not gits)
for all the repos I want to add.


Maybe a few examples of /etc/portage/repos.conf to look at?

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?


maybe something like:

/var/lib/repos/devs/ultrabug/

and /var/lib/repos/sot/unknown-hacker/

I really like to keep the gentoo dev repos separate for the at large
gentoo repos now using git. I probably should not use this old
/var/lib/layman/ sturcture for the new git repos..?


Will those layman svn sites be going away? or just the ones run by gentoo-devs?

Suggests on a sane schema for all of this is most welcome.
(how are other organizing/labeling ad wide collect of repos, gentoo
dev repos and their own (code)fiefdom?

naming and location strategies are most welcome.


Lacking organization on repos,
James






[gentoo-user] repos.conf migration lost overlay priority

2015-02-13 Thread Nikos Chantziaras
I migrated my portage config to the new repos.conf system. I now have a 
file /etc/portage/repos.conf/local.conf:


  [Local]
  location = /usr/local/portage
  auto-sync = no

And removed the path from make.conf.

However, now layman overlays override my local repo. If I copy an ebuild 
to /usr/local/portage (for modifications) and try to emerge it, it is 
not emerged. Instead, the ebuild from the other overlay is emerged.


How do I make my local overlay have the highest priority so that it 
overrides *everything*?





Re: [gentoo-user] repos.conf migration lost overlay priority

2015-02-13 Thread Andrew Savchenko
On Fri, 13 Feb 2015 20:29:07 +0200 Nikos Chantziaras wrote:
 I migrated my portage config to the new repos.conf system. I now have a 
 file /etc/portage/repos.conf/local.conf:
 
[Local]
location = /usr/local/portage
auto-sync = no
 
 And removed the path from make.conf.
 
 However, now layman overlays override my local repo. If I copy an ebuild 
 to /usr/local/portage (for modifications) and try to emerge it, it is 
 not emerged. Instead, the ebuild from the other overlay is emerged.
 
 How do I make my local overlay have the highest priority so that it 
 overrides *everything*?

Try to add
priority = 100
to local.conf

Best regards,
Andrew Savchenko


pgpLSYv7zqRwe.pgp
Description: PGP signature