Zac Medico [Tue, 21 Feb 2006 09:52:03 +0000 (09:52 -0000)]
Validate the names of update files in order to filter out unwanted files such as CVS directories.
svn path=/main/trunk/; revision=2758
Zac Medico [Tue, 21 Feb 2006 06:07:31 +0000 (06:07 -0000)]
Some news and release notes for 2.1_pre5.
svn path=/main/trunk/; revision=2757
Zac Medico [Tue, 21 Feb 2006 01:44:39 +0000 (01:44 -0000)]
Patch by Ed Catmur to add "gnome" to legal_terms in output.py.
svn path=/main/trunk/; revision=2756
Zac Medico [Tue, 21 Feb 2006 01:16:56 +0000 (01:16 -0000)]
Patch by marienz to generate default_xterm_title just in time with python instead of the shell. Fixes "Bad substitution" shell messages reported by flameeyes.
svn path=/main/trunk/; revision=2755
Mike Frysinger [Mon, 20 Feb 2006 23:42:38 +0000 (23:42 -0000)]
enable exec stack scanning on ppc64
svn path=/main/trunk/; revision=2754
Zac Medico [Mon, 20 Feb 2006 03:07:25 +0000 (03:07 -0000)]
Remove temporary file usage from move_ent and move_slot_ent routines.
svn path=/main/trunk/; revision=2753
Zac Medico [Sun, 19 Feb 2006 23:52:50 +0000 (23:52 -0000)]
Remove temporary file usage from fixpackages update_ents routine.
svn path=/main/trunk/; revision=2752
Zac Medico [Sun, 19 Feb 2006 23:28:14 +0000 (23:28 -0000)]
Add a tbz2.get_data() method that returns the xpak segment data as a dict.
svn path=/main/trunk/; revision=2751
Zac Medico [Sun, 19 Feb 2006 22:55:47 +0000 (22:55 -0000)]
Split out 2 reusable functions from fixdbentries and put them in a new portage_update module.
svn path=/main/trunk/; revision=2750
Zac Medico [Sun, 19 Feb 2006 20:47:44 +0000 (20:47 -0000)]
In order do avoid the need for temporary files, add a new tbz2.recompose_mem() method that uses an xpak segment from memory.
svn path=/main/trunk/; revision=2748
Zac Medico [Sun, 19 Feb 2006 20:19:41 +0000 (20:19 -0000)]
In order do avoid the need for temporary files, add a new xpak_mem() function that creates an xpak_segment from a map object.
svn path=/main/trunk/; revision=2747
Marius Mauch [Sun, 19 Feb 2006 16:10:58 +0000 (16:10 -0000)]
update release notes regarding deprecated stuff
svn path=/main/trunk/; revision=2746
Marius Mauch [Sun, 19 Feb 2006 05:44:38 +0000 (05:44 -0000)]
more obsolete stuff, qa is in ebuild.sh now
svn path=/main/trunk/; revision=2745
Marius Mauch [Sun, 19 Feb 2006 05:42:25 +0000 (05:42 -0000)]
this stuff was supposed to be dead for ages
svn path=/main/trunk/; revision=2744
Zac Medico [Sun, 19 Feb 2006 05:40:49 +0000 (05:40 -0000)]
Fix problem with /var/tmp/tbz2/tbz2 directory for bug 113088.
svn path=/main/trunk/; revision=2743
Marius Mauch [Sun, 19 Feb 2006 04:55:17 +0000 (04:55 -0000)]
deprecate 'emerge action' syntax in favor of 'emerge --action'
svn path=/main/trunk/; revision=2742
Marius Mauch [Sun, 19 Feb 2006 04:47:27 +0000 (04:47 -0000)]
remove documentation on --upgradeonly
svn path=/main/trunk/; revision=2741
Marius Mauch [Sun, 19 Feb 2006 04:46:09 +0000 (04:46 -0000)]
finally remove --rsync
svn path=/main/trunk/; revision=2740
Marius Mauch [Sun, 19 Feb 2006 04:43:03 +0000 (04:43 -0000)]
finally remove --upgradeonly
svn path=/main/trunk/; revision=2739
Zac Medico [Sun, 19 Feb 2006 01:13:57 +0000 (01:13 -0000)]
Update the mtimedb only after the updates have been processed.
svn path=/main/trunk/; revision=2738
Zac Medico [Sun, 19 Feb 2006 00:16:09 +0000 (00:16 -0000)]
Split move_ent calls from do_upgrade() and do them in global_updates() instead.
svn path=/main/trunk/; revision=2737
Zac Medico [Sun, 19 Feb 2006 00:01:38 +0000 (00:01 -0000)]
Fix 2 typos from revision 2735.
svn path=/main/trunk/; revision=2736
Zac Medico [Sat, 18 Feb 2006 23:39:05 +0000 (23:39 -0000)]
Clean up do_upgrade() and add atom validation.
svn path=/main/trunk/; revision=2735
Zac Medico [Sat, 18 Feb 2006 22:39:07 +0000 (22:39 -0000)]
Split the config file updates from do_upgrade into a new update_config_files() function that does all updates in one big batch.
svn path=/main/trunk/; revision=2734
Zac Medico [Sat, 18 Feb 2006 21:45:43 +0000 (21:45 -0000)]
Create a global_updates() function in order to remove a chunk from the global scope.
svn path=/main/trunk/; revision=2733
Zac Medico [Sat, 18 Feb 2006 19:25:23 +0000 (19:25 -0000)]
Consider global updates that proceed quickly as a single mtimedb transaction.
svn path=/main/trunk/; revision=2732
Zac Medico [Sat, 18 Feb 2006 19:18:31 +0000 (19:18 -0000)]
Split out a vardbapi.update_ents() method and leave it unused for the moment since it's not currently being used properly anyway (see bug 122089).
svn path=/main/trunk/; revision=2731
Zac Medico [Sat, 18 Feb 2006 02:25:24 +0000 (02:25 -0000)]
Add a cleanup() method to xpak.tbz2 and do a sanity check there.
svn path=/main/trunk/; revision=2730
Zac Medico [Sat, 18 Feb 2006 01:39:05 +0000 (01:39 -0000)]
Add a return value to fixdbentries that indicates whether or not modifications were performed. Use this to avoid unnecessary recomposition of tbz2 files.
svn path=/main/trunk/; revision=2729
Zac Medico [Fri, 17 Feb 2006 23:25:04 +0000 (23:25 -0000)]
Filter out some more invalid updates before fixpackages gets them.
svn path=/main/trunk/; revision=2728
Zac Medico [Fri, 17 Feb 2006 19:08:04 +0000 (19:08 -0000)]
Bring back myline variable inside do_upgrade because it is needed (regression from rev 2726).
svn path=/main/trunk/; revision=2727
Zac Medico [Fri, 17 Feb 2006 18:56:11 +0000 (18:56 -0000)]
Store split lines in myupd so that they don't need to be split again later.
svn path=/main/trunk/; revision=2726
Zac Medico [Fri, 17 Feb 2006 18:35:54 +0000 (18:35 -0000)]
Optimize fixpackages to do all updates in one big batch so that each tbz2 is only recomposed once.
svn path=/main/trunk/; revision=2725
Zac Medico [Fri, 17 Feb 2006 07:56:02 +0000 (07:56 -0000)]
Make fixdbentries operate on an iterable instead of a dict because order can matter.
svn path=/main/trunk/; revision=2724
Zac Medico [Fri, 17 Feb 2006 05:41:26 +0000 (05:41 -0000)]
optimize fixpackages (update_ents) to feed batched package moves to fixdbentries
svn path=/main/trunk/; revision=2723
Zac Medico [Fri, 17 Feb 2006 05:35:00 +0000 (05:35 -0000)]
optimize fixdbentries by enabling it to process packages moves in batches
svn path=/main/trunk/; revision=2722
Zac Medico [Fri, 17 Feb 2006 04:41:39 +0000 (04:41 -0000)]
remove invalid package moves from myupd so that fixpackages doesn't process them
svn path=/main/trunk/; revision=2721
Marius Mauch [Thu, 16 Feb 2006 13:10:56 +0000 (13:10 -0000)]
Add basic sanity check for global update entries
svn path=/main/trunk/; revision=2718
Brian Harring [Thu, 16 Feb 2006 04:51:00 +0000 (04:51 -0000)]
generalize the BSD checks.
svn path=/main/trunk/; revision=2717
Mike Frysinger [Thu, 16 Feb 2006 01:37:45 +0000 (01:37 -0000)]
Robert Sebastian Gerus: add support for DragonFly #122976
svn path=/main/trunk/; revision=2716
Zac Medico [Wed, 15 Feb 2006 18:40:32 +0000 (18:40 -0000)]
fix case where myfd == None (regression from revision 2714)
svn path=/main/trunk/; revision=2715
Zac Medico [Wed, 15 Feb 2006 17:47:53 +0000 (17:47 -0000)]
fix a race and prevent unlinking of a file locked by another process in portage_locks.unlockfile()
svn path=/main/trunk/; revision=2714
Brian Harring [Wed, 15 Feb 2006 11:21:56 +0000 (11:21 -0000)]
silence extdebug errors when on bash2; it's handled by the code already, just is fugly.
svn path=/main/trunk/; revision=2713
Zac Medico [Tue, 14 Feb 2006 22:38:27 +0000 (22:38 -0000)]
fix race condition for bug 121819 by using os.fstat(myfd).st_nlink instead of os.path.exists
svn path=/main/trunk/; revision=2712
Mike Frysinger [Tue, 14 Feb 2006 00:23:08 +0000 (00:23 -0000)]
get rid of pointless whitespace
svn path=/main/trunk/; revision=2710
Mike Frysinger [Tue, 14 Feb 2006 00:18:07 +0000 (00:18 -0000)]
cleanup output and syntax, make sure we exit with non-zero status when something goes wrong #121317 by Simon Stelling, and fix installing of relative symlinks
svn path=/main/trunk/; revision=2709
Mike Frysinger [Tue, 14 Feb 2006 00:12:59 +0000 (00:12 -0000)]
add support for ROOT by Joel Martin #122728
svn path=/main/trunk/; revision=2708
Marius Mauch [Mon, 13 Feb 2006 05:26:39 +0000 (05:26 -0000)]
Make repoman ebuild.invalidname message a bit more useful
svn path=/main/trunk/; revision=2707
Zac Medico [Mon, 13 Feb 2006 01:21:17 +0000 (01:21 -0000)]
misc atomic_ofstream and write_atomic updates in portage.py
svn path=/main/trunk/; revision=2703
Zac Medico [Sun, 12 Feb 2006 23:43:40 +0000 (23:43 -0000)]
use write_atomic for move_ent CATEGORY updates
svn path=/main/trunk/; revision=2701
Marius Mauch [Sun, 12 Feb 2006 22:56:51 +0000 (22:56 -0000)]
fix dirsonly handling in listdir
svn path=/main/trunk/; revision=2700
Zac Medico [Sun, 12 Feb 2006 21:09:49 +0000 (21:09 -0000)]
use write_atomic for fixdbentries
svn path=/main/trunk/; revision=2698
Zac Medico [Sun, 12 Feb 2006 11:55:48 +0000 (11:55 -0000)]
fix perform_checksum.perform_checksum() so that it wraps FileNotFound exceptions
svn path=/main/trunk/; revision=2697
Zac Medico [Sun, 12 Feb 2006 07:52:00 +0000 (07:52 -0000)]
add a new emerge --ignore-default-opts option for bug 121695
svn path=/main/trunk/; revision=2696
Zac Medico [Sun, 12 Feb 2006 03:09:38 +0000 (03:09 -0000)]
catch possible ENOENT error from portage_checksum.perform_md5 for bug 24374
svn path=/main/trunk/; revision=2695
Zac Medico [Sun, 12 Feb 2006 02:42:21 +0000 (02:42 -0000)]
import errno at the top of portage.py
svn path=/main/trunk/; revision=2694
Ned Ludd [Sat, 11 Feb 2006 10:43:54 +0000 (10:43 -0000)]
- add portage to MULTILIB_STRICT_EXEMPT
svn path=/main/trunk/; revision=2693
Zac Medico [Sat, 11 Feb 2006 08:45:13 +0000 (08:45 -0000)]
fix typo for bug 111098 (patch by andre@fluffyspider.com.au)
svn path=/main/trunk/; revision=2692
Zac Medico [Fri, 10 Feb 2006 23:39:09 +0000 (23:39 -0000)]
use cached stat and lstat results to minimize the number of stat calls in dblink.unmerge()
svn path=/main/trunk/; revision=2691
Zac Medico [Fri, 10 Feb 2006 22:07:52 +0000 (22:07 -0000)]
avoid unnecessary stat by catching ENOENT error instead of using os.path.exists()
svn path=/main/trunk/; revision=2690
Zac Medico [Fri, 10 Feb 2006 07:00:36 +0000 (07:00 -0000)]
fix KeyError: '.' in dblink.unmerge() from bug 100479
svn path=/main/trunk/; revision=2689
Zac Medico [Fri, 10 Feb 2006 01:47:47 +0000 (01:47 -0000)]
make repoman obey NOCOLOR for bug 77566 (patch by antarus)
svn path=/main/trunk/; revision=2688
Zac Medico [Thu, 9 Feb 2006 20:26:11 +0000 (20:26 -0000)]
for each fetch ensure correct permissions on both $DISTDIR and $DISTDIR/.locks (bug 117781)
svn path=/main/trunk/; revision=2687
Zac Medico [Thu, 9 Feb 2006 04:25:56 +0000 (04:25 -0000)]
use write_atomic for the counter file
svn path=/main/trunk/; revision=2686
Zac Medico [Thu, 9 Feb 2006 03:44:58 +0000 (03:44 -0000)]
use getattr instead of hasattr for detection of base class destructor (recommended by marienz)
svn path=/main/trunk/; revision=2685
Mike Frysinger [Thu, 9 Feb 2006 03:38:22 +0000 (03:38 -0000)]
eat the parent process with exec, YUM
svn path=/main/trunk/; revision=2684
Mike Frysinger [Thu, 9 Feb 2006 03:36:09 +0000 (03:36 -0000)]
touchup style
svn path=/main/trunk/; revision=2683
Zac Medico [Thu, 9 Feb 2006 01:38:34 +0000 (01:38 -0000)]
use atomic_ofstream for mtimedb commits
svn path=/main/trunk/; revision=2682
Zac Medico [Thu, 9 Feb 2006 01:10:08 +0000 (01:10 -0000)]
use new write_atomic() function for all world file updates
svn path=/main/trunk/; revision=2681
Zac Medico [Thu, 9 Feb 2006 01:09:00 +0000 (01:09 -0000)]
add new atomic_ofstream class for safer writes
svn path=/main/trunk/; revision=2680
Brian Harring [Wed, 8 Feb 2006 17:51:52 +0000 (17:51 -0000)]
cPickle import protection; fall back to pickle if cPickle is unavailable.
svn path=/main/trunk/; revision=2679
Mike Frysinger [Wed, 8 Feb 2006 01:10:29 +0000 (01:10 -0000)]
fix whitespace breakage introduced by writemsg_stdout() changes
svn path=/main/trunk/; revision=2677
Jason Stubbs [Tue, 7 Feb 2006 14:39:50 +0000 (14:39 -0000)]
Remove references to --verbose and --quiet in depgraph.display() and make
it work of a verbosity parameter instead.
svn path=/main/trunk/; revision=2676
Zac Medico [Mon, 6 Feb 2006 19:25:08 +0000 (19:25 -0000)]
wrap all relevant atexit usage due to incompatibility with os.execv (needed for emerge to restart itself)
svn path=/main/trunk/; revision=2674
Brian Harring [Mon, 6 Feb 2006 07:34:30 +0000 (07:34 -0000)]
use sys.argv[0] for the path to emerge rather then hard coding
svn path=/main/trunk/; revision=2673
Zac Medico [Mon, 6 Feb 2006 02:52:29 +0000 (02:52 -0000)]
when emerge restarts itself, make /usr/lib/portage/bin/emerge the first argument in the list passed to os.execv (regression from revision 2667)
svn path=/main/trunk/; revision=2672
Marien Zwart [Mon, 6 Feb 2006 01:41:10 +0000 (01:41 -0000)]
Make sure confcache files are writable by the portage group, not just the portage user.
svn path=/main/trunk/; revision=2671
Zac Medico [Sun, 5 Feb 2006 21:19:11 +0000 (21:19 -0000)]
add CATEGORY to ebuild.5 and declare it readonly in ebuild.sh
svn path=/main/trunk/; revision=2670
Zac Medico [Sun, 5 Feb 2006 20:24:19 +0000 (20:24 -0000)]
do commit_mtimedb() after each merge for bug 100300
svn path=/main/trunk/; revision=2669
Zac Medico [Sun, 5 Feb 2006 19:28:58 +0000 (19:28 -0000)]
remove outdated "You may avoid the remerging of packages" message
svn path=/main/trunk/; revision=2668
Zac Medico [Sun, 5 Feb 2006 19:22:00 +0000 (19:22 -0000)]
replace existing "restarting emerge via exec()" functionality with a new approach that uses --resume and myopts
svn path=/main/trunk/; revision=2667
Mike Frysinger [Sun, 5 Feb 2006 06:02:52 +0000 (06:02 -0000)]
document more stuff
svn path=/main/trunk/; revision=2666
Mike Frysinger [Sun, 5 Feb 2006 06:02:29 +0000 (06:02 -0000)]
mention mirror, not nomirror
svn path=/main/trunk/; revision=2665
Brian Harring [Sat, 4 Feb 2006 12:32:29 +0000 (12:32 -0000)]
aparently someone never heard of rstrip...
svn path=/main/trunk/; revision=2660
Alec Warner [Sat, 4 Feb 2006 07:34:36 +0000 (07:34 -0000)]
Adding a comment about normpath, and why we use our own copy.
svn path=/main/trunk/; revision=2659
Zac Medico [Sat, 4 Feb 2006 07:22:46 +0000 (07:22 -0000)]
remove stray quote introduced in revision 2645
svn path=/main/trunk/; revision=2658
Mike Frysinger [Sat, 4 Feb 2006 06:01:18 +0000 (06:01 -0000)]
touchup code like dosym
svn path=/main/trunk/; revision=2657
Mike Frysinger [Sat, 4 Feb 2006 06:01:12 +0000 (06:01 -0000)]
send error to stderr
svn path=/main/trunk/; revision=2656
Mike Frysinger [Sat, 4 Feb 2006 05:59:18 +0000 (05:59 -0000)]
use much simpler code as inspired by agriffis' fowners work
svn path=/main/trunk/; revision=2655
Mike Frysinger [Sat, 4 Feb 2006 05:56:09 +0000 (05:56 -0000)]
cleanup code and handle errors better as Simon Stelling says in Bug 121317
svn path=/main/trunk/; revision=2654
Mike Frysinger [Sat, 4 Feb 2006 05:33:22 +0000 (05:33 -0000)]
touchup code so we handle errors better
svn path=/main/trunk/; revision=2653
Mike Frysinger [Sat, 4 Feb 2006 05:28:59 +0000 (05:28 -0000)]
touchup code so we handle errors better
svn path=/main/trunk/; revision=2652
Mike Frysinger [Sat, 4 Feb 2006 05:27:35 +0000 (05:27 -0000)]
touchup code so we handle errors better
svn path=/main/trunk/; revision=2651
Mike Frysinger [Sat, 4 Feb 2006 05:17:07 +0000 (05:17 -0000)]
Simon Stelling writes in Bug 121317:
currently, the do* scripts don't exit with a non-zero status when a critical
command fails, except if it is the last one. install as much as possible, then exit appropriately.
svn path=/main/trunk/; revision=2650
Jason Stubbs [Sat, 4 Feb 2006 03:38:49 +0000 (03:38 -0000)]
Remove all bug references
svn path=/main/trunk/; revision=2649
Jason Stubbs [Sat, 4 Feb 2006 03:06:11 +0000 (03:06 -0000)]
Add back emerge list header hiding when --quiet is used.
svn path=/main/trunk/; revision=2648
Alec Warner [Fri, 3 Feb 2006 23:54:45 +0000 (23:54 -0000)]
Fix bug #86067. Thanks to J\xc3\xbcrgen H\xc3\xb6tzel <gentoo@hoetzel.info> for the emacs command
svn path=/main/trunk/; revision=2646
Alec Warner [Fri, 3 Feb 2006 23:08:09 +0000 (23:08 -0000)]
Fix for bug #119049
svn path=/main/trunk/; revision=2645
Alec Warner [Fri, 3 Feb 2006 17:47:25 +0000 (17:47 -0000)]
Shout out to RiverRat for reporting, fixup the output to use the correct verbs, disable tree output for fetching since it does not work.
svn path=/main/trunk/; revision=2644
Alec Warner [Fri, 3 Feb 2006 17:22:23 +0000 (17:22 -0000)]
Minor fixups with spelling, Thanks to Benno Schulenberg <benno@nietvergeten.nl>, bug # 110382
svn path=/main/trunk/; revision=2643