Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixdbentries: add deprecation warning | Zac Medico | 2012-11-15 | 1 | -0/+5 |
| | | | | It's unused since commit c974a023882485b8eeae35bac35c1f00d1a0725b. | ||||
* | update_dbentry: avoid self-blocker, bug #367215 | Zac Medico | 2012-11-14 | 1 | -1/+11 |
| | |||||
* | update_dbentry: add parent arg for bug #367215 | Zac Medico | 2012-11-13 | 1 | -5/+10 |
| | |||||
* | update.py: cleanup imports | Zac Medico | 2012-09-19 | 1 | -5/+2 |
| | |||||
* | update_dbentry: fix "move" to translate atom[use] | Zac Medico | 2012-09-19 | 1 | -12/+19 |
| | |||||
* | update_dbentry: improve slotmove support | Zac Medico | 2012-09-19 | 1 | -7/+39 |
| | | | | | This could be especially useful for "built" slot operator deps, in order to avoid having a slotmove trigger unnecessary rebuilds. | ||||
* | slotmove: update comment about EAPI 4-slot-abiv2.2.0_alpha120 | Zac Medico | 2012-07-18 | 1 | -3/+1 |
| | |||||
* | portage.update: use isvalidatom for EAPI check | Zac Medico | 2012-07-17 | 1 | -6/+7 |
| | |||||
* | move: respect EAPI wrt dots_in_PN, bug #426476 | Zac Medico | 2012-07-17 | 1 | -4/+10 |
| | |||||
* | Propagate EAPI for update_dbentry (bug #426476). | Zac Medico | 2012-07-17 | 1 | -4/+4 |
| | |||||
* | slotmove: fix handling for EAPI 4-slot-abiv2.2.0_alpha118 | Zac Medico | 2012-07-13 | 1 | -1/+22 |
| | | | | | | | | This is just a really minimal fix, in order to prevent slotmove from behaving incorrectly with packages that use EAPI 4-slot-abi. Any slotmove commands that try so specify a sub-slot are treated as invalid for now, since that will required additional EAPI conditional logic, as reported in bug #426476. | ||||
* | portage.update.fixdbentries(): Fix ResourceWarnings with Python 3.2. | Arfrever Frehtes Taifersar Arahesis | 2012-02-16 | 1 | -2/+3 |
| | |||||
* | parse_updates: filter invalid for bug #388187 | Zac Medico | 2011-10-23 | 1 | -0/+5 |
| | |||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-28 | 1 | -2/+7 |
| | |||||
* | python3.2 fixes: ResourceWarning: unclosed file | Zac Medico | 2011-08-24 | 1 | -3/+4 |
| | |||||
* | Migrate from codecs.open() to io.open(). | Zac Medico | 2011-07-10 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2011-05-15 | 1 | -2/+2 |
| | |||||
* | grab_updates: return all after first modified | Zac Medico | 2011-01-25 | 1 | -3/+11 |
| | | | | | | | This ensures that all relevant updates are returned for cases in which the destination package of an earlier move corresponds to the source package of a move that comes somewhere later in the entire sequence of files. | ||||
* | In update_config_files(), add a comment line showing a package move | Zac Medico | 2010-09-09 | 1 | -1/+14 |
| | | | | | that has been applied. This is intended to reduce the risk given that /etc/portage is in CONFIG_PROTECT_MASK, as discussed in bug | ||||
* | Make recursive grablines() ignore the same directories as | Zac Medico | 2010-08-23 | 1 | -2/+3 |
| | | | | portage.listdir(), and do the same for update_config_files(). | ||||
* | Bug #309907 - Update more config files for package moves: | Zac Medico | 2010-08-22 | 1 | -2/+6 |
| | | | | package.accept_keywords, package.env, and package.properties. | ||||
* | Make update_config_files() take a dict of {repo_name: list} since it's more | Zac Medico | 2010-08-01 | 1 | -20/+33 |
| | | | | | | efficient this way, and this function can't be called separately for each repo if /etc/portage is under CONFIG_PROTECT (because it would produce separate updated files for each repo). | ||||
* | Support repository-wide updates. | Michał Górny | 2010-07-27 | 1 | -6/+9 |
| | | | | | | | Support reading repository-wide update files. Apply them as long as the 'repository' for vardb entry matches the repository update is originating from. For world and configuration files, use the best vardb match. | ||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 |
| | |||||
* | Bug #309907 - Fix update_config_files() to handle package.license. | Zac Medico | 2010-03-17 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=15832 | ||||
* | Add missing stat import. | Zac Medico | 2009-12-21 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=15127 | ||||
* | When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of the | Zac Medico | 2009-12-21 | 1 | -1/+1 |
| | | | | | | float st_mtime in order to avoid rounding *up* in some rare cases. svn path=/main/trunk/; revision=15125 | ||||
* | Fix possibly unsafe modification of list during iteration inside | Zac Medico | 2009-12-07 | 1 | -1/+1 |
| | | | | | | update_config_files(). svn path=/main/trunk/; revision=14951 | ||||
* | Bug #295805 - Fix ValueError with python3 inside update_config_files(). | Zac Medico | 2009-12-05 | 1 | -4/+9 |
| | | | | svn path=/main/trunk/; revision=14929 | ||||
* | Bug #295351 - Make update_dbentries() return unicode if it's given unicode, | Zac Medico | 2009-12-02 | 1 | -3/+7 |
| | | | | | | and bytes if it's given bytes. svn path=/main/trunk/; revision=14921 | ||||
* | Remove unnecessary dict.has_key() call (fix for python 3). | Zac Medico | 2009-09-25 | 1 | -2/+0 |
| | | | | svn path=/main/trunk/; revision=14418 | ||||
* | 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 | ||||
* | Update syntax of 'except' statements for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -2/+2 |
| | | | | | | (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 | ||||
* | Add missing InvalidAtom import. | Zac Medico | 2009-09-12 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14231 | ||||
* | Make parse_updates() and update_dbentry() use Atom instances. | Zac Medico | 2009-09-12 | 1 | -9/+27 |
| | | | | svn path=/main/trunk/; revision=14230 | ||||
* | Bug #282505 - Fix unicode handling for package moves in binary packages.v2.2_rc40 | Zac Medico | 2009-08-24 | 1 | -3/+9 |
| | | | | svn path=/main/trunk/; revision=14134 | ||||
* | Replace _content_encoding, _fs_encoding, and _merge_encoding with direct | Zac Medico | 2009-08-21 | 1 | -10/+10 |
| | | | | | | usage of _encodings. svn path=/main/trunk/; revision=14113 | ||||
* | Use _content_encoding and _fs_encoding for unicode encoding/decoding. | Zac Medico | 2009-08-17 | 1 | -18/+35 |
| | | | | svn path=/main/trunk/; revision=14072 | ||||
* | Prepare 308 messages to localization. | Arfrever Frehtes Taifersar Arahesis | 2009-08-15 | 1 | -7/+8 |
| | | | | svn path=/main/trunk/; revision=14067 | ||||
* | Do not pass unicode strings into os.walk calls, since it can cause | Zac Medico | 2009-08-06 | 1 | -0/+6 |
| | | | | | | internal os.path.join calls to raise UnicodeDecodeError. svn path=/main/trunk/; revision=13926 | ||||
* | Remove leading slash from appropriate paths inside portage.const, so that | Zac Medico | 2009-07-12 | 1 | -2/+1 |
| | | | | | | | lstrip(os.sep) is not needed for os.path.join() calls. Thanks to Fabian Groffen <grobian@g.o> for this patch. svn path=/main/trunk/; revision=13821 | ||||
* | Fix headers that contain $Header instead of $Id. | Zac Medico | 2009-02-23 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=12701 | ||||
* | Use lazyimport to avoid importing the dep, output, update, and versions | Zac Medico | 2009-02-22 | 1 | -3/+2 |
| | | | | | | modules when portage is initially imported. svn path=/main/trunk/; revision=12681 | ||||
* | Use lazyimport to avoid importing the checksum, locks, and util modules | Zac Medico | 2009-02-22 | 1 | -3/+7 |
| | | | | | | when portage is initially imported. svn path=/main/trunk/; revision=12680 | ||||
* | Move the world file update code out of update_config_files() since it should | Zac Medico | 2008-09-13 | 1 | -13/+0 |
| | | | | | | not be relative to PORTAGE_CONFIGROOT. Thanks to grobian for reporting. svn path=/main/trunk/; revision=11508 | ||||
* | Fix update_config_files() so that it uses update_dbentry() | Zac Medico | 2007-11-03 | 1 | -31/+30 |
| | | | | | | | to handle update commands since that already supports slotmove commands for SLOT atoms. svn path=/main/trunk/; revision=8397 | ||||
* | TODO: Make update_config_files() handle slotmove commands for SLOT atoms. | Zac Medico | 2007-11-03 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=8387 | ||||
* | Fix update_dbentry() to process version components properly before passing ↵ | Zac Medico | 2007-08-22 | 1 | -2/+7 |
| | | | | | | them into ververify(). svn path=/main/trunk/; revision=7665 |