public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] repos.conf
@ 2015-06-24  3:12 James
  2015-06-24  8:48 ` Jc García
  2015-06-25  9:39 ` [gentoo-user] repos.conf Florian Gamböck
  0 siblings, 2 replies; 7+ messages in thread
From: James @ 2015-06-24  3:12 UTC (permalink / raw
  To: gentoo-user

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://git@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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] repos.conf
  2015-06-24  3:12 [gentoo-user] repos.conf James
@ 2015-06-24  8:48 ` Jc García
  2015-06-24 20:09   ` [gentoo-user] repos.conf James
  2015-06-25  9:39 ` [gentoo-user] repos.conf Florian Gamböck
  1 sibling, 1 reply; 7+ messages in thread
From: Jc García @ 2015-06-24  8:48 UTC (permalink / raw
  To: gentoo-user

2015-06-23 21:12 GMT-06:00 James <wireless@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://git@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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: repos.conf
  2015-06-24  8:48 ` Jc García
@ 2015-06-24 20:09   ` James
  0 siblings, 0 replies; 7+ messages in thread
From: James @ 2015-06-24 20:09 UTC (permalink / raw
  To: gentoo-user

Jc García <jyo.garcia <at> gmail.com> writes:


> I hope you find this useful.

Yes I did.

Sure sounds like an excellent topic  for one of our devs to post
to planet.gentoo.org about an example of how  diversified configurations for
our current migratory status on source codes from a wide variety of
places could be set up. Surely those leading us on this journey have crossed
 these bridges?


I tend to ignore such needs as long as possible, but with cluster code
development, I'm reading about or  fixing things from the kernel(s) to
functional programming (which until recently I strongly avoided) and every
thing possible in between. Some days, I think I'm going crazy......(but 
actually I'm OK with that idea, really I am).


Then I read about something like "nitrous.io" [1] and I realize  that I have
a far greater grip on the multifaceted aspects of diverse coding than some
of the clowns that are getting rich. Maybe, just maybe, we need to get some
'go daddy girls' to help us get organized ? I guess any documented formal or
structured approach, that would allow one to focus on just one problem
(piece of code) for a few days/weeks is strictly out of the question......


Please keep the ideas and schema coming, as I only want to solve this code
migration & organization problem once. Maybe I should just file a (bgo) bug
about when do we git nitrous.io on gentoo? 


(reminds me of the dentist :: a_hole).
But he does have an extremely attractive hygienist!

James


[1] https://pro.nitrous.io/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] repos.conf
  2015-06-24  3:12 [gentoo-user] repos.conf James
  2015-06-24  8:48 ` Jc García
@ 2015-06-25  9:39 ` Florian Gamböck
  2015-06-25 15:55   ` [gentoo-user] repos.conf James
  1 sibling, 1 reply; 7+ messages in thread
From: Florian Gamböck @ 2015-06-25  9:39 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: repos.conf
  2015-06-25  9:39 ` [gentoo-user] repos.conf Florian Gamböck
@ 2015-06-25 15:55   ` James
  2015-06-25 17:19     ` Florian Gamböck
  0 siblings, 1 reply; 7+ messages in thread
From: James @ 2015-06-25 15:55 UTC (permalink / raw
  To: gentoo-user

Florian Gamböck <ml <at> floga.de> writes:


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

AWESOME!


> 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.

YES YES! 
I just put layman-2.3.0 on ..... we'll see

> 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.

Ah. You are my new hero, dude!
I knew this had to be dirt simple....
All that googling and news items; I guess I missed this doc...


Thanks!
James





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: repos.conf
  2015-06-25 15:55   ` [gentoo-user] repos.conf James
@ 2015-06-25 17:19     ` Florian Gamböck
  2015-06-25 18:36       ` James
  0 siblings, 1 reply; 7+ messages in thread
From: Florian Gamböck @ 2015-06-25 17:19 UTC (permalink / raw
  To: gentoo-user

Am 25.06.2015 um 17:55 schrieb James:
> Ah. You are my new hero, dude!

I'm glad I could help. :-)

> All that googling and news items; I guess I missed this doc...

Actually there was a quite longish news item about that. "New portage 
plug-in sync system" from 2015-02-02. There was also a link to the said 
Wiki page.

Perhaps you also want to re-read this one, in case you missed it.

Best wishes,
--Flo


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: repos.conf
  2015-06-25 17:19     ` Florian Gamböck
@ 2015-06-25 18:36       ` James
  0 siblings, 0 replies; 7+ messages in thread
From: James @ 2015-06-25 18:36 UTC (permalink / raw
  To: gentoo-user

Florian Gamböck <ml <at> floga.de> writes:


> Actually there was a quite longish news item about that. "New portage 
> plug-in sync system" from 2015-02-02. There was also a link to the said 
> Wiki page.

Yes I did and it did not work as noted. However, I did not have a default
mask set correctly on permissions, so that is why it did not work......


thanks,
James





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-06-25 18:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-24  3:12 [gentoo-user] repos.conf James
2015-06-24  8:48 ` Jc García
2015-06-24 20:09   ` [gentoo-user] repos.conf James
2015-06-25  9:39 ` [gentoo-user] repos.conf Florian Gamböck
2015-06-25 15:55   ` [gentoo-user] repos.conf James
2015-06-25 17:19     ` Florian Gamböck
2015-06-25 18:36       ` James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox