public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-portage-dev] New proposed modular sync system
  @ 2014-01-31  7:27 99%     ` Brian Dolbec
  0 siblings, 0 replies; 1+ results
From: Brian Dolbec @ 2014-01-31  7:27 UTC (permalink / raw
  To: gentoo-portage-dev

On Fri, 31 Jan 2014 08:13:56 +0100
Sebastian Luther <SebastianLuther@gmx.de> wrote:

> Am 31.01.2014 06:27, schrieb Brian Dolbec:
> 
> > I have updated the Proposal page [2] with more things to do as well
> > as some insights I discovered during the initial porting.
> > 
> 
> > 6. Determine the method to be able to do concurrent repo syncs
> 
> Take a look at the stuff in portage.util.{_async,_eventloop}. It's
> used in various places in emerge if you need an example.
> 

Thanks, I will have a look

> > 18. Modify emerge-webrsync cli to use the new webrsync module
> 
> I'd just remove emerge-webrsync and ask the user to use emerge --sync
> instead.
>

Some people are not able to use a normal rsync tree due to firewall
issues and bandwith restrictions.

 
> > Next up for discussion is what additional functionality should a
> > module supply?
> > 
> > I think it should provide a list or dictionary of the repos.conf
> > variables it needs or uses.  I also think that the module should
> > provide a function for validating the conf variables meet some
> > minimum standard/obvious error checking.
> 
> Why should it provide that list at all, if it has a function to
> validate its input? The calling code should just check sync-type,
> select the appropriate module and pass everything to it.
> 
> 

I am thinking more about an emaint module for checking repos.conf
entries and help generation.  The sync module would provide the
validation function and the info the emaint module would use to list
variable requirements.  Yes, the plugin module should provide it's own
man page, but maybe it doesn't or the user just wants a quick list of
the variable requirements.


emaint --list --variables syncs

  rsync:
    ...

  git:
    ...
    gpg-sig-uri

  squashfs:
    sync-uri
    gpg-sig-uri  optional, blah blah,...
    ...



-- 
Brian Dolbec <dolsen>



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-01-09 17:33     [gentoo-portage-dev] New proposed modular sync system Brian Dolbec
2014-01-31  5:27     ` Brian Dolbec
2014-01-31  7:13       ` Sebastian Luther
2014-01-31  7:27 99%     ` Brian Dolbec

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