aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2016-03-16 10:10:40 -0700
committerBrian Dolbec <dolsen@gentoo.org>2016-03-16 10:10:40 -0700
commit9d3410068bd57cf10b73f6c63421529213bee656 (patch)
treed9990af74f25e995203e7bc0ffd6f4c9881578bf
parentrepoman: Migrate 'can_force' to the new Fuse class (diff)
downloadportage-9d3410068bd57cf10b73f6c63421529213bee656.tar.gz
portage-9d3410068bd57cf10b73f6c63421529213bee656.tar.bz2
portage-9d3410068bd57cf10b73f6c63421529213bee656.zip
repoman: Rough out an initial new data requirements listing in module_spec
-rw-r--r--pym/repoman/modules/scan/arches/__init__.py4
-rw-r--r--pym/repoman/modules/scan/depend/__init__.py14
-rw-r--r--pym/repoman/modules/scan/directories/__init__.py8
-rw-r--r--pym/repoman/modules/scan/eapi/__init__.py4
-rw-r--r--pym/repoman/modules/scan/ebuild/__init__.py12
-rw-r--r--pym/repoman/modules/scan/eclasses/__init__.py8
-rw-r--r--pym/repoman/modules/scan/fetch/__init__.py4
-rw-r--r--pym/repoman/modules/scan/keywords/__init__.py4
-rw-r--r--pym/repoman/modules/scan/manifest/__init__.py4
-rw-r--r--pym/repoman/modules/scan/metadata/__init__.py24
-rw-r--r--pym/repoman/modules/scan/mirrors/__init__.py4
-rw-r--r--pym/repoman/modules/scan/options/__init__.py4
-rw-r--r--pym/repoman/modules/scan/status/__init__.py4
-rw-r--r--pym/repoman/modules/scan/use/__init__.py4
14 files changed, 102 insertions, 0 deletions
diff --git a/pym/repoman/modules/scan/arches/__init__.py b/pym/repoman/modules/scan/arches/__init__.py
index d080c30aa..f8f941ca1 100644
--- a/pym/repoman/modules/scan/arches/__init__.py
+++ b/pym/repoman/modules/scan/arches/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['options', 'repo_settings', 'profiles'
+ ],
+ 'func_kwargs': {'ebuild': ,
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/depend/__init__.py b/pym/repoman/modules/scan/depend/__init__.py
index 9fd79707c..a0f2f9abd 100644
--- a/pym/repoman/modules/scan/depend/__init__.py
+++ b/pym/repoman/modules/scan/depend/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['qatracker', 'portdb'
+ ],
+ 'func_kwargs': {
+ },
},
'profile-module': {
'name': "profile",
@@ -27,6 +31,12 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['qatracker', 'portdb', 'profiles', 'options',
+ 'repo_settings', 'include_arches', 'caches',
+ 'repoman_incrementals', 'env', 'have', 'dev_keywords'
+ ],
+ 'func_kwargs': {
+ },
},
'unknown-module': {
'name': "unknown",
@@ -36,6 +46,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['qatracker',
+ ],
+ 'func_kwargs': {
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/directories/__init__.py b/pym/repoman/modules/scan/directories/__init__.py
index ec18d30c9..d50ace5ed 100644
--- a/pym/repoman/modules/scan/directories/__init__.py
+++ b/pym/repoman/modules/scan/directories/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['check'],
'func_kwargs': {
},
+ 'mod_kwargs': ['portdb', 'qatracker', 'repo_settings', 'vcs_settings',
+ ],
+ 'func_kwargs': {
+ },
},
'mtime-module': {
'name': "mtime",
@@ -27,6 +31,10 @@ module_spec = {
'functions': ['check'],
'func_kwargs': {
},
+ 'mod_kwargs': ['vcs_settings',
+ ],
+ 'func_kwargs': {
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/eapi/__init__.py b/pym/repoman/modules/scan/eapi/__init__.py
index 39bab4d55..63618aba0 100644
--- a/pym/repoman/modules/scan/eapi/__init__.py
+++ b/pym/repoman/modules/scan/eapi/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['check'],
'func_kwargs': {
},
+ 'mod_kwargs': ['qatracker', 'repo_settings'
+ ],
+ 'func_kwargs': {
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/ebuild/__init__.py b/pym/repoman/modules/scan/ebuild/__init__.py
index e712e4b4d..9cd49f835 100644
--- a/pym/repoman/modules/scan/ebuild/__init__.py
+++ b/pym/repoman/modules/scan/ebuild/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['portdb', 'qatracker', 'repo_settings'
+ ],
+ 'func_kwargs': {
+ },
},
'ebuild-module': {
'name': "ebuild",
@@ -27,6 +31,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['qatracker', 'repo_settings', 'vcs_settings', 'checks',
+ ],
+ 'func_kwargs': {
+ },
},
'multicheck-module': {
'name': "multicheck",
@@ -36,6 +44,10 @@ module_spec = {
'functions': ['check'],
'func_kwargs': {
},
+ 'mod_kwargs': ['qatracker', 'options'
+ ],
+ 'func_kwargs': {
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/eclasses/__init__.py b/pym/repoman/modules/scan/eclasses/__init__.py
index 126f2a679..c39589e15 100644
--- a/pym/repoman/modules/scan/eclasses/__init__.py
+++ b/pym/repoman/modules/scan/eclasses/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['check'],
'func_kwargs': {
},
+ 'mod_kwargs': ['qatracker', 'repo_metadata', 'repo_settings',
+ ],
+ 'func_kwargs': {
+ },
},
'ruby-module': {
'name': "ruby",
@@ -27,6 +31,10 @@ module_spec = {
'functions': ['check'],
'func_kwargs': {
},
+ 'mod_kwargs': ['qatracker'
+ ],
+ 'func_kwargs': {
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/fetch/__init__.py b/pym/repoman/modules/scan/fetch/__init__.py
index 8f8f3d8d9..303eb19ea 100644
--- a/pym/repoman/modules/scan/fetch/__init__.py
+++ b/pym/repoman/modules/scan/fetch/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['portdb', 'qatracker', 'repo_settings', 'vcs_settings',
+ ],
+ 'func_kwargs': {
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/keywords/__init__.py b/pym/repoman/modules/scan/keywords/__init__.py
index 12955a106..471f44720 100644
--- a/pym/repoman/modules/scan/keywords/__init__.py
+++ b/pym/repoman/modules/scan/keywords/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['prepare', 'check'],
'func_desc': {
},
+ 'mod_kwargs': ['qatracker', 'options', 'repo_metadata', 'profiles',
+ ],
+ 'func_kwargs': {
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/manifest/__init__.py b/pym/repoman/modules/scan/manifest/__init__.py
index 648336afe..00ab2e17e 100644
--- a/pym/repoman/modules/scan/manifest/__init__.py
+++ b/pym/repoman/modules/scan/manifest/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['check', 'create_manifest', 'digest_check'],
'func_kwargs': {
},
+ 'mod_kwargs': ['options', 'portdb', 'qatracker', 'repo_settings',
+ ],
+ 'func_kwargs': {
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/metadata/__init__.py b/pym/repoman/modules/scan/metadata/__init__.py
index f6197646f..90981d876 100644
--- a/pym/repoman/modules/scan/metadata/__init__.py
+++ b/pym/repoman/modules/scan/metadata/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['repo_settings', 'qatracker', 'options', 'metadata_dtd',
+ ],
+ 'func_kwargs': {
+ },
},
'ebuild-metadata': {
'name': "ebuild_metadata",
@@ -27,6 +31,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['qatracker',
+ ],
+ 'func_kwargs': {
+ },
},
'description-metadata': {
'name': "description",
@@ -36,6 +44,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['qatracker',
+ ],
+ 'func_kwargs': {
+ },
},
'license-metadata': {
'name': "license",
@@ -45,6 +57,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['qatracker', 'repo_metadata',
+ ],
+ 'func_kwargs': {
+ },
},
'restrict-metadata': {
'name': "restrict",
@@ -54,6 +70,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['qatracker',
+ ],
+ 'func_kwargs': {
+ },
},
'unused-metadata': {
'name': "unused",
@@ -63,6 +83,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['qatracker',
+ ],
+ 'func_kwargs': {
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/mirrors/__init__.py b/pym/repoman/modules/scan/mirrors/__init__.py
index 6bf7d2d33..8ae58b5d3 100644
--- a/pym/repoman/modules/scan/mirrors/__init__.py
+++ b/pym/repoman/modules/scan/mirrors/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['repo_settings', 'qatracker',
+ ],
+ 'func_kwargs': {
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/options/__init__.py b/pym/repoman/modules/scan/options/__init__.py
index 2d3d9d216..a5746ce67 100644
--- a/pym/repoman/modules/scan/options/__init__.py
+++ b/pym/repoman/modules/scan/options/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['is_forced'],
'func_desc': {
},
+ 'mod_kwargs': ['options',
+ ],
+ 'func_kwargs': {
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/status/__init__.py b/pym/repoman/modules/scan/status/__init__.py
index 634fa5557..a5eeb3e1c 100644
--- a/pym/repoman/modules/scan/status/__init__.py
+++ b/pym/repoman/modules/scan/status/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['check'],
'func_desc': {
},
+ 'mod_kwargs': ['vcs_settings', 'checks',
+ ],
+ 'func_kwargs': {
+ },
},
}
}
diff --git a/pym/repoman/modules/scan/use/__init__.py b/pym/repoman/modules/scan/use/__init__.py
index 80fa2134d..349980da8 100644
--- a/pym/repoman/modules/scan/use/__init__.py
+++ b/pym/repoman/modules/scan/use/__init__.py
@@ -18,6 +18,10 @@ module_spec = {
'functions': ['check', 'getUsedUseFlags'],
'func_desc': {
},
+ 'mod_kwargs': ['qatracker', 'uselist',
+ ],
+ 'func_kwargs': {
+ },
},
}
}