* [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/repository/, cnf/
@ 2014-05-02 23:13 Brian Dolbec
0 siblings, 0 replies; 6+ messages in thread
From: Brian Dolbec @ 2014-05-02 23:13 UTC (permalink / raw
To: gentoo-commits
commit: 0f75370f9b9f6053a125cbac6e391673f3b3d768
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 30 09:42:44 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Fri May 2 23:09:16 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=0f75370f
portage/repository/config.py: Add auto_sync attribute
Make the auto_sync variable lowercase
cnf/repos.conf: Add new auto-sync variable
---
cnf/repos.conf | 1 +
pym/portage/repository/config.py | 11 ++++++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/cnf/repos.conf b/cnf/repos.conf
index 8c657da..1ca98ca 100644
--- a/cnf/repos.conf
+++ b/cnf/repos.conf
@@ -5,3 +5,4 @@ main-repo = gentoo
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
+auto-sync = yes
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index 44666f9..9912760 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -79,8 +79,8 @@ class RepoConfig(object):
"""Stores config of one repository"""
__slots__ = ('aliases', 'allow_missing_manifest', 'allow_provide_virtual',
- 'cache_formats', 'create_manifest', 'disable_manifest', 'eapi',
- 'eclass_db', 'eclass_locations', 'eclass_overrides',
+ 'auto_sync', 'cache_formats', 'create_manifest', 'disable_manifest',
+ 'eapi', 'eclass_db', 'eclass_locations', 'eclass_overrides',
'find_invalid_path_char', 'force', 'format', 'local_config', 'location',
'main_repo', 'manifest_hashes', 'masters', 'missing_repo_name',
'name', 'portage1_profiles', 'portage1_profiles_compat', 'priority',
@@ -159,6 +159,11 @@ class RepoConfig(object):
sync_uri = sync_uri.strip()
self.sync_uri = sync_uri or None
+ auto_sync = repo_opts.get('auto-sync')
+ if auto_sync is not None:
+ auto_sync = auto_sync.strip().lower()
+ self.auto_sync = auto_sync or None
+
# Not implemented.
format = repo_opts.get('format')
if format is not None:
@@ -552,7 +557,7 @@ class RepoConfigLoader(object):
repo = RepoConfig(sname, optdict, local_config=local_config)
# Perform repos.conf sync variable validation
- portage.sync.validate_config(repo)
+ portage.sync.validate_config(repo, logging)
# For backward compatibility with locations set via PORTDIR and
# PORTDIR_OVERLAY, delay validation of the location and repo.name
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/repository/, cnf/
@ 2014-06-16 15:18 Brian Dolbec
0 siblings, 0 replies; 6+ messages in thread
From: Brian Dolbec @ 2014-06-16 15:18 UTC (permalink / raw
To: gentoo-commits
commit: 7157688108a14adf7c84ff1c1ea80e93b453b308
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 30 09:42:44 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Tue May 13 04:17:23 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=71576881
portage/repository/config.py: Add auto_sync attribute
Make the auto_sync variable lowercase
cnf/repos.conf: Add new auto-sync variable
---
cnf/repos.conf | 1 +
pym/portage/repository/config.py | 11 ++++++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/cnf/repos.conf b/cnf/repos.conf
index 8c657da..1ca98ca 100644
--- a/cnf/repos.conf
+++ b/cnf/repos.conf
@@ -5,3 +5,4 @@ main-repo = gentoo
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
+auto-sync = yes
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index 44666f9..bb54b57 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -79,8 +79,8 @@ class RepoConfig(object):
"""Stores config of one repository"""
__slots__ = ('aliases', 'allow_missing_manifest', 'allow_provide_virtual',
- 'cache_formats', 'create_manifest', 'disable_manifest', 'eapi',
- 'eclass_db', 'eclass_locations', 'eclass_overrides',
+ 'auto_sync', 'cache_formats', 'create_manifest', 'disable_manifest',
+ 'eapi', 'eclass_db', 'eclass_locations', 'eclass_overrides',
'find_invalid_path_char', 'force', 'format', 'local_config', 'location',
'main_repo', 'manifest_hashes', 'masters', 'missing_repo_name',
'name', 'portage1_profiles', 'portage1_profiles_compat', 'priority',
@@ -159,6 +159,11 @@ class RepoConfig(object):
sync_uri = sync_uri.strip()
self.sync_uri = sync_uri or None
+ auto_sync = repo_opts.get('auto-sync')
+ if auto_sync is not None:
+ auto_sync = auto_sync.strip().lower()
+ self.auto_sync = auto_sync
+
# Not implemented.
format = repo_opts.get('format')
if format is not None:
@@ -552,7 +557,7 @@ class RepoConfigLoader(object):
repo = RepoConfig(sname, optdict, local_config=local_config)
# Perform repos.conf sync variable validation
- portage.sync.validate_config(repo)
+ portage.sync.validate_config(repo, logging)
# For backward compatibility with locations set via PORTDIR and
# PORTDIR_OVERLAY, delay validation of the location and repo.name
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/repository/, cnf/
@ 2014-06-16 15:46 Brian Dolbec
0 siblings, 0 replies; 6+ messages in thread
From: Brian Dolbec @ 2014-06-16 15:46 UTC (permalink / raw
To: gentoo-commits
commit: 93dcfd1ce3ae6f62fd8e3af065ce564a78b86843
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 30 09:42:44 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Mon Jun 16 15:36:56 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=93dcfd1c
portage/repository/config.py: Add auto_sync attribute
Make the auto_sync variable lowercase
cnf/repos.conf: Add new auto-sync variable
---
cnf/repos.conf | 1 +
pym/portage/repository/config.py | 11 ++++++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/cnf/repos.conf b/cnf/repos.conf
index 8c657da..1ca98ca 100644
--- a/cnf/repos.conf
+++ b/cnf/repos.conf
@@ -5,3 +5,4 @@ main-repo = gentoo
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
+auto-sync = yes
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index 44666f9..bb54b57 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -79,8 +79,8 @@ class RepoConfig(object):
"""Stores config of one repository"""
__slots__ = ('aliases', 'allow_missing_manifest', 'allow_provide_virtual',
- 'cache_formats', 'create_manifest', 'disable_manifest', 'eapi',
- 'eclass_db', 'eclass_locations', 'eclass_overrides',
+ 'auto_sync', 'cache_formats', 'create_manifest', 'disable_manifest',
+ 'eapi', 'eclass_db', 'eclass_locations', 'eclass_overrides',
'find_invalid_path_char', 'force', 'format', 'local_config', 'location',
'main_repo', 'manifest_hashes', 'masters', 'missing_repo_name',
'name', 'portage1_profiles', 'portage1_profiles_compat', 'priority',
@@ -159,6 +159,11 @@ class RepoConfig(object):
sync_uri = sync_uri.strip()
self.sync_uri = sync_uri or None
+ auto_sync = repo_opts.get('auto-sync')
+ if auto_sync is not None:
+ auto_sync = auto_sync.strip().lower()
+ self.auto_sync = auto_sync
+
# Not implemented.
format = repo_opts.get('format')
if format is not None:
@@ -552,7 +557,7 @@ class RepoConfigLoader(object):
repo = RepoConfig(sname, optdict, local_config=local_config)
# Perform repos.conf sync variable validation
- portage.sync.validate_config(repo)
+ portage.sync.validate_config(repo, logging)
# For backward compatibility with locations set via PORTDIR and
# PORTDIR_OVERLAY, delay validation of the location and repo.name
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/repository/, cnf/
@ 2014-06-16 22:45 Brian Dolbec
0 siblings, 0 replies; 6+ messages in thread
From: Brian Dolbec @ 2014-06-16 22:45 UTC (permalink / raw
To: gentoo-commits
commit: ddd73838459d7fac423adc1082665df3e3de6a2a
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 30 09:42:44 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Mon Jun 16 22:43:11 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ddd73838
portage/repository/config.py: Add auto_sync attribute
Make the auto_sync variable lowercase
cnf/repos.conf: Add new auto-sync variable
---
cnf/repos.conf | 1 +
pym/portage/repository/config.py | 11 ++++++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/cnf/repos.conf b/cnf/repos.conf
index 8c657da..1ca98ca 100644
--- a/cnf/repos.conf
+++ b/cnf/repos.conf
@@ -5,3 +5,4 @@ main-repo = gentoo
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
+auto-sync = yes
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index 44666f9..bb54b57 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -79,8 +79,8 @@ class RepoConfig(object):
"""Stores config of one repository"""
__slots__ = ('aliases', 'allow_missing_manifest', 'allow_provide_virtual',
- 'cache_formats', 'create_manifest', 'disable_manifest', 'eapi',
- 'eclass_db', 'eclass_locations', 'eclass_overrides',
+ 'auto_sync', 'cache_formats', 'create_manifest', 'disable_manifest',
+ 'eapi', 'eclass_db', 'eclass_locations', 'eclass_overrides',
'find_invalid_path_char', 'force', 'format', 'local_config', 'location',
'main_repo', 'manifest_hashes', 'masters', 'missing_repo_name',
'name', 'portage1_profiles', 'portage1_profiles_compat', 'priority',
@@ -159,6 +159,11 @@ class RepoConfig(object):
sync_uri = sync_uri.strip()
self.sync_uri = sync_uri or None
+ auto_sync = repo_opts.get('auto-sync')
+ if auto_sync is not None:
+ auto_sync = auto_sync.strip().lower()
+ self.auto_sync = auto_sync
+
# Not implemented.
format = repo_opts.get('format')
if format is not None:
@@ -552,7 +557,7 @@ class RepoConfigLoader(object):
repo = RepoConfig(sname, optdict, local_config=local_config)
# Perform repos.conf sync variable validation
- portage.sync.validate_config(repo)
+ portage.sync.validate_config(repo, logging)
# For backward compatibility with locations set via PORTDIR and
# PORTDIR_OVERLAY, delay validation of the location and repo.name
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/repository/, cnf/
@ 2014-09-03 23:36 Brian Dolbec
0 siblings, 0 replies; 6+ messages in thread
From: Brian Dolbec @ 2014-09-03 23:36 UTC (permalink / raw
To: gentoo-commits
commit: 3f0c27534fdbcd53cef8b68c61d96839648ca96c
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 30 09:42:44 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Wed Sep 3 23:34:53 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=3f0c2753
portage/repository/config.py: Add auto_sync attribute
Make the auto_sync variable lowercase
cnf/repos.conf: Add new auto-sync variable
---
cnf/repos.conf | 1 +
pym/portage/repository/config.py | 11 ++++++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/cnf/repos.conf b/cnf/repos.conf
index 8c657da..1ca98ca 100644
--- a/cnf/repos.conf
+++ b/cnf/repos.conf
@@ -5,3 +5,4 @@ main-repo = gentoo
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
+auto-sync = yes
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index 44666f9..bb54b57 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -79,8 +79,8 @@ class RepoConfig(object):
"""Stores config of one repository"""
__slots__ = ('aliases', 'allow_missing_manifest', 'allow_provide_virtual',
- 'cache_formats', 'create_manifest', 'disable_manifest', 'eapi',
- 'eclass_db', 'eclass_locations', 'eclass_overrides',
+ 'auto_sync', 'cache_formats', 'create_manifest', 'disable_manifest',
+ 'eapi', 'eclass_db', 'eclass_locations', 'eclass_overrides',
'find_invalid_path_char', 'force', 'format', 'local_config', 'location',
'main_repo', 'manifest_hashes', 'masters', 'missing_repo_name',
'name', 'portage1_profiles', 'portage1_profiles_compat', 'priority',
@@ -159,6 +159,11 @@ class RepoConfig(object):
sync_uri = sync_uri.strip()
self.sync_uri = sync_uri or None
+ auto_sync = repo_opts.get('auto-sync')
+ if auto_sync is not None:
+ auto_sync = auto_sync.strip().lower()
+ self.auto_sync = auto_sync
+
# Not implemented.
format = repo_opts.get('format')
if format is not None:
@@ -552,7 +557,7 @@ class RepoConfigLoader(object):
repo = RepoConfig(sname, optdict, local_config=local_config)
# Perform repos.conf sync variable validation
- portage.sync.validate_config(repo)
+ portage.sync.validate_config(repo, logging)
# For backward compatibility with locations set via PORTDIR and
# PORTDIR_OVERLAY, delay validation of the location and repo.name
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/repository/, cnf/
@ 2014-09-05 21:15 Brian Dolbec
0 siblings, 0 replies; 6+ messages in thread
From: Brian Dolbec @ 2014-09-05 21:15 UTC (permalink / raw
To: gentoo-commits
commit: e2ad7a102c4036b041653ce6f055876fb0316555
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 30 09:42:44 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Fri Sep 5 20:26:12 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=e2ad7a10
portage/repository/config.py: Add auto_sync attribute
Make the auto_sync variable lowercase
cnf/repos.conf: Add new auto-sync variable
---
cnf/repos.conf | 1 +
pym/portage/repository/config.py | 11 ++++++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/cnf/repos.conf b/cnf/repos.conf
index 8c657da..1ca98ca 100644
--- a/cnf/repos.conf
+++ b/cnf/repos.conf
@@ -5,3 +5,4 @@ main-repo = gentoo
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
+auto-sync = yes
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index 44666f9..bb54b57 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -79,8 +79,8 @@ class RepoConfig(object):
"""Stores config of one repository"""
__slots__ = ('aliases', 'allow_missing_manifest', 'allow_provide_virtual',
- 'cache_formats', 'create_manifest', 'disable_manifest', 'eapi',
- 'eclass_db', 'eclass_locations', 'eclass_overrides',
+ 'auto_sync', 'cache_formats', 'create_manifest', 'disable_manifest',
+ 'eapi', 'eclass_db', 'eclass_locations', 'eclass_overrides',
'find_invalid_path_char', 'force', 'format', 'local_config', 'location',
'main_repo', 'manifest_hashes', 'masters', 'missing_repo_name',
'name', 'portage1_profiles', 'portage1_profiles_compat', 'priority',
@@ -159,6 +159,11 @@ class RepoConfig(object):
sync_uri = sync_uri.strip()
self.sync_uri = sync_uri or None
+ auto_sync = repo_opts.get('auto-sync')
+ if auto_sync is not None:
+ auto_sync = auto_sync.strip().lower()
+ self.auto_sync = auto_sync
+
# Not implemented.
format = repo_opts.get('format')
if format is not None:
@@ -552,7 +557,7 @@ class RepoConfigLoader(object):
repo = RepoConfig(sname, optdict, local_config=local_config)
# Perform repos.conf sync variable validation
- portage.sync.validate_config(repo)
+ portage.sync.validate_config(repo, logging)
# For backward compatibility with locations set via PORTDIR and
# PORTDIR_OVERLAY, delay validation of the location and repo.name
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-09-05 21:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-16 15:46 [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/repository/, cnf/ Brian Dolbec
-- strict thread matches above, loose matches on Subject: below --
2014-09-05 21:15 Brian Dolbec
2014-09-03 23:36 Brian Dolbec
2014-06-16 22:45 Brian Dolbec
2014-06-16 15:18 Brian Dolbec
2014-05-02 23:13 Brian Dolbec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox