Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove python-2.6 StringIO.StringIO fallback. | Zac Medico | 2011-07-12 | 1 | -2/+1 |
| | | | | | | | | Since the io module in python-2.6 was broken when threading was disabled, we needed to fall back from io.StringIO to StringIO.StringIO in this case (typically just for Gentoo's stage1 and stage2 tarballs). Now that python-2.7 is stable in stages and we rely on io.open() being available, we can also rely on io.StringIO being available. | ||||
* | Migrate from codecs.open() to io.open(). | Zac Medico | 2011-07-10 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | The io.open() function is the same as the built-in open() function in python3, and its implementation is optimized in python-2.7 and later. In addition to the possible performance improvement, this also allows us to avoid any future compatibility issues with codecs.open() that may arise if it is delegated to the built-in open() function as discussed in PEP 400. The main caveat involved with io.open() is that TextIOWrapper.write() raises TypeError if given raw bytes, unlike the streams returned from codecs.open(). This is mainly an issue for python2 since literal strings are raw bytes. We handle this by wrapping TextIOWrapper.write() arguments with our _unicode_decode() function. Also, the atomic_ofstream class overrides the write() method in python2 so that it performs automatic coercion to unicode when necessary. | ||||
* | repoman: ElementTree.ParseError -> SyntaxError | Zac Medico | 2011-07-03 | 1 | -1/+1 |
| | | | | | The ElementTree.ParseError class is undocumented and isn't available in python-2.6, so use its SyntaxError base class instead. | ||||
* | repoman: fix broken set constructor usage | Zac Medico | 2011-06-24 | 1 | -1/+2 |
| | |||||
* | repoman: add new "dependency.unknown" warning | Zac Medico | 2011-06-24 | 1 | -0/+25 |
| | | | | | This checks for a dependency that refers to an unknown package (which may be provided by an overlay), as requested in bug #372789. | ||||
* | repoman: handle PermissionDenied from digestgen | Zac Medico | 2011-06-17 | 1 | -2/+7 |
| | | | | This will fix bug #371987. | ||||
* | repoman: only report allmasked if ebuilds exist | Zac Medico | 2011-06-16 | 1 | -1/+1 |
| | |||||
* | repoman: pass type_name to Package constructorv2.2.0_alpha35 | Zac Medico | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | repoman: make virtual.oldstyle a warning for now | Zac Medico | 2011-05-05 | 1 | -0/+1 |
| | | | | | This will give third-party repoman users some time to migrate their repos away old-style virtuals. | ||||
* | repoman: remove most old-style virtual checks | Zac Medico | 2011-05-01 | 1 | -45/+0 |
| | | | | | | | | | PROVIDE virtuals have been banned from Gentoo's tree (see bug #365505), so these checks aren't needed anymore. The PROVIDE.syntax check is kept in the Package class since PROVIDE is still supported for backward compatibility, and therefore invalid syntax can still have negative effects. This check can be removed if/when backward compatibilty is completely dropped. | ||||
* | repoman: Check for PROVIDE. | Ulrich Mueller | 2011-05-01 | 1 | -0/+5 |
| | | | | This will fix bug #365505. | ||||
* | repoman: cleanup gpgsignv2.2.0_alpha30 | Zac Medico | 2011-04-13 | 1 | -12/+23 |
| | |||||
* | Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage | Arfrever Frehtes Taifersar Arahesis | 2011-04-03 | 1 | -1/+1 |
|\ | |||||
| * | repoman: fix profiles.desc overlay path | Zac Medico | 2011-04-03 | 1 | -1/+1 |
| | | | | | | | | | | Thanks to Alexey Shvetsov <alexxy@gentoo.org> for reporting this issue and testing the fix. | ||||
* | | Support PORTAGE_GPG_SIGNING_COMMAND variable. | Arfrever Frehtes Taifersar Arahesis | 2011-04-03 | 1 | -12/+15 |
|/ | |||||
* | Minor improvements in gpgsign(). | Arfrever Frehtes Taifersar Arahesis | 2011-03-31 | 1 | -5/+4 |
| | | | | repoman_settings["PORTAGE_GPG_DIR"] is always set. | ||||
* | Simplify calculation of repoman_settings["PORTAGE_GPG_DIR"] in gpgsign(). | Arfrever Frehtes Taifersar Arahesis | 2011-03-30 | 1 | -5/+2 |
| | | | | os.path.expanduser() works even when HOME environment variable is not set. | ||||
* | Use os.path.expanduser() to simplify code. | Arfrever Frehtes Taifersar Arahesis | 2011-03-30 | 1 | -4/+1 |
| | |||||
* | repoman: add back portage.internal check | Zac Medico | 2011-02-25 | 1 | -0/+2 |
| | | | | | | This check got removed for bug #262365, but now that EAPI 4 is released we can add it back. Now it checks for ecompress/ecompressdir too (for bug #218347). | ||||
* | Recognize git-2.eclass as a live eclass. | Zac Medico | 2011-02-14 | 1 | -0/+1 |
| | |||||
* | repoman: add check for using offset vars with helpers | Fabian Groffen | 2011-01-30 | 1 | -0/+1 |
| | | | | | | | New check: NoOffsetWithHelpers. Checks whether helper functions, such as dodir and insinto, are used with offset variables either referring to the installation image (D, ED), the alternate root location (ROOT, EROOT), or the offset prefix (EPREFIX). | ||||
* | When killed by signal, return 128 + signum. | Zac Medico | 2011-01-15 | 1 | -3/+5 |
| | | | | | This is the same convention that bash uses for returncodes of processes that are killed by signals. | ||||
* | repoman: ignore deprecated profiles.desc entries | Zac Medico | 2010-12-18 | 1 | -0/+3 |
| | |||||
* | repoman: handle ElementTree.ParseError | Zac Medico | 2010-12-17 | 1 | -1/+1 |
| | |||||
* | repoman: fix broken masking checkv2.2.0_alpha5 | Zac Medico | 2010-11-24 | 1 | -1/+1 |
| | | | | This has been broken since 9ed6332f2015e41f072f897764f550c5574ea96f. | ||||
* | repoman: enable dep check with empty KEYWORDS | Zac Medico | 2010-11-22 | 1 | -12/+50 |
| | | | | | | Since no KEYWORDS are set, and those are normally used to decide which profiles to check, we use an empty profile with effective ACCEPT_KEYWORDS set to **. | ||||
* | repoman: add wxwidgets.eclassnotused (bug 305469) | Ryan Hill | 2010-11-13 | 1 | -0/+11 |
| | |||||
* | repoman: use slice to avoid IndexError | Zac Medico | 2010-10-27 | 1 | -1/+1 |
| | |||||
* | repoman: optimize svn keywords handling | Zac Medico | 2010-10-27 | 1 | -4/+7 |
| | |||||
* | repoman: avoid possible IndexError with svn props | Zac Medico | 2010-10-27 | 1 | -1/+2 |
| | |||||
* | Fix some typos and improve a message in repoman. | Arfrever Frehtes Taifersar Arahesis | 2010-10-23 | 1 | -6/+5 |
| | |||||
* | Bug #340475: Make repoman check if SVN keywords are enabled in svn:keywords. | Arfrever Frehtes Taifersar Arahesis | 2010-10-23 | 1 | -16/+24 |
| | | | | Add support for remaining keywords supported by SVN. | ||||
* | Allow repoman to commit files, which have changes only in SVN properties. | Arfrever Frehtes Taifersar Arahesis | 2010-10-23 | 1 | -3/+3 |
| | |||||
* | Fix indention error in repoman headerstring code.v2.2_rc94 | Zac Medico | 2010-10-11 | 1 | -3/+3 |
| | |||||
* | Invert repoman cvs logic for headerstring. | Zac Medico | 2010-10-11 | 1 | -1/+1 |
| | |||||
* | Don't look for $Header$ when using svn. | Michał Górny | 2010-10-11 | 1 | -17/+23 |
| | | | | | | Subversion doesn't expand $Header$, so look only for $Id$ if using subversion. In addition, the whole grepping code is now executed only for CVS and Subversion. | ||||
* | Revert fix for bug #339939, pending discussion. | Zac Medico | 2010-10-07 | 1 | -15/+0 |
| | | | | This reverts commit abb7c534eee48795354ae3ab1b17ef319bf5e6e3. | ||||
* | repoman: Don't count git snapshots as live. | Zac Medico | 2010-10-07 | 1 | -0/+15 |
| | | | | | This solves bug #339939 by searching for a EGIT_COMMIT variable definition. | ||||
* | Include gpg key in repoman commit message. | Zac Medico | 2010-10-06 | 1 | -1/+3 |
| | |||||
* | Fix a typo in a comment. | Zac Medico | 2010-09-28 | 1 | -1/+1 |
| | |||||
* | Fix breakage (from reposyntax branch) in repoman's ability to append | Zac Medico | 2010-09-28 | 1 | -1/+4 |
| | | | | the current repo to PORTDIR_OVERLAY. | ||||
* | Make repoman tolerate errors from utime() when fetching metadata.dtd. | Zac Medico | 2010-09-19 | 1 | -2/+9 |
| | |||||
* | Add virtual/linux-sources to repoman's RDEPEND.suspect check. | Zac Medico | 2010-09-17 | 1 | -0/+1 |
| | | | | http://archives.gentoo.org/gentoo-dev/msg_adb45dedc05bc023de23be90015e8629.xml | ||||
* | Bug #337180 - Add a --unmatched-removal option for stricter checking | Zac Medico | 2010-09-15 | 1 | -0/+4 |
| | | | | of package.mask and package.unmask files for unmatched removal atoms. | ||||
* | Make sure atoms in profiles follow the profiles EAPI | Sebastian Luther | 2010-09-13 | 1 | -1/+1 |
| | |||||
* | Make repoman disable FEATURES=unknown-features-warn for the profiles | Zac Medico | 2010-09-02 | 1 | -0/+4 |
| | | | | | it's checking, since it's confusing if these warnings are displayed without the user being told which profile they come from. | ||||
* | Fix broken reference to config.pmaskdict for repoman --without-mask. | Zac Medico | 2010-08-27 | 1 | -1/+4 |
| | |||||
* | repoman: Fix NameError on musedict when metadata is not available. | Michał Górny | 2010-08-27 | 1 | -1/+1 |
| | |||||
* | Add a IUSE.missing repoman category for packages that have a USE | Zac Medico | 2010-08-26 | 1 | -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 Medico | 2010-08-26 | 1 | -1/+1 |
| |