Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split the config file updates from do_upgrade into a new ↵ | Zac Medico | 2006-02-18 | 1 | -54/+61 |
| | | | | | | update_config_files() function that does all updates in one big batch. svn path=/main/trunk/; revision=2734 | ||||
* | Create a global_updates() function in order to remove a chunk from the ↵ | Zac Medico | 2006-02-18 | 1 | -41/+38 |
| | | | | | | global scope. svn path=/main/trunk/; revision=2733 | ||||
* | Consider global updates that proceed quickly as a single mtimedb transaction. | Zac Medico | 2006-02-18 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=2732 | ||||
* | Split out a vardbapi.update_ents() method and leave it unused for the moment ↵ | Zac Medico | 2006-02-18 | 1 | -2/+7 |
| | | | | | | since it's not currently being used properly anyway (see bug 122089). svn path=/main/trunk/; revision=2731 | ||||
* | Add a cleanup() method to xpak.tbz2 and do a sanity check there. | Zac Medico | 2006-02-18 | 2 | -6/+19 |
| | | | | svn path=/main/trunk/; revision=2730 | ||||
* | Add a return value to fixdbentries that indicates whether or not ↵ | Zac Medico | 2006-02-18 | 1 | -4/+8 |
| | | | | | | modifications were performed. Use this to avoid unnecessary recomposition of tbz2 files. svn path=/main/trunk/; revision=2729 | ||||
* | Filter out some more invalid updates before fixpackages gets them. | Zac Medico | 2006-02-17 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=2728 | ||||
* | Bring back myline variable inside do_upgrade because it is needed ↵ | Zac Medico | 2006-02-17 | 1 | -3/+6 |
| | | | | | | (regression from rev 2726). svn path=/main/trunk/; revision=2727 | ||||
* | Store split lines in myupd so that they don't need to be split again later. | Zac Medico | 2006-02-17 | 1 | -6/+4 |
| | | | | svn path=/main/trunk/; revision=2726 | ||||
* | Optimize fixpackages to do all updates in one big batch so that each tbz2 is ↵ | Zac Medico | 2006-02-17 | 1 | -8/+11 |
| | | | | | | only recomposed once. svn path=/main/trunk/; revision=2725 | ||||
* | Make fixdbentries operate on an iterable instead of a dict because order can ↵ | Zac Medico | 2006-02-17 | 1 | -18/+16 |
| | | | | | | matter. svn path=/main/trunk/; revision=2724 | ||||
* | optimize fixpackages (update_ents) to feed batched package moves to fixdbentries | Zac Medico | 2006-02-17 | 1 | -5/+7 |
| | | | | svn path=/main/trunk/; revision=2723 | ||||
* | optimize fixdbentries by enabling it to process packages moves in batches | Zac Medico | 2006-02-17 | 1 | -13/+16 |
| | | | | svn path=/main/trunk/; revision=2722 | ||||
* | remove invalid package moves from myupd so that fixpackages doesn't process them | Zac Medico | 2006-02-17 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=2721 | ||||
* | Add basic sanity check for global update entries | Marius Mauch | 2006-02-16 | 2 | -4/+30 |
| | | | | svn path=/main/trunk/; revision=2718 | ||||
* | generalize the BSD checks. | Brian Harring | 2006-02-16 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=2717 | ||||
* | Robert Sebastian Gerus: add support for DragonFly #122976 | Mike Frysinger | 2006-02-16 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=2716 | ||||
* | fix case where myfd == None (regression from revision 2714) | Zac Medico | 2006-02-15 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=2715 | ||||
* | fix a race and prevent unlinking of a file locked by another process in ↵ | Zac Medico | 2006-02-15 | 1 | -6/+10 |
| | | | | | | portage_locks.unlockfile() svn path=/main/trunk/; revision=2714 | ||||
* | fix race condition for bug 121819 by using os.fstat(myfd).st_nlink instead ↵ | Zac Medico | 2006-02-14 | 1 | -1/+1 |
| | | | | | | of os.path.exists svn path=/main/trunk/; revision=2712 | ||||
* | misc atomic_ofstream and write_atomic updates in portage.py | Zac Medico | 2006-02-13 | 1 | -29/+14 |
| | | | | svn path=/main/trunk/; revision=2703 | ||||
* | use write_atomic for move_ent CATEGORY updates | Zac Medico | 2006-02-12 | 1 | -6/+2 |
| | | | | svn path=/main/trunk/; revision=2701 | ||||
* | fix dirsonly handling in listdir | Marius Mauch | 2006-02-12 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=2700 | ||||
* | use write_atomic for fixdbentries | Zac Medico | 2006-02-12 | 1 | -4/+3 |
| | | | | svn path=/main/trunk/; revision=2698 | ||||
* | fix perform_checksum.perform_checksum() so that it wraps FileNotFound exceptions | Zac Medico | 2006-02-12 | 2 | -10/+12 |
| | | | | svn path=/main/trunk/; revision=2697 | ||||
* | catch possible ENOENT error from portage_checksum.perform_md5 for bug 24374 | Zac Medico | 2006-02-12 | 1 | -2/+10 |
| | | | | svn path=/main/trunk/; revision=2695 | ||||
* | import errno at the top of portage.py | Zac Medico | 2006-02-12 | 1 | -4/+1 |
| | | | | svn path=/main/trunk/; revision=2694 | ||||
* | use cached stat and lstat results to minimize the number of stat calls in ↵ | Zac Medico | 2006-02-10 | 1 | -7/+17 |
| | | | | | | dblink.unmerge() svn path=/main/trunk/; revision=2691 | ||||
* | avoid unnecessary stat by catching ENOENT error instead of using ↵ | Zac Medico | 2006-02-10 | 1 | -1/+7 |
| | | | | | | os.path.exists() svn path=/main/trunk/; revision=2690 | ||||
* | fix KeyError: '.' in dblink.unmerge() from bug 100479 | Zac Medico | 2006-02-10 | 1 | -12/+12 |
| | | | | svn path=/main/trunk/; revision=2689 | ||||
* | for each fetch ensure correct permissions on both $DISTDIR and ↵ | Zac Medico | 2006-02-09 | 1 | -29/+19 |
| | | | | | | $DISTDIR/.locks (bug 117781) svn path=/main/trunk/; revision=2687 | ||||
* | use write_atomic for the counter file | Zac Medico | 2006-02-09 | 1 | -6/+1 |
| | | | | svn path=/main/trunk/; revision=2686 | ||||
* | use getattr instead of hasattr for detection of base class destructor ↵ | Zac Medico | 2006-02-09 | 1 | -3/+3 |
| | | | | | | (recommended by marienz) svn path=/main/trunk/; revision=2685 | ||||
* | use atomic_ofstream for mtimedb commits | Zac Medico | 2006-02-09 | 1 | -2/+6 |
| | | | | svn path=/main/trunk/; revision=2682 | ||||
* | use new write_atomic() function for all world file updates | Zac Medico | 2006-02-09 | 1 | -9/+3 |
| | | | | svn path=/main/trunk/; revision=2681 | ||||
* | add new atomic_ofstream class for safer writes | Zac Medico | 2006-02-09 | 1 | -6/+88 |
| | | | | svn path=/main/trunk/; revision=2680 | ||||
* | cPickle import protection; fall back to pickle if cPickle is unavailable. | Brian Harring | 2006-02-08 | 3 | -4/+18 |
| | | | | svn path=/main/trunk/; revision=2679 | ||||
* | fix whitespace breakage introduced by writemsg_stdout() changes | Mike Frysinger | 2006-02-08 | 1 | -11/+11 |
| | | | | svn path=/main/trunk/; revision=2677 | ||||
* | wrap all relevant atexit usage due to incompatibility with os.execv (needed ↵ | Zac Medico | 2006-02-06 | 3 | -5/+40 |
| | | | | | | for emerge to restart itself) svn path=/main/trunk/; revision=2674 | ||||
* | Make sure confcache files are writable by the portage group, not just the ↵ | Marien Zwart | 2006-02-06 | 1 | -2/+2 |
| | | | | | | portage user. svn path=/main/trunk/; revision=2671 | ||||
* | aparently someone never heard of rstrip... | Brian Harring | 2006-02-04 | 1 | -6/+1 |
| | | | | svn path=/main/trunk/; revision=2660 | ||||
* | Remove all bug references | Jason Stubbs | 2006-02-04 | 1 | -2/+1 |
| | | | | svn path=/main/trunk/; revision=2649 | ||||
* | This should have been excluded... | Alec Warner | 2006-02-03 | 1 | -36/+13 |
| | | | | svn path=/main/trunk/; revision=2642 | ||||
* | Thanks to Benno Schulenberg <benno@nietvergeten.nl> for the spelling/grammar ↵ | Alec Warner | 2006-02-03 | 2 | -19/+42 |
| | | | | | | fixes, bug #80754 svn path=/main/trunk/; revision=2641 | ||||
* | confcache, baby. | Brian Harring | 2006-02-03 | 1 | -1/+32 |
| | | | | svn path=/main/trunk/; revision=2632 | ||||
* | s/cronological/chronological/ for you anal peeps | Mike Frysinger | 2006-02-03 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=2626 | ||||
* | Allow || ( ) deps that have no default atoms (or turn out empty). | Jason Stubbs | 2006-01-29 | 2 | -1/+8 |
| | | | | | | Released in 2.1_pre4-r1. #120803 svn path=/main/trunk/; revision=2604 | ||||
* | make env-update a bit more flexible by adding a --no-ldconfig option | Mike Frysinger | 2006-01-27 | 1 | -3/+0 |
| | | | | svn path=/main/trunk/; revision=2592 | ||||
* | touchup if logic | Mike Frysinger | 2006-01-27 | 1 | -5/+5 |
| | | | | svn path=/main/trunk/; revision=2591 | ||||
* | Add support for an --alphabetical option to emerge that restores the old | Jason Stubbs | 2006-01-27 | 1 | -0/+6 |
| | | | | | | ordering of flags in --pretend output. svn path=/main/trunk/; revision=2589 |