Re: [gentoo-dev] New portage-9999 plugin-sync system

2014-12-10 Thread Ultrabug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 06/12/2014 07:11, Brian Dolbec wrote:
> 
> For those people running portage-.  I've now merged the new 
> plugin-sync system into the master branch.  I've just added the 
> following einfo block to the .ebuild.  I will be preparing a
> news item for review soon.  We will be extending some of the
> modules options, adding more capabilities such as git branch and
> depth options.


Thank you guys, I'm eager to see it live :)
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlSIJhAACgkQKiQSS7ZY+hM1FwD+J9l+qaOunmbpOjOA/c7vac+7
+Yh0GKHWXybXHcUHYTIA/2vQ1AzQMm5Yhy0uZA+iO34aI2LkOEjEbg2qQc6O8Xvh
=TpZx
-END PGP SIGNATURE-



Re: [gentoo-dev] New portage-9999 plugin-sync system

2014-12-08 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

I'd just like to take a few seconds to say "thank you, Brian"!

- -- 
Alexander
berna...@gentoo.org
https://secure.plaimi.net/~alexander
-BEGIN PGP SIGNATURE-
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlSFZiUACgkQRtClrXBQc7VFlAD9FNdW7D0g5hsV2RaDyphJ64iL
9J8kNJrjmxghOrD9mjAA/26hU/XhuTxeRgWwjU8bdzcKKw1PvKYZoJhMmR08u+Lz
=CicF
-END PGP SIGNATURE-



[gentoo-dev] New portage-9999 plugin-sync system

2014-12-05 Thread Brian Dolbec

For those people running portage-.  I've now merged the new
plugin-sync system into the master branch.  I've just added the
following einfo block to the .ebuild.  I will be preparing
a news item for review soon.  We will be extending some of the modules
options, adding more capabilities such as git branch and depth options.

Also in this new sync system, is a new portage native postsync hook
system. It extends the hooks capabilities.  I will send another email
detailing those.  We are making a few more adjustments to it for better
backwards compatibility.

Additionally Devan  has created a layman plugin-sync module
as part his GSOC project, so emerge/emaint will be able to perform
sync operations on layman installed overlays as well. layman- will
be getting that plugin install capability soon.

Currently all available sync modules are installed.  The ebuild(s) will
be getting additional use flags to control which modules will be
installed once ready.

Please read over the einfo messages so that you can help those people
that ignored them when they upgraded portage.  There can also be cases
where the pre-einfo'd ebuild upgraded portage- and consequently
they did not get the enifo messages.  In that case, their next emerge
--sync will do nothing.  They will need to set the auto-sync option in
their repos.conf/gentoo.conf file.  The new emaint sync module is
capable of syncing any repo, regardless of the auto-sync setting.




pkg_postinst() {
einfo "This version of portage now has the new plugin-sync system"
einfo "An additional 'auto-sync = yes' setting is needed for each repo"
einfo "you wish 'emerge --sync' to sync"
einfo "The default setting is 'no'"
einfo "The primary sync action is now controlled via the emaint command"
einfo "The emaint sync module is more flexible in its capabilities"
einfo "It is similar to layman's -s and -S options"
einfo ""
einfo " 'emerge --sync' is now equivalent to 'emaint sync -a'"
einfo ""
einfo "run 'emaint sync --auto' to sync all auto-sync enabled repos"
einfo " options are:"
einfo "-A, --allrepos  Sync all repos that have a sync-url defined"
einfo "-a, --auto  Sync auto-sync enabled repos only"
einfo "-r REPO, --repo REPO  Sync the specified repo"
einfo "  even if 'auto-sync = no' is set"
einfo ""
einfo "Currently installed sync-type modules include:"
einfo "rsync, git, cvs, svn, websync"
einfo "the websync module currently runs emerge-webrsync for you"
einfo ""
einfo "For sync module specifications: 
https://wiki.gentoo.org/wiki/Project:Portage/Sync";
einfo ""
}

-- 
Brian Dolbec