summaryrefslogtreecommitdiffstats
path: root/bin/repoman
Commit message (Collapse)AuthorAgeFilesLines
* Remove SLOT.missing since SLOT.invalid handles that case now.v2.2_rc50Zac Medico2009-11-161-3/+2
| | | | svn path=/main/trunk/; revision=14824
* Bug #292820 - Make the Package constructor handle invalid SLOT values.Zac Medico2009-11-121-0/+1
| | | | svn path=/main/trunk/; revision=14819
* Add a parsedate() function which emulates rfc822.parsedate(), since python3Zac Medico2009-10-251-12/+28
| | | | | | doesn't have it. svn path=/main/trunk/; revision=14729
* Use calendar.timegm instead of time.mktime, for correct timezone handling.Zac Medico2009-10-251-1/+2
| | | | svn path=/main/trunk/; revision=14728
* Don't set mtime on downloaded metadata.dtd when using python3, since theZac Medico2009-10-251-5/+23
| | | | | | | rfc822.parsedate() function is not available. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=14725
* Use urllib.urlopen() instead of portage.fetch() for fetching metadata.dtd.Zac Medico2009-10-241-42/+68
| | | | svn path=/main/trunk/; revision=14709
* Bug #259697 - Update IUSE.invalid docs for glep 56. Thanks to Alec WarnerZac Medico2009-10-191-1/+1
| | | | | | <antarus@g.o> for this patch. svn path=/main/trunk/; revision=14681
* Bug #227225 - Add *DEPEND.badtilde warning for ~ operator used with non-zeroZac Medico2009-10-181-0/+12
| | | | | | revision. Thanks to David Leverton <levertond@googlemail.com> for this patch. svn path=/main/trunk/; revision=14629
* Bug #274870: Add file.size.fatal check in repoman.Arfrever Frehtes Taifersar Arahesis2009-10-071-3/+8
| | | | svn path=/main/trunk/; revision=14510
* Fix collision in variable name 'x'.Zac Medico2009-10-061-2/+2
| | | | svn path=/main/trunk/; revision=14505
* Add a 'digest.missing' check, for cases like mythtv where the eclass hasZac Medico2009-10-061-4/+11
| | | | | | | modified the SRC_URI and now the Manifest has missing digests. Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=14500
* Remove libtool from RDEPEND.suspect list, since libltdl.so is validly used byZac Medico2009-10-011-1/+0
| | | | | | | some packages at runtime. Thanks to Samuli Suominen <ssuominen@g.o> for reporting. svn path=/main/trunk/; revision=14470
* Fix formatting of sizes with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-251-1/+1
| | | | svn path=/main/trunk/; revision=14429
* Fix "TypeError: object of type 'filter' has no len()".Arfrever Frehtes Taifersar Arahesis2009-09-231-2/+2
| | | | svn path=/main/trunk/; revision=14395
* Bug #285979 - Replace references to CDEPEND with UNUSED_00, to make it clearZac Medico2009-09-231-1/+0
| | | | | | that this key really is unused. svn path=/main/trunk/; revision=14393
* Replace doct.keys() usage with __iter__(), since it behaves identically inZac Medico2009-09-221-4/+4
| | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14379
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-9/+9
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Use range() instead of xrange() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+2
| | | | | | (2to3-3.1 -f xrange -nw ${FILES}) svn path=/main/trunk/; revision=14317
* Define basestring as str when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+3
| | | | svn path=/main/trunk/; revision=14316
* Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+2
| | | | | | | | for compatibility with Python 3. (2to3-3.1 -f itertools -f itertools_imports -nw ${FILES}) svn path=/main/trunk/; revision=14314
* Update system imports for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-9/+8
| | | | svn path=/main/trunk/; revision=14294
* Update syntax of numbers for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-3/+3
| | | | | | (2to3-3.1 -f numliterals -nw ${FILES}) svn path=/main/trunk/; revision=14292
* Support print() function with Python 2 in some files.Arfrever Frehtes Taifersar Arahesis2009-09-201-0/+2
| | | | svn path=/main/trunk/; revision=14291
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-82/+82
| | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-15/+15
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Add dev-util/gperf to list of suspected run-time dependencies (bug #283357).Arfrever Frehtes Taifersar Arahesis2009-09-011-0/+1
| | | | svn path=/main/trunk/; revision=14175
* Many packages use setuptools at run-time, so remove it from list of ↵Arfrever Frehtes Taifersar Arahesis2009-08-291-1/+0
| | | | | | suspected run-time dependencies. svn path=/main/trunk/; revision=14170
* Add a LIVEVCS.unmasked category for ebuilds that have non-empty KEYWORDS andZac Medico2009-08-231-1/+26
| | | | | | | are not masked in the global package.mask. Thanks to Diego E. Pettenò for the suggestion. svn path=/main/trunk/; revision=14132
* Use _encodings['repo.content'] for decoding profiles.desc, ChangeLog,Zac Medico2009-08-191-5/+11
| | | | | | metadata.xml, and ebuilds. svn path=/main/trunk/; revision=14098
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-1/+1
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993
* Add a PDEPEND.suspect category.v2.2_rc35v2.2_rc34Zac Medico2009-08-041-3/+5
| | | | svn path=/main/trunk/; revision=13884
* Make the USE=test RDEPEND check (bug #236786) also apply to PDEPEND.Zac Medico2009-08-031-4/+5
| | | | svn path=/main/trunk/; revision=13882
* Bug #270040 - Make repoman parse the categories file from the overlay.Zac Medico2009-07-221-0/+8
| | | | svn path=/main/trunk/; revision=13850
* Always pass encodings='utf_8' to codecs.open(), since otherwise it canZac Medico2009-07-201-2/+4
| | | | | | | | | | return non-unicode strings (at least in some cases, observed with python-2.6.2). Don't use unicode in portage.util.getconfig() for now, since shlex doesn't seem to support it (spurious \0 characters). If we use unicode for config variables, it breaks shlex.split() calls on those variables due to the same issue (spurious \0 characters). svn path=/main/trunk/; revision=13845
* Use Package.invalid to generate *.syntax repoman errors for LICENSE,Zac Medico2009-06-281-14/+10
| | | | | | PROPERTIES, PROVIDE, and RESTRICT. svn path=/main/trunk/; revision=13728
* Bug #236786 - Warn about 'test?' USE conditionals in RDEPEND. Thanks toZac Medico2009-06-281-1/+5
| | | | | | Markus Meier <maekke@gentoo.org> for this patch. svn path=/main/trunk/; revision=13724
* Fix PROVIDE code since the Package class automatically evaluates USEZac Medico2009-06-261-2/+3
| | | | | | conditionals now. svn path=/main/trunk/; revision=13702
* Fix imports for _emerge submodules.Zac Medico2009-06-231-1/+2
| | | | svn path=/main/trunk/; revision=13678
* Allow missing ChangeLog when using git. We don't use ChangeLogs inZac Medico2009-06-171-2/+5
| | | | | | | | | distributed SCMs. It will be generated on server side from scm log, before package moves to the rsync server. This is needed because we try to avoid merge collisions. Thanks to Tomas Chvatal <scarabeus@gentoo.org> for this patch. svn path=/main/trunk/; revision=13651
* Add a new EAPI.definition check for cases in which EAPI is defined after anZac Medico2009-04-261-0/+1
| | | | | | inherit call. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=13401
* Exit unsuccessfully when in commit mode and nothing is found to commit. ThanksZac Medico2009-04-211-1/+1
| | | | | | to Jeremy Olexa <darkside@g.o> for the suggestion. svn path=/main/trunk/; revision=13379
* Handle IOError from codecs.open().Zac Medico2009-04-181-1/+1
| | | | svn path=/main/trunk/; revision=13360
* Support profiles.desc from overlays.Zac Medico2009-04-181-47/+66
| | | | svn path=/main/trunk/; revision=13359
* Support use.desc from overlays.Zac Medico2009-04-181-25/+36
| | | | svn path=/main/trunk/; revision=13358
* Use a new ProfileDesc class to handle the data for each profile listed inZac Medico2009-04-181-40/+39
| | | | | | profiles.desc. svn path=/main/trunk/; revision=13357
* Call realpath(repodir) so it's conistent with the value that pordbapi uses.Zac Medico2009-04-161-0/+1
| | | | | | Thanks to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=13349
* Create the myreporoot variable from portdir_overlay before doingZac Medico2009-04-121-3/+3
| | | | | | | | realpath(portdir_overlay) since otherwise symlinks break the assumptions. Thanks to Thomas Sachau <tommy@g.o> for reporting and troubleshooting. svn path=/main/trunk/; revision=13340
* Ensure that the correct PORTDIR setting is passed into the profile-specificZac Medico2009-04-121-0/+1
| | | | | | config constructors. svn path=/main/trunk/; revision=13335
* Pass the correct PORTDIR_OVERLAY value into the profile-specific configZac Medico2009-04-121-2/+8
| | | | | | constructor calls. svn path=/main/trunk/; revision=13326
* Add support to repoman for using layout.conf to control which repositoriesZac Medico2009-04-071-26/+33
| | | | | | | | | | are used to satisfy dependencies. Thanks to Alistair Bush <ali_bush@g.o> for the initial patch. See the "QA Overlay Layout support" thread on the gentoo-dev mailing list for more information: http://archives.gentoo.org/gentoo-dev/msg_33c61550b4ed2b7b25dd5a4110e1ec81.xml svn path=/main/trunk/; revision=13295