summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* update copyrightsMike Frysinger2006-03-091-1/+1
| | | | svn path=/main/trunk/; revision=2827
* Catch ENOENT errors when $PORTDIR/profiles/updates does not exist.Zac Medico2006-03-072-6/+17
| | | | svn path=/main/trunk/; revision=2821
* Remove the leading / from WORLD_FILE for better cooperation with ↵Zac Medico2006-03-062-10/+10
| | | | | | os.path.join (see bug #124471). svn path=/main/trunk/; revision=2818
* Remove the leading / from CONFIG_MEMORY_FILE for better cooperation with ↵Zac Medico2006-03-052-7/+4
| | | | | | os.path.join (see bug #124471). svn path=/main/trunk/; revision=2816
* Remove the leading / from PRIVATE_PATH (var/lib/portage) for better ↵Zac Medico2006-03-053-9/+9
| | | | | | cooperation with os.path.join (see bug #124471). svn path=/main/trunk/; revision=2815
* Remove a dead and broken hunk of code that attempts to remove files from an ↵Zac Medico2006-03-051-9/+0
| | | | | | empty directory. svn path=/main/trunk/; revision=2814
* Strip the leading slash from WORLD_FILE so that os.path.join works correctly ↵Zac Medico2006-03-051-1/+2
| | | | | | for bug #124471. Thanks to Thomas de Grenier de Latour for finding the cause of the problem and Jonathan Adamczewski for the initial report. svn path=/main/trunk/; revision=2812
* Remove the 'didupdate' variable from global_updates() because it is no ↵Zac Medico2006-03-041-9/+7
| | | | | | longer used. svn path=/main/trunk/; revision=2811
* Rename the global updates do_upgrade() function to parse_updates().Zac Medico2006-03-041-2/+2
| | | | svn path=/main/trunk/; revision=2810
* Move all output out of the global updates do_upgrade() function so that it ↵Zac Medico2006-03-041-21/+24
| | | | | | only performs parsing and validation. svn path=/main/trunk/; revision=2809
* kill off pointless printMike Frysinger2006-03-031-2/+0
| | | | svn path=/main/trunk/; revision=2807
* Split out a portage_update.grab_updates() function so that it can be reused.Zac Medico2006-02-282-31/+47
| | | | svn path=/main/trunk/; revision=2801
* Use rstrip("\n") instead of -1 index to safely remove newline characters.Zac Medico2006-02-261-1/+1
| | | | svn path=/main/trunk/; revision=2793
* Add a new cache.metadata_overlay module that layers a writable cache over a ↵Zac Medico2006-02-261-0/+91
| | | | | | readonly cache. svn path=/main/trunk/; revision=2792
* Fix 'Bad file descriptor' error with hardlink locking for bug 124140.Zac Medico2006-02-261-1/+2
| | | | svn path=/main/trunk/; revision=2790
* Only write known keys in flat_hash cache entries (filter out UNUSED_* keys).Zac Medico2006-02-261-1/+1
| | | | svn path=/main/trunk/; revision=2787
* Fix cache.metadata.database so that it correctly removes the newline ↵Zac Medico2006-02-261-1/+1
| | | | | | character from the end of the line when parsing flat_hash entries. svn path=/main/trunk/; revision=2786
* Make complete_eclass_entries variable name consistent so that classes ↵Zac Medico2006-02-261-1/+1
| | | | | | derived from cache.template.database are compatible with the mirror_cache() function in the cache.util module. svn path=/main/trunk/; revision=2785
* Killing some old code that is never executed.Alec Warner2006-02-251-15/+1
| | | | svn path=/main/trunk/; revision=2784
* Add a message to advise deleting corrupted binary packages. Bug #86088Alec Warner2006-02-251-0/+1
| | | | svn path=/main/trunk/; revision=2783
* Adding a new exception class.Alec Warner2006-02-251-2/+4
| | | | svn path=/main/trunk/; revision=2782
* Prevent output of '*' characters when there are no updates but fixpackages ↵Zac Medico2006-02-221-0/+2
| | | | | | is in features (reported by fuzzyray). svn path=/main/trunk/; revision=2763
* Fix typo from revision 2758.v2.1_pre5_2761v2.1_pre5_2760Zac Medico2006-02-211-1/+1
| | | | svn path=/main/trunk/; revision=2759
* Validate the names of update files in order to filter out unwanted files ↵Zac Medico2006-02-211-0/+2
| | | | | | such as CVS directories. svn path=/main/trunk/; revision=2758
* Patch by Ed Catmur to add "gnome" to legal_terms in output.py.Zac Medico2006-02-211-1/+1
| | | | svn path=/main/trunk/; revision=2756
* Patch by marienz to generate default_xterm_title just in time with python ↵Zac Medico2006-02-211-3/+13
| | | | | | instead of the shell. Fixes "Bad substitution" shell messages reported by flameeyes. svn path=/main/trunk/; revision=2755
* Remove temporary file usage from move_ent and move_slot_ent routines.Zac Medico2006-02-201-22/+16
| | | | svn path=/main/trunk/; revision=2753
* Remove temporary file usage from fixpackages update_ents routine.Zac Medico2006-02-191-10/+9
| | | | svn path=/main/trunk/; revision=2752
* Add a tbz2.get_data() method that returns the xpak segment data as a dict.Zac Medico2006-02-191-0/+18
| | | | svn path=/main/trunk/; revision=2751
* Split out 2 reusable functions from fixdbentries and put them in a new ↵Zac Medico2006-02-192-26/+47
| | | | | | portage_update module. svn path=/main/trunk/; revision=2750
* In order do avoid the need for temporary files, add a new ↵Zac Medico2006-02-191-3/+6
| | | | | | tbz2.recompose_mem() method that uses an xpak segment from memory. svn path=/main/trunk/; revision=2748
* In order do avoid the need for temporary files, add a new xpak_mem() ↵Zac Medico2006-02-191-18/+23
| | | | | | function that creates an xpak_segment from a map object. svn path=/main/trunk/; revision=2747
* Fix problem with /var/tmp/tbz2/tbz2 directory for bug 113088.Zac Medico2006-02-191-2/+0
| | | | svn path=/main/trunk/; revision=2743
* deprecate 'emerge action' syntax in favor of 'emerge --action'Marius Mauch2006-02-191-1/+1
| | | | svn path=/main/trunk/; revision=2742
* finally remove --rsyncMarius Mauch2006-02-191-1/+1
| | | | svn path=/main/trunk/; revision=2740
* finally remove --upgradeonlyMarius Mauch2006-02-191-1/+1
| | | | svn path=/main/trunk/; revision=2739
* Update the mtimedb only after the updates have been processed.Zac Medico2006-02-191-10/+19
| | | | svn path=/main/trunk/; revision=2738
* Split move_ent calls from do_upgrade() and do them in global_updates() instead.Zac Medico2006-02-191-15/+10
| | | | svn path=/main/trunk/; revision=2737
* Fix 2 typos from revision 2735.Zac Medico2006-02-191-2/+2
| | | | svn path=/main/trunk/; revision=2736
* Clean up do_upgrade() and add atom validation.Zac Medico2006-02-181-13/+25
| | | | svn path=/main/trunk/; revision=2735
* Split the config file updates from do_upgrade into a new ↵Zac Medico2006-02-181-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 Medico2006-02-181-41/+38
| | | | | | global scope. svn path=/main/trunk/; revision=2733
* Consider global updates that proceed quickly as a single mtimedb transaction.Zac Medico2006-02-181-1/+3
| | | | svn path=/main/trunk/; revision=2732
* Split out a vardbapi.update_ents() method and leave it unused for the moment ↵Zac Medico2006-02-181-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 Medico2006-02-182-6/+19
| | | | svn path=/main/trunk/; revision=2730
* Add a return value to fixdbentries that indicates whether or not ↵Zac Medico2006-02-181-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 Medico2006-02-171-2/+4
| | | | svn path=/main/trunk/; revision=2728
* Bring back myline variable inside do_upgrade because it is needed ↵Zac Medico2006-02-171-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 Medico2006-02-171-6/+4
| | | | svn path=/main/trunk/; revision=2726
* Optimize fixpackages to do all updates in one big batch so that each tbz2 is ↵Zac Medico2006-02-171-8/+11
| | | | | | only recomposed once. svn path=/main/trunk/; revision=2725