summaryrefslogtreecommitdiffstats
path: root/bin/repoman
Commit message (Collapse)AuthorAgeFilesLines
* Merge the Atom class and dbapi._iter_match() from trunk r10387 and r10394.Zac Medico2008-05-251-0/+1
| | | | | | Everything related to USE deps has been omitted for now. svn path=/main/branches/2.1.2/; revision=10403
* Add dev-util/ftjam to the RDEPEND.suspect list as per bug #221537, comment #3.Zac Medico2008-05-171-0/+1
| | | | | | Leaving dev-util/jam in place, in case it revives somehow. (trunk r10344) svn path=/main/branches/2.1.2/; revision=10352
* Skip blocker atoms for the RDEPEND.suspect check. (trunk r10335)Zac Medico2008-05-141-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=10336
* Bug #221537 - Add a new "RDEPEND.suspect" check for packages in RDEPEND thatZac Medico2008-05-141-0/+41
| | | | | | usually only belong in DEPEND. (trunk r10333) svn path=/main/branches/2.1.2/; revision=10334
* Fix the EbuildQuote check to ignore "echo" and the elog functions sinceZac Medico2008-04-281-1/+4
| | | | | | people might not want quotes in those cases. (trunk r10006) svn path=/main/branches/2.1.2/; revision=10011
* For repoman, only cache the metadata necessary for visibilityZac Medico2008-04-081-0/+5
| | | | | | checks in order to reduce memory consumption. (trunk r9743) svn path=/main/branches/2.1.2/; revision=9753
* Fix java.eclassesnotused logic. Thanks to Betelgeuse. (trunk r9732)Zac Medico2008-04-081-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=9750
* Fix typos. Thanks to Arfrever Frehtes Taifersar ArahesisZac Medico2008-03-301-1/+1
| | | | | | <Arfrever.FTA@GMail.Com>. (trunk r9632) svn path=/main/branches/2.1.2/; revision=9633
* Do not allow commit mode together with the --without-mask options.Zac Medico2008-03-301-2/+5
| | | | | | (trunk r9619) svn path=/main/branches/2.1.2/; revision=9620
* Add a new "ebuild.patches" check for the PATCHES variable that's used byZac Medico2008-03-291-3/+13
| | | | | | | | base_src_unpack() from base.eclass. This generates a warning if the variable is not defined as an array, since this is required for white space safety. Thanks to Betelgeuse for the initial patch. (trunk r9587) svn path=/main/branches/2.1.2/; revision=9599
* Don't trigger the 'java.eclassesnotused' on blocker atoms. (trunk r9586)Zac Medico2008-03-291-1/+5
| | | | svn path=/main/branches/2.1.2/; revision=9598
* Add a new "java.eclassesnotused" check for cases where DEPEND containsZac Medico2008-03-291-0/+9
| | | | | | | | virtual/jdk and and the appropriate java eclass has not been inherited (a violation of the java team's policy). Thanks to Betelgeuse for the initial patch. (trunk r9585) svn path=/main/branches/2.1.2/; revision=9597
* Bug #213629 - Use EAPI.incompatible in cases where EAPI=0 and a defaultZac Medico2008-03-281-2/+9
| | | | | | IUSE is encountered. svn path=/main/branches/2.1.2/; revision=9577
* Bug #213629 - Create an EAPI.incompatible category and use it in casesZac Medico2008-03-281-3/+12
| | | | | | where EAPI=0 and a slot atom is encountered. (trunk r9524) svn path=/main/branches/2.1.2/; revision=9576
* Bug #209418 - Add a new KEYWORDS.dropped check that compares keywordsZac Medico2008-03-281-1/+31
| | | | | | against the keywords of earlier ebuild versions within a slot. (trunk r9522) svn path=/main/branches/2.1.2/; revision=9575
* Bug #212509 - Display a note about the --without-mask option when thereZac Medico2008-03-281-0/+6
| | | | | | are masked packages. (trunk r9521) svn path=/main/branches/2.1.2/; revision=9574
* Bug #212509 - Implement a new --without-mask option that causes repoman toZac Medico2008-03-281-0/+3
| | | | | | behave as if there are no package.mask entries. (trunk r9520) svn path=/main/branches/2.1.2/; revision=9573
* Bug #212621 - Make the EbuildQuote check do quoting validation for miscZac Medico2008-03-281-1/+8
| | | | | | variables from games.eclass. (trunk r9507) svn path=/main/branches/2.1.2/; revision=9569
* Bug #211294 - Make repoman bail out if arch.list contains unrecognizedZac Medico2008-03-281-3/+12
| | | | | | | lines since we don't want people to commit with old versions of portage that don't support the current arch.list format. (trunk r9504) svn path=/main/branches/2.1.2/; revision=9568
* Remove IUSE.invalid from qawarnings since there's no reason forZac Medico2008-03-281-1/+0
| | | | | | it not to be fatal. Thanks to Betelgeuse. (trunk r9344) svn path=/main/branches/2.1.2/; revision=9529
* Bug #211294 - Make repoman ignore profiles labeled with anything otherZac Medico2008-02-271-0/+3
| | | | | | | than "stable" or "dev" in profiles.desc so that we can extend it with new labels such as "exp". (trunk r9389) svn path=/main/branches/2.1.2/; revision=9390
* Bug #211067 - Make the "portdir_overlay" and "mydir" variables containZac Medico2008-02-221-4/+6
| | | | | | | | | | | paths that are consistent wrt eachother regardless of any path irregularities that can be induced by symlinks. Consistency is achieved by regenerating one of the paths to ensure that both paths have the exact same mapping between inodes and paths. This consistency ensures that the path manipulations used to calculate "repolevel" will work as intended. (trunk r9365) svn path=/main/branches/2.1.2/; revision=9366
* Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse. (trunk r9290)Zac Medico2008-02-081-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9291
* Remove the manifest1 digest file removal code since it's no longerZac Medico2008-02-011-39/+0
| | | | | | needed. (trunk r9262) svn path=/main/branches/2.1.2/; revision=9263
* Unconditionally disable manifest1 compatibility since it's been droppedZac Medico2008-01-311-4/+1
| | | | | | from the main tree and nobody needs it anymore. (trunk r9252) svn path=/main/branches/2.1.2/; revision=9253
* - Remove ebuild.autotools repoman check since it produces lotsZac Medico2008-01-311-15/+1
| | | | | | | | | | | of false positives (bug #207104) and its hard to parse bash - Use QA_INTERCEPTORS in ebuild.sh to implement a runtime 'QA Notice' when autotools is called directly trunk r9235 svn path=/main/branches/2.1.2/; revision=9247
* Check for quoted ${A}. Thanks to maekke for this patch. (trunk r9206)Zac Medico2008-01-311-1/+12
| | | | svn path=/main/branches/2.1.2/; revision=9240
* Replace hardcoded value with max_desc_len. (trunk r9192)Zac Medico2008-01-121-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9193
* Bug #203887 - Make repoman recognize RESTRICT="installsources".Zac Medico2008-01-111-1/+2
| | | | | | (trunk r9190) svn path=/main/branches/2.1.2/; revision=9191
* Adjust the max DESCRIPTION.toolong length to 100 characters so thatZac Medico2008-01-111-2/+2
| | | | | | | it's not too small and only about 3% of packages will trigger it. (trunk r9186) svn path=/main/branches/2.1.2/; revision=9187
* Add a new "ebuild.autotools" check for when ebuilds callZac Medico2008-01-111-5/+19
| | | | | | | | autotools directly instead of using autotools.eclass. Thanks to Betelgeuse for the initial patch. (trunk r9179) svn path=/main/branches/2.1.2/; revision=9183
* Add a DESCRIPTION.toolong warning for when the DESCRIPTION line isZac Medico2008-01-111-0/+11
| | | | | | | over 80 characters long. Thanks to Betelgeuse for the patch. (trunk r9177) svn path=/main/branches/2.1.2/; revision=9181
* per bug 204468, remove old check from repoman (all ebuilds inZac Medico2008-01-111-26/+0
| | | | | | gentoo-x86 are migrated). (trunk r9144) svn path=/main/branches/2.1.2/; revision=9168
* Bug #204651 - Make repoman respect NOCOLOR=true. (trunk r9151)Zac Medico2008-01-061-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=9152
* Minor code readablity enhancements:Zac Medico2007-12-281-6/+8
| | | | | | | | | | * Use relative_path and full_path variables for files being checked instead of spreading code like x+"/files/"+y all over the place. * Use stat.S_IMODE with octal 0111 instead of hex 0x0248 in the file.executable checks. (trunk r9060) svn path=/main/branches/2.1.2/; revision=9074
* Bug #201498 - Use desktop-file-validate to validate *.desktopZac Medico2007-12-281-1/+27
| | | | | | | | files inside ${FILESDIR} and generate a "desktop.invalid" qa warning if an error is detected. Thanks to Betelgeuse for the initial patch. (trunk r9059) svn path=/main/branches/2.1.2/; revision=9073
* Fix broken handling of the tuple that's returned fromZac Medico2007-12-281-1/+1
| | | | | | verify_all(). Thanks to Betelgeuse. (trunk r9056) svn path=/main/branches/2.1.2/; revision=9072
* Eliminate redundant "notadded" error filtering. (trunk r9023)Zac Medico2007-12-211-7/+1
| | | | svn path=/main/branches/2.1.2/; revision=9024
* Bug #140180 - Ignore missing HOMEPAGE and LICENSE variables forZac Medico2007-12-191-1/+2
| | | | | | new-style virtual packages. (trunk r8965) svn path=/main/branches/2.1.2/; revision=8966
* Split out a format_qa_output() function to eliminate duplicate code.Zac Medico2007-12-151-59/+57
| | | | | | (trunk r8927 and r8930) svn path=/main/branches/2.1.2/; revision=8931
* Instead of all modes, only in commit mode save an extra copy of QAZac Medico2007-12-151-1/+3
| | | | | | output for display in $EDITOR. (trunk r8928) svn path=/main/branches/2.1.2/; revision=8929
* Save QA output so that it can be conveniently displayedZac Medico2007-12-151-13/+99
| | | | | | | | | | | | | | | | in $EDITOR while the user creates a commit message. Otherwise, the user would not be able to see this output once the editor has taken over the screen. Output is done through a formatter object where it is captured for later use. A file-like object that behaves something like the portage.output.colorize() function is used to transfor style identifiers from the formatter framework into actual console codes. (trunk r8925) svn path=/main/branches/2.1.2/; revision=8926
* Prompt the user before letting the editorZac Medico2007-12-141-0/+5
| | | | | | | | take over the screen so there is an opportunity to review any QA warnings. (trunk r8923) svn path=/main/branches/2.1.2/; revision=8924
* * Add support for multi-line commit message input by using EOFZac Medico2007-12-141-7/+84
| | | | | | | | | | | as a delimiter (Ctrl-d) instead of a new line. * Add support for getting a commit message using an editor defined by the EDITOR environment variable. (trunk r8919:8921) svn path=/main/branches/2.1.2/; revision=8922
* Fix the bug #198398 code from trunk to be compatible with the codeZac Medico2007-12-131-2/+2
| | | | | | in this branch. svn path=/main/branches/2.1.2/; revision=8919
* Use the BAD color class instead of hardcoded red. (trunk r8904)Zac Medico2007-12-131-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8905
* Bug #198398 - Make repoman bail out if support for RMD160 hashZac Medico2007-12-131-0/+18
| | | | | | creation appears to be missing. (trunk r8886:8888 and r8897) svn path=/main/branches/2.1.2/; revision=8898
* Bug #140180 - Never trigger a LICENSE.missing violation for old styleZac Medico2007-11-241-2/+4
| | | | | | virtuals since they don't directly install anything. (trunk r8645) svn path=/main/branches/2.1.2/; revision=8646
* Make 'full' the default mode, since 'scan' can be annoying when itZac Medico2007-11-201-4/+4
| | | | | | omits relevant info. (trunk r8499) svn path=/main/branches/2.1.2/; revision=8558
* Convert all the checks in repoman.checks to use a new LineCheckZac Medico2007-11-201-108/+90
| | | | | | | | | | | | | | | | | | | | | | | | | interface that takes a single line as an argument. This has at least a few of benefits: * Eliminates lots of redundant code * Error messages are ordered by line number across all checks The performance is slightly worse due to the increased number of method calls, but it's not really noticeable in comparison to the time consumed by dependency checks. Thanks to Petteri Räty <betelgeuse@gentoo.org> for the initial patch which I only made a few minor modifications to. (trunk r8483) Make the EbuildQuote.missing_quotes regex accept single quotes where it accepts double quotes in order to eliminate some false positives. Thanks to Krzysiek Pawlik <nelchael@gentoo.org> for reporting. (trunk r8485) svn path=/main/branches/2.1.2/; revision=8552