aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* repoman setup.py: Add the new cnf/qa_data cnf/linechecks itemsrepomanBrian Dolbec2018-03-291-0/+2
| | | | Closes: https://github.com/gentoo/portage/pull/202
* repoman linechecks/config.py: Move the errors loading to a new ↵Brian Dolbec2018-03-292-2/+52
| | | | | | | /usr/share/repoman/linechecks directory This new directory can be installed to by third party add on modules that extend the checks. We can also in future use these file to get loaclized translations.
* repoman qa_data.py: Move the qahelp loading to a new ↵Brian Dolbec2018-03-292-3/+152
| | | | | | | /usr/share/repoman/qa_data directory This new directory can be installed to by third party add on modules that extend the checks. We can also in future use these file to get loaclized translations.
* repoman: .travis.yml: pyyaml python module is needed for buildsEl Acheche Anis2018-03-291-0/+2
|
* repoman: repoman/pym/repoman/tests/runTests.py: Fix PEP8 E226El Acheche Anis2018-03-291-1/+1
|
* repoman: repoman/pym/repoman/tests/runTests.py: Fix PEP8 E261El Acheche Anis2018-03-291-1/+1
|
* repoman: repoman/pym/repoman/tests/runTests.py: Fix PEP8 E302El Acheche Anis2018-03-291-0/+1
|
* repoman: repoman/pym/repoman/tests/runTests.py: Fix PEP8 E401El Acheche Anis2018-03-291-1/+2
|
* module.py: Extend the module loader for API version checkingBrian Dolbec2018-03-291-2/+20
| | | | | | If provided with an iterable of compatibility versions, The controller will check the plugin modules module_spec 'version' variable is compatible with the base application.
* repoman: Initial adding file/module/API versionBrian Dolbec2018-03-2935-38/+77
|
* repoman: Remove the no longer used modules/scan/ebuild/checks.pyBrian Dolbec2018-03-291-1044/+0
|
* repoman: Convert multicheck module to the new linechecks sub-moduleBrian Dolbec2018-03-293-4/+9
|
* repoman: New linechecks module, workaroundBrian Dolbec2018-03-292-0/+45
|
* repoman: New linechecks module, whitespaceBrian Dolbec2018-03-293-0/+73
|
* repoman: New linechecks module, uselessBrian Dolbec2018-03-293-0/+67
|
* repoman: New linechecks module, useBrian Dolbec2018-03-292-0/+31
|
* repoman: New linechecks module, uriBrian Dolbec2018-03-292-0/+51
|
* repoman: New linechecks module, quotesBrian Dolbec2018-03-293-0/+129
|
* repoman: New linechecks module, portageBrian Dolbec2018-03-292-0/+64
|
* repoman: New linechecks module, phasesBrian Dolbec2018-03-292-0/+105
|
* repoman: New linechecks module, patchesBrian Dolbec2018-03-292-0/+37
|
* repoman: New linechecks module, nestedBrian Dolbec2018-03-293-0/+47
|
* repoman: New linechecks module, helpersBrian Dolbec2018-03-292-0/+43
|
* repoman: New linechecks module, gentoo_headerBrian Dolbec2018-03-292-0/+70
|
* repoman: New linechecks module, emakeBrian Dolbec2018-03-292-0/+50
|
* repoman: New linechecks module, eapiBrian Dolbec2018-03-293-0/+170
|
* repoman: New linechecks module, doBrian Dolbec2018-03-292-0/+37
|
* repoman: New linechecks module, deprecatedBrian Dolbec2018-03-293-0/+144
|
* repoman: New linechecks module, dependBrian Dolbec2018-03-292-0/+60
|
* repoman: New linechecks module, assignmentBrian Dolbec2018-03-292-0/+58
|
* repoman: Initial creation of a new linechecks sub module plugin systemBrian Dolbec2018-03-294-0/+350
| | | | | This new module system will be for splitting the multicheck module checks into a fully configurable, plugable system.
* repoman: Update modules/scan/module.py for linechecks config additionBrian Dolbec2018-03-291-3/+7
|
* repoman: Update qa_data.py to use the new load_config() utilityBrian Dolbec2018-03-291-18/+3
|
* repoman: Add a new config.py file with config loading utilitiesBrian Dolbec2018-03-291-0/+151
| | | | | These include recursively merging of multiple yaml files. They are needed for masters stacking.
* repoman: Move errors data to repo metadata/repoman/linechecks.yamlBrian Dolbec2018-03-291-53/+0
|
* repoman: Update repo.eapi.deprecated to repo.eapi-deprecatedBrian Dolbec2018-03-291-2/+2
| | | | Updated to match the new yaml config system definition.
* repoman: qa_data.py: Make it use masters stackingBrian Dolbec2018-03-291-11/+21
| | | | | | Update logging message with 'QAData: ' prefix Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* repoman: scanner.py: Update module loading to use masters_listBrian Dolbec2018-03-291-3/+1
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* repoman: repos.py: Add masters_listBrian Dolbec2018-03-291-1/+9
| | | | | | Use masters_list for loading QAData config. Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* repoman: modules/scan/module.py: Prefix logging messagesBrian Dolbec2018-03-291-3/+3
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* repoman: modules/scan/metadata: Add missed mod_kwargs 'repo_settings'Brian Dolbec2018-03-291-1/+1
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* repoman: Create a new ModuleConfig classBrian Dolbec2018-03-292-49/+118
| | | | | | | | | | | | | This class will load the module configuration data from the target repo. Move the Modules class handling code to this new class. Update scanner.py to use the new ModuleConfig class for Modules class calls. Move the hard-coded loop lists to use the ModuleConfig instance configure/dynamically determined lists. TODO: add masters inheritance config stacking. Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* repoman: modules/scan/*: Add module_runsIn spec variableBrian Dolbec2018-03-2910-0/+16
| | | | | | This variable will be used to help determine which process loops to run the modules in. This is summary data taken from the runIn*()'s defined in the target eclasses containing the checks.
* portage/module.py: Add a generic get_spec()Brian Dolbec2018-03-291-6/+21
| | | | | | | This new function gets any arbitrary spec value. The other get_* functions could be optimized to return the get_spec result instead. This would reduce code duplication. Replace 'was' with 'is' in error messages.
* repoman: main.py: Remove unused InvalidStateError importBrian Dolbec2018-03-291-1/+0
|
* repoman: Update modules for the new QAData classBrian Dolbec2018-03-299-21/+23
| | | | | | Rather than direct import, now the QAData instance is accessed via repo_settings. Add repo_settings need to all modules requiring QAData access.
* repoman: Move qa_data initialization and loadingBrian Dolbec2018-03-294-20/+29
| | | | | | | | | Move the new QAData class instance init to repoman_main(). parse_args() remove unused qahelp parameter. qa_tracker.py: Add default qacats and qawarnings parameters as None. These will be assigned later due to circular init references. repos.py: Perform the QAData class loading and complete intialization assignments.
* qa_data.py: Initial move of all configurable data to the repoBrian Dolbec2018-03-291-359/+77
| | | | All this data was ported to a metadata/repoman/qa_data.yml file.
* depgraph._serialize_tasks: resolve portage/repoman blockers (bug 651936)Zac Medico2018-03-291-5/+7
| | | | | | | | | | | When ensuring that all runtime dependencies are installed before a new instance of portage, ignore uninstalls. This makes it possible to solve a blocker between a new version of portage and an older version of repoman, where an uninstall task for the older version of repoman appears in the runtime dependencies of the new instance of portage. Bug: https://bugs.gentoo.org/651936
* repoman man/repoman.1: Add "BEHAVIOR" section (fix bug 650520)zlg2018-03-291-1/+7
| | | | | | | | | | | | | The manpage references "directory tree", but doesn't explicitly outline the expected behavior when run anywhere above the package directory level. Exact name of section, location within the manpage, and/or wording open to suggestions. Bug: https://bugs.gentoo.org/650520 Requested-by: zlg <zlg@gentoo.org> Signed-off-by: zlg <zlg@gentoo.org>