public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fernando Rodriguez <frodriguez.developer@outlook.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: ncurses: reductio ad absurdum
Date: Sat, 29 Aug 2015 16:12:45 -0400	[thread overview]
Message-ID: <BLU436-SMTP2154A44DD3ED569841DC9898D6D0@phx.gbl> (raw)
In-Reply-To: <CAGfcS_m9wO1_wEAZ2SZNm=ogaTfR4M0EhA9AJ4OjEPZ8jQKLaQ@mail.gmail.com>

On Saturday, August 29, 2015 2:19:23 PM Rich Freeman wrote:
> On Sat, Aug 29, 2015 at 12:35 PM, Fernando Rodriguez
> <frodriguez.developer@outlook.com> wrote:
> > It's probably easier to do this:
> >
> > # cd /usr/portage
> > # rm -r *
> > # git clone <repo-uri> .
> 
> The only issue with this is that all the files end up being owned by
> root.  I'd just create /usr/portage, chown portage:portage
> /usr/portage, and then let emerge --sync take care of the rest.

That is true, I didn't think of that. However, emerge --sync must run as root 
because that's how I've done it for my local overlay and I just noticed that 
even my /usr/portage (I'm still using rsync) is owned by root:root with the 
exception of distfiles which is owned by root:portage. Probably because at one 
point it got corrupted after syncing and I copied it from a network machine. 
Fixing it now.

> To cut down on replies, I'm not sure what the emerge --sync behavior
> is if you have changes in the tree.  I suspect that as long as they
> don't conflict they'll still sync, but in general you shouldn't leave
> uncommitted changes lying around /usr/portage.  It is just convenient
> to be able to tweak packages, get them cleaned up, and then generate
> patches.

At least for overlays portage does a git pull. It may pull the changes from 
the server but it will not even try to merge them (it can't since there's no 
commit to merge) so it will tell you to either git checkout the file to discard 
the changes or commit them. Even if you do commit them I believe it will ask 
you for a merge commit message so it's not something that portage will do 
automatically. Best to create a testing branch for your changes and checkout 
the master branch before syncing again.

-- 
Fernando Rodriguez


  reply	other threads:[~2015-08-29 20:13 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-28 13:19 [gentoo-user] ncurses: reductio ad absurdum walt
2015-08-28 13:34 ` Marc Joliet
2015-08-28 14:16   ` Rich Freeman
2015-08-28 15:20     ` Philip Webb
2015-08-28 15:26       ` Alec Ten Harmsel
2015-08-28 15:51         ` Dale
2015-08-28 15:53         ` Emanuele Rusconi
2015-08-28 16:23           ` Dale
2015-08-28 23:15             ` Marc Joliet
2015-08-28 17:17           ` [gentoo-user] " James
2015-08-28 17:27             ` Emanuele Rusconi
2015-08-28 17:26       ` [gentoo-user] " Rich Freeman
2015-08-28 17:32         ` Mick
2015-08-28 18:24           ` Rich Freeman
2015-08-29 16:57             ` Fernando Rodriguez
2015-08-29 18:47               ` Todd Goodman
2015-08-31  0:50                 ` Thomas Mueller
2015-08-31  1:42                   ` Fernando Rodriguez
2015-08-28 17:40         ` covici
2015-08-28 18:47           ` Rich Freeman
2015-08-28 13:44 ` Rich Freeman
2015-08-28 14:24   ` [gentoo-user] " James
2015-08-28 14:53     ` Rich Freeman
2015-08-28 15:26       ` James
2015-08-28 17:37         ` Rich Freeman
2015-08-28 15:26       ` Alan Mackenzie
2015-08-28 17:41         ` Rich Freeman
2015-08-28 18:45           ` Alan Mackenzie
2015-08-28 19:10             ` Alec Ten Harmsel
2015-08-28 19:29               ` Rich Freeman
2015-08-28 22:34                 ` Philip Webb
2015-08-29 14:25                   ` Todd Goodman
2015-08-29 15:48                     ` Dale
2015-08-29 16:35                       ` Fernando Rodriguez
2015-08-29 18:19                         ` Rich Freeman
2015-08-29 20:12                           ` Fernando Rodriguez [this message]
2015-08-29 20:53                         ` Neil Bothwick
2015-08-29 21:10                           ` Fernando Rodriguez
2015-08-29 21:17                             ` Fernando Rodriguez
2015-08-30 10:41                               ` Neil Bothwick
2015-08-29 23:13                         ` Dale
2015-08-30 19:44                           ` Fernando Rodriguez
2015-08-29 18:45                       ` Todd Goodman
2015-08-30  2:53                         ` Dale
2015-08-29  0:07                 ` walt
2015-08-29  3:32                   ` Dale
2015-08-29 12:08                     ` Mick
2015-08-28 16:55       ` covici
2015-08-28 16:22 ` James
2015-08-28 18:16   ` Rich Freeman
2015-08-29  3:04     ` James
2015-08-28 21:25 ` [gentoo-user] " Volker Armin Hemmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BLU436-SMTP2154A44DD3ED569841DC9898D6D0@phx.gbl \
    --to=frodriguez.developer@outlook.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox