summaryrefslogtreecommitdiffstats
path: root/bin/repoman
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Bug #262365 - Punt the prepalldocs check until there is an alternativeZac Medico2009-03-171-2/+0
| | | | | | available in EAPI 3. svn path=/main/trunk/; revision=13118
* Bug #262365 - Make the "portage.internal" category (prepalldocs check) aZac Medico2009-03-131-0/+1
| | | | | | warning instead of fatal. svn path=/main/trunk/; revision=13109
* Make manifest mode with --force option cause existing digests to be replacedZac Medico2009-03-091-0/+39
| | | | | | | | | | | | for any files that exist in ${DISTDIR}. This provides an alternative to ebuild --force manifest for updating existing distfiles digests. Digests are assumed to be corect for files that do not exist in ${DISTDIR} since the user could simply remove the whole Manifest if they wanted to regenerate digests for all files (and it's safer to regenerate as few as possible because it's less probably that a valid digest will get replaced by an invalid one). svn path=/main/trunk/; revision=12802
* When checking ebuild content, use codecs.open() to force utf_8 encoding forZac Medico2009-02-281-7/+11
| | | | | | py3k compatibility (all ebuilds should have utf_8 encoding). svn path=/main/trunk/; revision=12733
* Fix StringIO imports so that 2to3 can handle them. Also, replace shlex +Zac Medico2009-02-201-3/+3
| | | | | | StringIO usage with shlex.split() where appropriate. svn path=/main/trunk/; revision=12662
* For compatibility with python-3.0, open files in text mode where appropriate.Zac Medico2009-02-191-2/+2
| | | | svn path=/main/trunk/; revision=12642
* Use a regular expression for the file.name check. This replaces some oddZac Medico2009-02-191-15/+12
| | | | | | map() usage that 2to3 warns about. svn path=/main/trunk/; revision=12638
* Add a new "portage.internal" warning for prepalldocs usage since the councilZac Medico2009-02-121-0/+1
| | | | | | | 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
* Use portage.util.cmp_sort_key for python-3.0 compatibility.Zac Medico2009-02-031-2/+2
| | | | svn path=/main/trunk/; revision=12573
* Bug #255358 - Add new RDEPEND.implicit warning to detect the caes where DEPENDv2.2_rc23Zac Medico2009-01-181-0/+2
| | | | | | | is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment. svn path=/main/trunk/; revision=12529
* Fix false positive in the 'unused local USE-description' warning. Thanks toZac Medico2009-01-161-1/+1
| | | | | | Alexis Ballier <aballier@g.o> for reporting. svn path=/main/trunk/; revision=12524
* Identify which package has unused local USE descriptions, in case more thanZac Medico2009-01-161-1/+2
| | | | | | one package is being scanned. Thanks to Thomas Sachau <tommy@g.o> for reporting. svn path=/main/trunk/; revision=12523
* Drop the kernel version from the commit message for all platforms. Thanks toZac Medico2009-01-141-2/+0
| | | | | | Fabian Groffen <grobian@g.o> for the suggestion. svn path=/main/trunk/; revision=12519
* Don't show the running Linux kernel version in the commit message, since itZac Medico2009-01-141-1/+3
| | | | | | | might leak information that would be useful to attackers. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=12518
* Fix a TypeError which occurs in pretend commit mode when vcs is None. ThanksZac Medico2009-01-111-1/+6
| | | | | | to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=12426
* Add a new 'metadata.warning' category and a check which detects local USEZac Medico2009-01-101-0/+12
| | | | | | | descriptions that are not used in any ebuilds. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=12413
* Add some blank lines around the messages that suggest --without-mask andZac Medico2009-01-081-5/+16
| | | | | | --include-dev. Thanks to Ryan Hill <dirtyepic@g.o> for the suggestion. svn path=/main/trunk/; revision=12400
* Handle tree conflicts in svn status output, new in subversion 1.6. Thanks toZac Medico2008-12-291-0/+3
| | | | | | Arfrever Frehtes Taifersar Arahesis for reporting. svn path=/main/trunk/; revision=12368
* Fix 'TypeError: not all arguments converted during string formatting'Zac Medico2008-12-291-2/+2
| | | | | | | triggered by repoman -v. Thanks to Javier Villavicencio <the_paya@g.o> for reporting. svn path=/main/trunk/; revision=12366
* Bug #253002 - Add a new variable.invalidchar check for metadata variables thatZac Medico2008-12-291-0/+14
| | | | | | contain characters that are not part of the ASCII character set. svn path=/main/trunk/; revision=12365
* Bug #252727 - Use `git diff-index --name-only --diff-filter=M HEAD` insteadZac Medico2008-12-281-7/+18
| | | | | | | | | of `git ls-files -m --with-tree=HEAD` since the latter doesn't behave like we want for files that have been added to the index. Also, use `git diff-index` instead of `git diff` since the latter is considered a high-level "porcelain" command which means that it's interface may not be reliable. svn path=/main/trunk/; revision=12359
* Bug #252304 - Restore the -V/--version option.Zac Medico2008-12-241-0/+7
| | | | svn path=/main/trunk/; revision=12293
* Bug #250212 - Add a new 'upstream.workaround' qa category, and use it forZac Medico2008-12-081-1/+3
| | | | | | | the EMakeParallelDisabled check. Thanks to Mike Auty <ikelos@g.o> for this patch. svn path=/main/trunk/; revision=12179
* It's not safe to use the git commit -a option since there mightZac Medico2008-12-031-0/+23
| | | | | | | | | | be some modified files elsewhere in the working tree that the user doesn't want to commit. Therefore, call git update-index in order to ensure that the index is updated with the latest versions of all new and modified files in the relevant portion of the working tree. svn path=/main/trunk/; revision=12142
* When calling `git ls-files -m` to list modified files, use --with-tree=HEADZac Medico2008-12-031-2/+2
| | | | | | | | | | | so that differences from the most recent commit are given instead of differences from the index which is used for commit staging purposes. This is required since otherwise files that have been added via `git add` (such as echangelog does with the ChangeLog) won't show up in the list of modified files due to being unmodified relative to the index. Thanks to Christian Ruppert (idl0r) for reporting. svn path=/main/trunk/; revision=12140
* Eliminate redundant Manifest separation code by combining mychanged + mynew ↵Zac Medico2008-11-261-13/+4
| | | | | | sooner. svn path=/main/trunk/; revision=12098
* Remove redundant reference to 'mynew' since 'myupdates' already contains ↵Zac Medico2008-11-261-2/+2
| | | | | | those files. svn path=/main/trunk/; revision=12096
* Bug #248464 - With git, there's never any keyword expansion, so there'sZac Medico2008-11-261-6/+20
| | | | | | | no need to regenerate manifests and all files will be committed in one big commit at the end. svn path=/main/trunk/; revision=12094
* Bug #247548 - Remove 'last' and 'lfull' commands since nobody uses them.Zac Medico2008-11-231-74/+2
| | | | | | Thanks to Alec Warner <antarus@g.o>. svn path=/main/trunk/; revision=12049