On Sat, Jan 23, 2016 at 2:05 AM, Brian Dolbec <dol...@gentoo.org> wrote:
> On Sat, 23 Jan 2016 01:05:12 +0800
> konsolebox <konsole...@gmail.com> wrote:
>
>> On Fri, Jan 22, 2016 at 11:30 PM, Duncan <1i5t5.dun...@cox.net> wrote:
>> > konsolebox posted on Fri, 22 Jan 2016 22:10:53 +0800 as excerpted:
>> >
>> >> Hi, I can't find a way to make `emerge --sync` add an option like
>> >> `-f` to `git pull` when it runs it.  How about adding
>> >> sync-git-extra-opts or sync-git-pull-extra-opts to repos.conf?  We
>> >> already have sync-rsync-extra-opts for rsync so I think it's fair
>> >> to add one for git.
>> >
>> > If you have layman installed, you can set repo sync-type to
>> > laymansync, and layman, in turn, has configuration options that
>> > allow you to set additional options for git as well as the other
>> > repo-type fetch commands (bzr, svn, etc).
>> >
>>
>> Unfortunately I need it for the `gentoo` repo itself.  I do have
>> layman repos but I update them separately with `layman -S`, and I
>> don't want them to always get updated together with `gentoo` everytime
>> I run `emerge --sync`.
>>
>
> No, the portage sync system controls which repo(s) get synced via the
> auto-sync setting.  So layman can git sync the gentoo repo like Duncan
> described without also syncing your manually synced layman repos.

Ok I think I follow a bit, but wouldn't it be better to have that
feature without relying on layman?

-- 
konsolebox

Reply via email to