summaryrefslogtreecommitdiffstats
path: root/bin/repoman
Commit message (Collapse)AuthorAgeFilesLines
...
* repoman: use the repodir variable moreZac Medico2011-09-141-9/+4
|
* repoman: fix KeyError from digestgen with symlinkZac Medico2011-09-141-0/+7
|
* metadata/layout.conf: "sign-manifests = false"Zac Medico2011-09-121-4/+6
| | | | | | This allows repos to disable manifest signatures, which is useful if they want to prevent merge conflicts like those that thin-manifests is designed to prevent.
* repoman: don't sign thin manifestsZac Medico2011-09-121-3/+9
| | | | | Thin manifests imply reliance on the VCS for file integrity, which implies that manifest signatures are not needed.
* Bind all manifest access through repoconfigsBrian Harring2011-09-121-2/+6
| | | | | This enables controling the behaviour (creation and validation) per repo, and while mildly ugly, refactors in the right direction.
* repoman: fix a typo in the file.executable descZac Medico2011-09-101-1/+1
|
* Fix repoman dependency.unknown to use xmatch.v2.2.0_alpha53Zac Medico2011-09-031-11/+12
| | | | This solves the issues discussed in bug #381087, comment #8.
* repoman: enable dependency.unknown for blockersZac Medico2011-08-301-3/+2
| | | | This will fix bug #381087.
* repoman: add a simple unit testZac Medico2011-08-251-5/+6
|
* python3.2 fixes: ResourceWarning: unclosed fileZac Medico2011-08-251-2/+7
|
* repoman: tweak --if-modified help outputv2.2.0_alpha51Zac Medico2011-08-121-0/+1
|
* repoman: warn when --if-modified finds nothingZac Medico2011-08-121-1/+10
|
* repoman: add --if-modified option to check lessZac Medico2011-08-101-0/+15
| | | | | | This is useful if you want to do a repo-level or category-level commit but you only want to run checks for the packages that have uncommitted modifications.
* Remove python-2.6 StringIO.StringIO fallback.Zac Medico2011-07-121-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 Medico2011-07-101-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 -> SyntaxErrorZac Medico2011-07-031-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 usageZac Medico2011-06-241-1/+2
|
* repoman: add new "dependency.unknown" warningZac Medico2011-06-241-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 digestgenZac Medico2011-06-171-2/+7
| | | | This will fix bug #371987.
* repoman: only report allmasked if ebuilds existZac Medico2011-06-161-1/+1
|
* repoman: pass type_name to Package constructorv2.2.0_alpha35Zac Medico2011-05-231-1/+1
|
* repoman: make virtual.oldstyle a warning for nowZac Medico2011-05-051-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 checksZac Medico2011-05-011-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 Mueller2011-05-011-0/+5
| | | | This will fix bug #365505.
* repoman: cleanup gpgsignv2.2.0_alpha30Zac Medico2011-04-131-12/+23
|
* Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portageArfrever Frehtes Taifersar Arahesis2011-04-031-1/+1
|\
| * repoman: fix profiles.desc overlay pathZac Medico2011-04-031-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 Arahesis2011-04-031-12/+15
|/
* Minor improvements in gpgsign().Arfrever Frehtes Taifersar Arahesis2011-03-311-5/+4
| | | | repoman_settings["PORTAGE_GPG_DIR"] is always set.
* Simplify calculation of repoman_settings["PORTAGE_GPG_DIR"] in gpgsign().Arfrever Frehtes Taifersar Arahesis2011-03-301-5/+2
| | | | os.path.expanduser() works even when HOME environment variable is not set.
* Use os.path.expanduser() to simplify code.Arfrever Frehtes Taifersar Arahesis2011-03-301-4/+1
|
* repoman: add back portage.internal checkZac Medico2011-02-251-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 Medico2011-02-141-0/+1
|
* repoman: add check for using offset vars with helpersFabian Groffen2011-01-301-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 Medico2011-01-151-3/+5
| | | | | This is the same convention that bash uses for returncodes of processes that are killed by signals.
* repoman: ignore deprecated profiles.desc entriesZac Medico2010-12-181-0/+3
|
* repoman: handle ElementTree.ParseErrorZac Medico2010-12-171-1/+1
|
* repoman: fix broken masking checkv2.2.0_alpha5Zac Medico2010-11-241-1/+1
| | | | This has been broken since 9ed6332f2015e41f072f897764f550c5574ea96f.
* repoman: enable dep check with empty KEYWORDSZac Medico2010-11-221-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 Hill2010-11-131-0/+11
|
* repoman: use slice to avoid IndexErrorZac Medico2010-10-271-1/+1
|
* repoman: optimize svn keywords handlingZac Medico2010-10-271-4/+7
|
* repoman: avoid possible IndexError with svn propsZac Medico2010-10-271-1/+2
|
* Fix some typos and improve a message in repoman.Arfrever Frehtes Taifersar Arahesis2010-10-231-6/+5
|
* Bug #340475: Make repoman check if SVN keywords are enabled in svn:keywords.Arfrever Frehtes Taifersar Arahesis2010-10-231-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 Arahesis2010-10-231-3/+3
|
* Fix indention error in repoman headerstring code.v2.2_rc94Zac Medico2010-10-111-3/+3
|
* Invert repoman cvs logic for headerstring.Zac Medico2010-10-111-1/+1
|
* Don't look for $Header$ when using svn.Michał Górny2010-10-111-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 Medico2010-10-071-15/+0
| | | | This reverts commit abb7c534eee48795354ae3ab1b17ef319bf5e6e3.