summaryrefslogtreecommitdiffstats
path: root/pym/repoman
Commit message (Collapse)AuthorAgeFilesLines
* Bug #262365 - Punt the prepalldocs check until there is an alternativeZac Medico2009-03-172-11/+1
| | | | | | available in EAPI 3. svn path=/main/trunk/; revision=13118
* Loosen EMakeParallelDisabled.re so it can match more variations.Zac Medico2009-02-271-1/+1
| | | | svn path=/main/trunk/; revision=12719
* Add a new upstream.workaround check for hardcoded MAKEOPTS=-j1 (previouslyZac Medico2009-02-272-2/+9
| | | | | | | only emake -j1 was recognized). Thanks to Maciej Mrozowski <reavertm@poczta.fm> for this patch. svn path=/main/trunk/; revision=12718
* Add a new "portage.internal" warning for prepalldocs usage since the councilZac Medico2009-02-122-1/+11
| | | | | | | ruled that it shouldn't be used in ebuilds. Thanks to Petteri Räty <betelgeuse@g.o> for the initial patch. svn path=/main/trunk/; revision=12603
* Warn about WANT_AUTO(CONF|MAKE)=latest settings since they are redundant.Zac Medico2009-02-041-1/+13
| | | | | | Thanks to Petteri Räty <betelgeuse@g.o> for the initial patch. svn path=/main/trunk/; revision=12583
* Bug #255358 - Add new RDEPEND.implicit warning to detect the caes where DEPENDv2.2_rc23Zac Medico2009-01-181-1/+28
| | | | | | | is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment. svn path=/main/trunk/; revision=12529
* Adjust the EbuildNestedDie pattern so that it only matches when ( is surroundedv2.2_rc18Zac Medico2008-12-201-1/+1
| | | | | | | | by whitespace. This filters out false positives triggered by sed expressions in net-analyzer/amap-5.2-r1 and media-libs/libsndfile-1.0.17-r1. Thanks to Diego Pettenò <flameeyes@g.o> for reporting. svn path=/main/trunk/; revision=12265
* Simplify the InheritAutotools pattern by using \b to match word boundaries.Zac Medico2008-12-201-2/+2
| | | | svn path=/main/trunk/; revision=12264
* Bug #251591 - Adjust the InheritAutotools pattern to treat more things ↵Zac Medico2008-12-201-2/+2
| | | | | | | | similar to whitespace. Now it recognizes escaped newlines, || operators, and && operators. svn path=/main/trunk/; revision=12260
* Bug #250212 - Add a new 'upstream.workaround' qa category, and use it forZac Medico2008-12-082-2/+2
| | | | | | | the EMakeParallelDisabled check. Thanks to Mike Auty <ikelos@g.o> for this patch. svn path=/main/trunk/; revision=12179
* Bug #247548 - Remove 'last' and 'lfull' commands since nobody uses them.Zac Medico2008-11-231-1/+1
| | | | | | Thanks to Alec Warner <antarus@g.o>. svn path=/main/trunk/; revision=12049
* Make the EbuildQuote check filter out matches that appear to be an argumentZac Medico2008-11-141-2/+14
| | | | | | | | to a message command. For example: false || ewarn "foo $WORKDIR/bar baz" Thanks to Diego 'Flameeyes' Pettenò <flameeyes@g.o> for reporting this issue (currently triggered by ruby-prof-0.7.0.ebuild). svn path=/main/trunk/; revision=11913
* Make FindPortdir() fall back to have_profile_dir() checks if it can't matchZac Medico2008-11-111-6/+20
| | | | | | | | the current location with anything from PORTDIR_OVERLAY. Assume that an overlay will contain at least a "repo_name" file while a master repo (portdir) will contain at least a "profiles.desc" file. svn path=/main/trunk/; revision=11855
* Make FindPortdir() return (None, None, None) on failure, instead of raisingZac Medico2008-11-111-1/+1
| | | | | | a potentially ambiguous ValueError. svn path=/main/trunk/; revision=11853
* Inside have_profile_dir(), check for existence of profiles.desc since thatZac Medico2008-11-111-1/+1
| | | | | | makes a little more sense thatn checking for package.mask. svn path=/main/trunk/; revision=11852
* Add "subversion" to InheritAutotools._exempt_eclasses. Thanks to Arfrever.Zac Medico2008-10-231-1/+3
| | | | svn path=/main/trunk/; revision=11722
* Bug #243224 - Add an exemption to the inherit.autotools check for ebuilds thatZac Medico2008-10-221-0/+7
| | | | | | | inherit git.eclass since the GIT_BOOTSTRAP variable may be used to call one of autotools functions. svn path=/main/trunk/; revision=11719
* Adjust EMakeParallelDisabled.re to require at least one space after emake.Zac Medico2008-09-011-1/+1
| | | | svn path=/main/trunk/; revision=11482
* Check for calls to the deprecated bindnow-flags function. Thanks to DiegoZac Medico2008-08-312-1/+8
| | | | | | "Flameeyes" Pettenò for the suggestion. svn path=/main/trunk/; revision=11481
* Add a warning for emake -j1 calls which disable parallelization. Thanks toZac Medico2008-08-312-1/+9
| | | | | | Diego "Flameeyes" Pettenò for the suggestion. svn path=/main/trunk/; revision=11480
* * Fix parse_metadata_use() to raise ParseError instead of the ExpatErrorZac Medico2008-08-141-1/+17
| | | | | | | | that was reported by grobian. * Define __all__. svn path=/main/trunk/; revision=11407
* Remove unused parse_use_local_desc() function.Zac Medico2008-08-051-22/+0
| | | | svn path=/main/trunk/; revision=11330
* Bug #199788 - Make repoman parse GLEP 56 USE flag descriptions fromZac Medico2008-07-181-0/+33
| | | | | | | metadata.xml (in addition to use.local.desc). Thanks to Doug Goldstein <cardoe@g.o> for this patch. svn path=/main/trunk/; revision=11126
* Fix a few typos found with pyflakes. Thanks to Cardoe for reporting.Zac Medico2008-07-111-3/+5
| | | | svn path=/main/trunk/; revision=11018
* Pass a Package instance into LineCheck.new(), and use this to avoidZac Medico2008-06-191-10/+10
| | | | | | | passing the ebuild mtime into the EbuildHeader constructor (the mtime is given when the new() method is called). svn path=/main/trunk/; revision=10725
* Refactor the 'inherit.autotools' and 'IUSE.undefined' checksZac Medico2008-06-191-26/+66
| | | | | | into classes derived from LineCheck. svn path=/main/trunk/; revision=10723
* As suggested by remi`, make the 'inherit.autotools' check only ebuilds thatZac Medico2008-06-181-8/+6
| | | | | | | inherit the autotools eclass directly (rather than indirectly through an eclass such as apache-2 or x-modular). svn path=/main/trunk/; revision=10715
* Add an exemption for x-modular in the "inherit.autotools" check. Thanks toZac Medico2008-06-181-3/+4
| | | | | | remi` for reporting. svn path=/main/trunk/; revision=10714
* Fix the 'inherit.autotools' check to account for apache-2_src_unpack()Zac Medico2008-06-141-0/+5
| | | | | | calling eautoreconf. svn path=/main/trunk/; revision=10653
* Add additional functions such as eaclocal and eautoheader to theZac Medico2008-06-081-1/+5
| | | | | | inherit.autotools regex. Thanks to Arfrever. svn path=/main/trunk/; revision=10602
* Make repoman pass Package instances into run_checks(), so that the checksZac Medico2008-06-081-3/+3
| | | | | | can use the Package.mtime and inherited attributes. svn path=/main/trunk/; revision=10600
* Bug #224271 - New check 'IUSE.undefined', renamed from genericZac Medico2008-06-071-1/+1
| | | | | | 'ebuild.minorsyn'. svn path=/main/trunk/; revision=10593
* As suggested by Flameeyes, add a new 'inherit.autotools' check which warnsZac Medico2008-06-071-3/+13
| | | | | | | when autotools has been inherited but none of the eautomake, eautoconf or eautoreconf functions are called like they are supposed to be. svn path=/main/trunk/; revision=10592
* Bug #224271 - Add a 'IUSE is not defined' ebuild.minorsyn warning.Zac Medico2008-06-071-0/+7
| | | | svn path=/main/trunk/; revision=10589
* Add subversion support for repoman (patch by Fabien Groffen, ↵Marius Mauch2008-05-131-6/+15
| | | | | | http://archives.gentoo.org/gentoo-portage-dev/msg_b7080f212c3eb09c943a1ce5a7356f01.xml) svn path=/main/trunk/; revision=10325
* Fix the EbuildQuote check to ignore "echo" and the elog functions sinceZac Medico2008-04-271-1/+4
| | | | | | people might not want quotes in those cases. svn path=/main/trunk/; revision=10006
* Add a new "ebuild.patches" check for the PATCHES variable that's used byZac Medico2008-03-292-3/+10
| | | | | | | | 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. svn path=/main/trunk/; revision=9587
* Bug #212621 - Make the EbuildQuote check do quoting validation for miscZac Medico2008-03-251-1/+8
| | | | | | variables from games.eclass. svn path=/main/trunk/; revision=9507
* Various repoman fixes, plus a weird lockfile tracekback in news.Alec Warner2008-02-241-2/+4
| | | | svn path=/main/trunk/; revision=9377
* 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. svn path=/main/trunk/; revision=9365
* fix more trivial issues breaking repomanv2.2_pre2Marius Mauch2008-02-101-1/+2
| | | | svn path=/main/trunk/; revision=9328
* Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse.Zac Medico2008-02-081-1/+1
| | | | svn path=/main/trunk/; revision=9290
* - Remove ebuild.autotools repoman check since it produces lotsZac Medico2008-01-301-14/+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 svn path=/main/trunk/; revision=9235
* Pull more functions out of repoman proper and into repoman.utilitiesAlec Warner2008-01-271-2/+178
| | | | svn path=/main/trunk/; revision=9226
* import ordering, prevent errors from mucking up module namespace in checks, ↵Alec Warner2008-01-271-18/+26
| | | | | | fix typo from last commit, rename 'm' to autotools_match, fix spacing between classes svn path=/main/trunk/; revision=9225
* Move random functions out of repoman and into utilties.pyAlec Warner2008-01-261-0/+188
| | | | svn path=/main/trunk/; revision=9221
* Check for quoted ${A}. Thanks to maekke for this patch.Zac Medico2008-01-181-1/+12
| | | | svn path=/main/trunk/; revision=9206
* Add a new "ebuild.autotools" check for when ebuilds callZac Medico2008-01-111-4/+18
| | | | | | | autotools directly instead of using autotools.eclass. Thanks to Betelgeuse for the initial patch. svn path=/main/trunk/; revision=9179
* Make the EbuildQuote.missing_quotes regex accept singleZac Medico2007-11-101-2/+2
| | | | | | | | quotes where it accepts double quotes in order to eliminate some false positives. Thanks to Krzysiek Pawlik <nelchael@gentoo.org> for reporting. svn path=/main/trunk/; revision=8485
* Convert all the checks in repoman.checks to use a new LineCheckZac Medico2007-11-101-179/+106
| | | | | | | | | | | | | | | | | 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. svn path=/main/trunk/; revision=8483