summaryrefslogtreecommitdiffstats
path: root/bin/repoman
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken reference to config.pmaskdict for repoman --without-mask.Zac Medico2010-08-271-1/+4
|
* repoman: Fix NameError on musedict when metadata is not available.Michał Górny2010-08-271-1/+1
|
* Add a IUSE.missing repoman category for packages that have a USEZac Medico2010-08-261-0/+1
| | | | | | conditional which references a flag that is not listed in IUSE. Also split out a Package._metadata_exception() method to handle IUSE.missing for *DEPEND and SRC_URI.
* Use dict.__iter__() instead of keys().Zac Medico2010-08-261-1/+1
|
* Make repoman ignore FEATURES=digest when in manifest-check mode.Zac Medico2010-08-261-1/+2
|
* Make the Atom class add 'EAPI.incompatible' category attributes toZac Medico2010-08-261-27/+0
| | | | | | | | InvalidAtom exceptions, make use_reduce() raise InvalidDependString exceptions that encapsulate InvalidAtom exceptions, and make Package._validate_deps() use the InvalidAtom categories when recording the invalid metadata for use by repoman. Also, remove the EAPI.incompatible code from repoman that's no longer used.
* Fix repoman's allvalid variable to account for more possibly invalidZac Medico2010-08-261-1/+4
| | | | ebuilds.
* Parse flag descriptions in repoman.utilities.parse_metadata_use().Michał Górny2010-08-261-5/+3
| | | | | | Grab the USE descriptions from metadata.xml within parse_metadata_use(). Instead of a plain flag list, return a dict containing both the flag names and their descriptions.
* Disable 'unused local USE-description' check if there are any invalids.Michał Górny2010-08-261-5/+9
| | | | | | If any of the ebuilds is considered invalid, the used_useflags list may not be complete. Thus, performing the test could cause a lot of useless noise.
* Remove unused myiuse variable in repoman.Zac Medico2010-08-261-5/+0
|
* Let use_reduce and Atom do EAPI checksSebastian Luther2010-08-261-3/+2
|
* Fix repoman to support FEATURES=digest (reportedly it used to workZac Medico2010-08-251-0/+1
| | | | but has stopped working since recent changes).
* Use Package.iuse.is_valid_flag() to account for implicit IUSE.Zac Medico2010-08-241-1/+1
|
* repoman: Let repoman check for flags missing from IUSESebastian Luther2010-08-241-1/+2
|
* repoman: check for deprecated eclasseswired2010-08-221-0/+2
| | | | | | compare the inherited eclasses to a list of deprecated eclasses. print QA warnings for each deprecated eclass found and suggest an alternative for those that have one.
* Bug #324075 - If the vcs doesn't preserve mtimes then disable theZac Medico2010-08-181-3/+7
| | | | | copyright date check unless the ebuild has just been added or modified.
* * Replace config._iuse_implicit_re with a callable _iuse_implicit_matchZac Medico2010-08-181-3/+2
| | | | | | | object that simply returns boolean, and update consumers. * Make check_required_use() take a callable for the iuse parameter, and pass in Package.use.is_valid_flag or iuse.__contains__ as appropriate.
* Temporarily disable portage.dep deprecation warnings for external apiZac Medico2010-08-171-0/+1
| | | | | consumers. Once the relevant api changes are in a portage release with stable keywords, make these warnings unconditional.
* Fix broken reference to 'myprovide' variable.Zac Medico2010-08-161-1/+1
|
* Pass token_class=portage.dep.Atom when parsing PROVIDE.Zac Medico2010-08-161-1/+2
|
* Pass token_class parameter if possible to use_reduceSebastian Luther2010-08-161-79/+73
|
* portage.dep: Integrate the functionality of flatten into use_reduceSebastian Luther2010-08-141-8/+9
|
* Implement use dependency defaultsSebastian Luther2010-08-131-0/+2
|
* Make REQUIRED_USE work again. Without paren_reduce this time.Sebastian Luther2010-08-111-1/+1
|
* Use eapi_has_required_use for REQUIRED_USE eapi checksSebastian Luther2010-08-111-2/+3
|
* Use explicit imports, to make pyflakes happy.Zac Medico2010-08-111-1/+2
|
* Introduce portage.eapi. Use it everywhere.Sebastian Luther2010-08-111-5/+6
|
* portage.dep.use_reduce: pass is_src_uri when neededSebastian Luther2010-08-101-1/+3
| | | | Remove the now unneded _src_uri_validate.
* portage.dep._dep_check_strict: Unused, removedSebastian Luther2010-08-101-2/+0
|
* portage.dep.use_reduce: Work on depstrings instead of paren_reduce'd dep arraysSebastian Luther2010-08-101-23/+6
| | | | | This change makes paren_reduce and paren_normalize calls for use_reduce redundant, resp. wrong. All consumers inside portage are adopted.
* Allow flags from IUSE_IMPLICIT in REQUIRED_USE. Move checks to resolution time.Sebastian Luther2010-08-101-1/+3
|
* Add repoman check for REQUIRED_USESebastian Luther2010-08-101-0/+17
|
* Detect if python xml support is enabled and bail out with anZac Medico2010-08-081-5/+12
| | | | appropriate when necessary.
* Bug #285191 - Add back the RDEPEND.implicit warning to detect the casesZac Medico2010-08-041-1/+1
| | | | | | where DEPEND is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment (prior to EAPI 4) and is forbidden by the QA team.
* repoman: Check if the prefix.eclass is inherited if eprefixify is used. ↵Sebastian Luther2010-08-041-0/+1
| | | | Thanks to Jeremy Olexa (darkside) for the initial patch.
* Remove 'filedir.missing' check info.Michał Górny2010-07-151-1/+0
| | | | It is not used anywhere, and don't seem to be a useful check at all.
* Use b'foo' instead of _unicode_encode() where appropriate.Zac Medico2010-07-141-3/+3
|
* Fix unicode handling in arguments and commit message handling (testedZac Medico2010-07-141-16/+19
| | | | with python2 and python3).
* Combine the two 'file.executable' checks into a single one.Michał Górny2010-07-141-4/+1
| | | | | | Instead of performing a single 'file.executable' check on auxiliary files and then another one on ebuild files, use a single check for them. This unifies the path output too.
* Fix 'repoman --ask' to not require an argument.Michał Górny2010-07-121-1/+1
| | | | | Overnight patches have the tendency to be bugged. Now 'repoman --ask' should work like a normal flag.
* Support '--ask' option to 'repoman commit'.Michał Górny2010-07-111-0/+8
|
* Make the commitmessage append clearer.Michał Górny2010-07-111-4/+5
| | | | | | Put an empty line between the real commit message and Portage version append. Instead of creating a second pair of parenthesis for the Manifest commit one, append it to the Portage version.
* Pass '--relative' to 'git diff-index'.Michał Górny2010-07-111-24/+5
| | | | | | Instead of using faulty prefix-stripping code on 'git diff-index' results, simply pass '--relative' to it. Thanks to that, git will do all the stripping itself and return only changes in the current directory.
* Introduce '--vcs' option for repoman.Michał Górny2010-07-111-7/+17
| | | | | | | The '--vcs' option can be used to override VCS autodetection and force using specific one. It can be especially useful if the work directory is ambiguous (i.e. there is more than one VCS control directory in the same directory).
* Rewrite VCS detection code in repoman.Michał Górny2010-07-111-11/+8
| | | | | | Move the real code into repoman.utilities. Support any repository depth for distributed SCMs -- i.e. Sunrise through git-svn. Bail out if more than one control version directory is found at the same depth.
* Show unevaluated atoms when displaying unsatisfied deps.Zac Medico2010-06-161-1/+2
|
* Bug #321871 - Check manifests in all modes and trigger 'manifest.bad'Zac Medico2010-06-151-9/+17
| | | | when appropriate.
* Fix breakage in changelog checks do to faulty vcs comparison (cvs andZac Medico2010-06-151-1/+1
| | | | svn need to be lowercase).
* Bug #324075 - Avoid erroneous 'Invalid Gentoo Copyright' warnings whenZac Medico2010-06-151-0/+5
| | | | | the vcs (git) does not support mtime preservation. Also, fix the same check to work for ebuilds wiht copyrigh beginning in 2011 and later.
* New mode: manifest-check - Checks Manifests for missing or incorrect digestsZac Medico2010-05-161-0/+10
|