Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/repository/
Date: Tue, 03 Feb 2015 20:57:06
Message-Id: 1422996579.d75b8dc6929c44f0c63d5c1d00143a61efe9d1cd.dolsen@gentoo
1 commit: d75b8dc6929c44f0c63d5c1d00143a61efe9d1cd
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 3 20:49:39 2015 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 3 20:49:39 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d75b8dc6
7
8 portage/repositoy/config.py: Create an auto-sync default of 'yes'
9
10 From the news item review comments, the numerous 'sky is falling' type outcries due to the possibility of emerge --sync not actually syncing anything.
11 Although, this new default will likely cause some grief to eix-sync users whom have to re-edit eix's config to disable it from syncing overlays.
12
13 ---
14 pym/portage/repository/config.py | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
18 index fd0eea4..881890e 100644
19 --- a/pym/portage/repository/config.py
20 +++ b/pym/portage/repository/config.py
21 @@ -172,7 +172,7 @@ class RepoConfig(object):
22 sync_user = sync_user.strip()
23 self.sync_user = sync_user or None
24
25 - auto_sync = repo_opts.get('auto-sync')
26 + auto_sync = repo_opts.get('auto-sync', 'yes')
27 if auto_sync is not None:
28 auto_sync = auto_sync.strip().lower()
29 self.auto_sync = auto_sync