Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egencache --update-changelogs: escape CP regexp | Michał Górny | 2010-10-03 | 1 | -1/+1 |
| | |||||
* | egencache --update-changelogs: don't break change list on hyphens. | Michał Górny | 2010-10-03 | 1 | -2/+6 |
| | |||||
* | egencache --update-changelogs: strip leading CP from the log messages. | Michał Górny | 2010-10-03 | 1 | -1/+4 |
| | |||||
* | Add support for 'egencache --update-changelogs'. | Michał Górny | 2010-10-02 | 1 | -4/+141 |
| | |||||
* | Make egencache --update-use-local-desc use codecs.open() to write to | Zac Medico | 2010-08-28 | 1 | -14/+21 |
| | | | | use.local.desc (fixes possible unicode issues with python3). | ||||
* | For egencache --preserve-comments, probe comments in binary mode in | Zac Medico | 2010-08-28 | 1 | -9/+11 |
| | | | | | | order to avoid potential character encoding issues (both in terms of decoding and in calculating file position given variable-width character encodings like UTF-8. | ||||
* | egencache: Add comment preserving to --update-use-local-desc. | Michał Górny | 2010-08-28 | 1 | -5/+32 |
| | |||||
* | Support specifying an alternate output file for --update-use-local-desc. | Michał Górny | 2010-08-28 | 1 | -16/+31 |
| | |||||
* | Define a cmp work-alike function for use in the egencache | Zac Medico | 2010-08-27 | 1 | -5/+11 |
| | | | | | --update-use-local-desc code, since it's ugly to have so many repetitions of this construct. | ||||
* | Fix breakage in egencache --update-use-local-desc code. | Zac Medico | 2010-08-27 | 1 | -8/+21 |
| | |||||
* | Use cmp_sort_key() for python3 compatibility. | Zac Medico | 2010-08-27 | 1 | -5/+4 |
| | |||||
* | Support returning multiple flag descriptions when restrict is used. | Michał Górny | 2010-08-27 | 1 | -1/+28 |
| | | | | | | | Return a dict of dicts in parse_metadata_use(), with second-level keys being the restrict strings (or None when no restrict). When generating use.local.desc, use the description from the possibly-highest-matching atom. | ||||
* | Make egencache only show a warning about FEATURES=metata-transfer if the | Zac Medico | 2010-08-26 | 1 | -1/+1 |
| | | | | --update option is given. | ||||
* | Fix up error handling for egencache --update-use-local-desc. | Zac Medico | 2010-08-26 | 1 | -3/+10 |
| | |||||
* | egencache: Introduce the --update-use-local-desc action. | Michał Górny | 2010-08-26 | 1 | -2/+72 |
| | |||||
* | egencache: introduce the preliminary support for multiple actions. | Michał Górny | 2010-08-26 | 1 | -30/+45 |
| | | | | | | Regroup the options, splitting them into 'Actions', 'Common' and action-specific options. Always check whether the 'update' action was chosen. Support catching multiple return codes. | ||||
* | Add a wrapper around config.features that provides the following | Zac Medico | 2010-08-21 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | enhancements: * The FEATURES variable is automatically synchronized upon modification. * Modifications result in a permanent override that will cause the change to propagate to the incremental stacking mechanism in config.regenerate(). This eliminates the need to call config.backup_changes() when FEATURES is modified, since any overrides are guaranteed to persist despite calls to config.reset(). This allows cleanup of all code that overrides FEATURES, and also allows config.regenerate() to stack FEATURES such that special cases are not needed for package.env handling inside config.setcpv(). | ||||
* | Add a --portdir option, requested by Daniel Robbins. | Zac Medico | 2010-06-22 | 1 | -0/+6 |
| | |||||
* | For clarity, make egencache --help and man page refer to --config-root | Zac Medico | 2010-04-02 | 1 | -1/+2 |
| | | | | parameter as PORTAGE_CONFIGROOT. Thanks to Brian Harring. | ||||
* | Add back executable bits, accidentally removed in previous commit. | Zac Medico | 2010-03-24 | 1 | -0/+0 |
| | |||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 |
| | |||||
* | Fix deprecated reference to portdbapi.mysettings. | Zac Medico | 2010-02-05 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=15324 | ||||
* | Deprecate the first parameter of the portdbapi constructor since it is always | Zac Medico | 2010-01-30 | 1 | -1/+1 |
| | | | | | | the same as mysettings['PORTDIR']. svn path=/main/trunk/; revision=15281 | ||||
* | Add --tolerant option (already in use on master rsync mirror), requested by | Zac Medico | 2009-09-30 | 1 | -0/+5 |
| | | | | | | robbat2. svn path=/main/trunk/; revision=14469 | ||||
* | Replace doct.keys() usage with __iter__(), since it behaves identically in | Zac Medico | 2009-09-22 | 1 | -2/+2 |
| | | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14379 | ||||
* | Define long as int when Python 3 is used. | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=14343 | ||||
* | Use dict.(keys|values|items)() instead of ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -3/+3 |
| | | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327 | ||||
* | Support print() function with Python 2 in some files. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -0/+2 |
| | | | | svn path=/main/trunk/; revision=14291 | ||||
* | Update syntax of 'except' statements for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -7/+7 |
| | | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289 | ||||
* | Use isjustname() where appropriate. | Zac Medico | 2009-09-12 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=14236 | ||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 1 | -1/+1 |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993 | ||||
* | Add portage ImportError sys.path insertion. | Zac Medico | 2009-08-10 | 1 | -1/+8 |
| | | | | svn path=/main/trunk/; revision=13979 | ||||
* | Fix import for split _emerge.MetadataRegen module. | Zac Medico | 2009-06-23 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=13675 | ||||
* | Set local_config=False in config constructor calls, since egencache is similar | Zac Medico | 2009-04-11 | 1 | -2/+2 |
| | | | | | | | to repoman in the way that it's used to distribute something to other users and thus site-specific local configuration is irrelevant. svn path=/main/trunk/; revision=13323 | ||||
* | Show an error message when deletion of stale cache fails. | Zac Medico | 2009-04-11 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=13315 | ||||
* | Initialize self._trg_cache.ec inside the GenCache constructor. | Zac Medico | 2009-04-09 | 1 | -0/+5 |
| | | | | svn path=/main/trunk/; revision=13307 | ||||
* | Add a --repo option, allowing cache to be generated for overlays. | Zac Medico | 2009-04-06 | 1 | -3/+15 |
| | | | | svn path=/main/trunk/; revision=13292 | ||||
* | Always generate an error if the target cache contains an apparently invalid | Zac Medico | 2009-04-03 | 1 | -5/+13 |
| | | | | | | cpv. svn path=/main/trunk/; revision=13288 | ||||
* | If there are not ebuilds matching a argument, only generate an error if there | Zac Medico | 2009-04-03 | 1 | -10/+19 |
| | | | | | | are also no cache entries matching the argument. svn path=/main/trunk/; revision=13287 | ||||
* | Generate an error if there are no ebuilds found for a package that's | Zac Medico | 2009-04-03 | 1 | -0/+10 |
| | | | | | | specified on the commandline. svn path=/main/trunk/; revision=13282 | ||||
* | Add support for a EGENCACHE_DEFAULT_OPTS variable in make.conf. | Zac Medico | 2009-04-01 | 1 | -8/+28 |
| | | | | svn path=/main/trunk/; revision=13266 | ||||
* | Automatically enable FEATURES=metadata-transfer if it's not enabled, | Zac Medico | 2009-03-31 | 1 | -4/+8 |
| | | | | | | instead of bailing out. svn path=/main/trunk/; revision=13265 | ||||
* | Fix typo in comment. | Zac Medico | 2009-03-31 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13264 | ||||
* | Add parsing code for --jobs and --load-average. | Zac Medico | 2009-03-31 | 1 | -0/+31 |
| | | | | svn path=/main/trunk/; revision=13263 | ||||
* | Add a new egencache --rsync option which enables a stat collision workaround | Zac Medico | 2009-03-31 | 1 | -10/+41 |
| | | | | | | | | | | | | for cases in which the content of a cache entry changes and neither the file mtime nor size changes (preventing rsync from detecting changes). See bug #139134. This option should only be needed for distribution via something like rsync, which relies on timestamps and file sizes to detect changes. It's not needed with git since that uses a more thorough mechanism which allows it to detect changed inode numbers (described in racy-git.txt in the git technical docs). svn path=/main/trunk/; revision=13262 | ||||
* | Bug #261377 - Add a new 'egencache' tool to generate metadata cache for | Zac Medico | 2009-03-31 | 1 | -0/+205 |
distribution. It only have the most basic functionality now, and more features will be added later. Usage: egencache [options] --update [atom] ... Options: -h, --help show this help message and exit --update update metadata/cache/ (generate as necessary) --cache-dir=CACHE_DIR location of the metadata cache --config-root=CONFIG_ROOT location of portage config files --jobs=JOBS max ebuild processes to spawn --load-average=LOAD_AVERAGE max load allowed when spawning multiple jobs svn path=/main/trunk/; revision=13260 |