/[gentoo-src]/portage/pym/portage_locks.py
Gentoo

Log of /portage/pym/portage_locks.py

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 26 06:35:20 2005 UTC (9 years, 7 months ago) by jstubbs
Branch: MAIN
CVS Tags: HEAD
Branch point for: portage_2_1
Changes since 1.22: +3 -2 lines
Diff to previous 1.22
Brought forward changes from portage_2_0


Revision 1.18.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 16 02:35:33 2005 UTC (9 years, 8 months ago) by carpaski
Branch: portage_2_0
CVS Tags: portage_2_0_51_17, portage_2_0_51_18
Branch point for: portage-2_0_51_20, portage_2_0_51_21
Changes since 1.18.2.1: +2 -1 lines
Diff to previous 1.18.2.1 , to branch point 1.18 , to next main 1.23
Added CVS ids as strings that can be printed. Cleaned up imports in the modules.


Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 12 17:04:19 2004 UTC (9 years, 10 months ago) by ferringb
Branch: MAIN
CVS Tags: portage_041204
Changes since 1.21: +2 -2 lines
Diff to previous 1.21
tweaked the constant for sleep.


Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 12 16:28:01 2004 UTC (9 years, 10 months ago) by ferringb
Branch: MAIN
Changes since 1.20: +40 -31 lines
Diff to previous 1.20
reverting the earlier reversion, and correcting a 3s sleep.


Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 7 11:58:29 2004 UTC (9 years, 10 months ago) by ferringb
Branch: MAIN
Changes since 1.19: +13 -9 lines
Diff to previous 1.19
Code cleanup, moves, and shifting away from
commands.gso to portage_exec.spawn_get_output.  Multiple additions to
portage_exec adding fakeroot support, a native collect status output,
and centralized code for killing off a set of pids.  Correction to
portage_exec so that the spawned_list is correctly pruned- previously it
was a list of _all_ pids spawned, so portage could try to kill off a pid
that was previous a child, but by chance a new process runs as (depends on
how random the pid selection is).  Aside from changes to cleanup, these changes
are mostly standalone.
Additionally, moved selinux context switching into portage_exec post-fork-
just specify the desired selinux_context, and it'll make the switch- if
portage_exec.selinux_capable, it makes the switch.  Otherwise, it ignores it.
Finally, new function added, spawn_func.  Pass in a python function, it'll fork,
then call the function w/ the args/kwargs passed to it- optionally using an additional
passed in function to interpret the results, and return an appropriate exitcode.
Also, a *large* amount of inline documentation is contained in this commit.


Revision 1.18.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 27 14:39:30 2004 UTC (9 years, 11 months ago) by jstubbs
Branch: portage_2_0
CVS Tags: portage_2_0_51_r10, portage_2_0_51_r13, portage_2_0_51_r5, portage_2_0_51_r7
Changes since 1.18: +9 -6 lines
Diff to previous 1.18
Bulk commit of fixes already in HEAD. Changelog has the details.


Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 24 05:07:05 2004 UTC (9 years, 11 months ago) by jstubbs
Branch: MAIN
Changes since 1.18: +9 -6 lines
Diff to previous 1.18
Fixed a couple of race conditions with regard to stating files.


Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 19 04:58:42 2004 UTC (9 years, 11 months ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51
Branch point for: portage_2_0
Changes since 1.17: +32 -46 lines
Diff to previous 1.17
Lots of stuff. Digest handling enhancements. Pickle speedups. Sandbox fixes for ia64/security cleanup. Revertion of the lock code to _rc7 + touchups.


Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 17 13:05:19 2004 UTC (9 years, 11 months ago) by ferringb
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16
removed some goofyness in portage_locks.unlockfile.
No point in
lock(blah,non-blocking)
if unlinkfile:
	remove file
unlock(blah)
Just do
if unlinkfile:
	lock(blah, non-blocking)
	remove file
	unlock(blah)


Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 17 09:15:08 2004 UTC (9 years, 11 months ago) by jstubbs
Branch: MAIN
Changes since 1.15: +7 -4 lines
Diff to previous 1.15
Added more information to the --inject deprecation notice. Removed the
sleep call from unlockfile as it severely affects performance (apparently
only under some schedulers)


Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 17 05:48:50 2004 UTC (9 years, 11 months ago) by ferringb
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
final tweak, should behave much better now.


Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 17 05:42:56 2004 UTC (9 years, 11 months ago) by ferringb
Branch: MAIN
Changes since 1.13: +4 -2 lines
Diff to previous 1.13
readded the mips n32 exception catch, errno.EINVAL instead of errno.EINVALID


Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 17 05:38:40 2004 UTC (9 years, 11 months ago) by ferringb
Branch: MAIN
Changes since 1.12: +10 -3 lines
Diff to previous 1.12
was checking errno.EINVALID... which doesn't exist.


Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 17 05:06:16 2004 UTC (9 years, 11 months ago) by ferringb
Branch: MAIN
Changes since 1.11: +17 -13 lines
Diff to previous 1.11
if lockf is the method used, use the appropriate method of unlocking.


Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 11 04:12:02 2004 UTC (9 years, 11 months ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_rc9
Changes since 1.10: +21 -1 lines
Diff to previous 1.10
Exception hell. And a fix for the missing/broken-binary exec.


Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 9 01:03:30 2004 UTC (9 years, 11 months ago) by ferringb
Branch: MAIN
Changes since 1.9: +39 -30 lines
Diff to previous 1.9
reversion, use flock, then lockf, then hardlink.


Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 4 14:07:40 2004 UTC (10 years ago) by vapier
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8
copyright updates


Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 27 05:44:05 2004 UTC (10 years ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_rc7
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
Lock fix, execv fix, doc cleanup.


Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 27 01:45:27 2004 UTC (10 years ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_rc5
Changes since 1.6: +32 -28 lines
Diff to previous 1.6
Changed the spinner again. FEATURES=candy
Fixed lockfiles on NFS finally.
portage-2.0.51_rc5


Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 26 10:44:31 2004 UTC (10 years ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_rc4
Changes since 1.5: +132 -29 lines
Diff to previous 1.5
Lockfile updates to handle NFS and hardlinks better. Made 'distlocks' a feature that is enabled by default. _rc4


Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 26 01:36:57 2004 UTC (10 years ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_rc3
Changes since 1.4: +7 -3 lines
Diff to previous 1.4
Fixed a descriptor-leak in the db_flat code. More descriptor cleanup.


Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 25 13:07:55 2004 UTC (10 years ago) by carpaski
Branch: MAIN
Changes since 1.3: +108 -18 lines
Diff to previous 1.3
Lock work to help out NFSv2 and some friendliness for vfat distfiles.
Enhanced concurrency-resillience with locks in db_flat. Extra info
on the outputs so people know what a 'mylines' message is about.
RC2


Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 21 01:08:06 2004 UTC (10 years ago) by carpaski
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2
One-liner fixes for tee, portage_checksum, and bintree ebuilds.y


Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 16 20:06:38 2004 UTC (10 years, 1 month ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_pre19, portage_2_0_51_pre20, portage_2_0_51_pre22, portage_2_0_51_pre23, portage_2_0_51_pre24, portage_2_0_51_rc1
Changes since 1.1: +18 -11 lines
Diff to previous 1.1
Traceback and permission fixes for GPG.


Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 15 05:33:57 2004 UTC (10 years, 1 month ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_pre18
GPG verification and some migration of code to smaller modules.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Sticky Tag:

  ViewVC Help
Powered by ViewVC 1.1.20