E&S CVS Commit: PEAK - Use view registration to manage sub-locations. This means that we can

pje at eby-sarna.com pje at eby-sarna.com
Sun Oct 24 01:18:00 EDT 2004


Module Name:	PEAK
Committed By:	pje
Date:		Sun Oct 24 05:17:31 UTC 2004

Modified Files:
	PEAK/src/peak/web: environ.py places.py sitemaps.py
	PEAK/src/peak/web/tests: test_environ.py test_resources.py
	    test_sitemap.py

Log Message:
Use view registration to manage sub-locations.  This means that we can
now have <view> and <allow> against locations, all using the same conflict
manager as content views use.  That's the good news.  The bad news is that
this extension showed me just how fragile the underlying view registration
machinery is, what with the various multi-hour debugging sessions every
time I changed anything, however small.  So, the view registration system
will need to be replaced, but at least now all the code has been shepherded
into a few well-isolated areas.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/web/environ.py.diff?r1=1.19&r2=1.20
http://cvs.eby-sarna.com/PEAK/src/peak/web/places.py.diff?r1=1.41&r2=1.42
http://cvs.eby-sarna.com/PEAK/src/peak/web/sitemaps.py.diff?r1=1.10&r2=1.11
http://cvs.eby-sarna.com/PEAK/src/peak/web/tests/test_environ.py.diff?r1=1.16&r2=1.17
http://cvs.eby-sarna.com/PEAK/src/peak/web/tests/test_resources.py.diff?r1=1.15&r2=1.16
http://cvs.eby-sarna.com/PEAK/src/peak/web/tests/test_sitemap.py.diff?r1=1.10&r2=1.11

To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 PEAK/src/peak/web/environ.py
cvs rdiff -r1.41 -r1.42 PEAK/src/peak/web/places.py
cvs rdiff -r1.10 -r1.11 PEAK/src/peak/web/sitemaps.py
cvs rdiff -r1.16 -r1.17 PEAK/src/peak/web/tests/test_environ.py
cvs rdiff -r1.15 -r1.16 PEAK/src/peak/web/tests/test_resources.py
cvs rdiff -r1.10 -r1.11 PEAK/src/peak/web/tests/test_sitemap.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list