public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] New portage-9999 plugin-sync system
@ 2014-12-06  6:11 Brian Dolbec
  2014-12-08  8:49 ` Alexander Berntsen
  2014-12-10 10:53 ` Ultrabug
  0 siblings, 2 replies; 3+ messages in thread
From: Brian Dolbec @ 2014-12-06  6:11 UTC (permalink / raw
  To: gentoo-dev


For those people running portage-9999.  I've now merged the new
plugin-sync system into the master branch.  I've just added the
following einfo block to the 9999.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 <twitch153> 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-9999 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-9999 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 <dolsen>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] New portage-9999 plugin-sync system
  2014-12-06  6:11 [gentoo-dev] New portage-9999 plugin-sync system Brian Dolbec
@ 2014-12-08  8:49 ` Alexander Berntsen
  2014-12-10 10:53 ` Ultrabug
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Berntsen @ 2014-12-08  8:49 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

- -- 
Alexander
bernalex@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-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] New portage-9999 plugin-sync system
  2014-12-06  6:11 [gentoo-dev] New portage-9999 plugin-sync system Brian Dolbec
  2014-12-08  8:49 ` Alexander Berntsen
@ 2014-12-10 10:53 ` Ultrabug
  1 sibling, 0 replies; 3+ messages in thread
From: Ultrabug @ 2014-12-10 10:53 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 06/12/2014 07:11, Brian Dolbec wrote:
> 
> For those people running portage-9999.  I've now merged the new 
> plugin-sync system into the master branch.  I've just added the 
> following einfo block to the 9999.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-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-11  1:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-06  6:11 [gentoo-dev] New portage-9999 plugin-sync system Brian Dolbec
2014-12-08  8:49 ` Alexander Berntsen
2014-12-10 10:53 ` Ultrabug

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