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:40 99%       ` Sebastian Luther
  0 siblings, 0 replies; 1+ results
From: Sebastian Luther @ 2014-01-31  7:40 UTC (permalink / raw
  To: gentoo-portage-dev

Am 31.01.2014 08:27, schrieb Brian Dolbec:
> 
>>> 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.
> 
>  

I didn't mean to remove the functionality provided by emerge-webrsync.
Since in point 17 you want to move the functionality into a module, the
user should be able to set sync-type=web-rsync in repos.conf and have
emerge --sync sync it.

>>> 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,...
>     ...
> 
> 
> 
I guess I'm just not familiar enough with your approach to see all the
things you want to do with it.


^ 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         ` Brian Dolbec
2014-01-31  7:40 99%       ` Sebastian Luther

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