This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
temporary fixes to get rid of the zope.app.http and zope.app.exceptio…
…n dependencies
- Loading branch information
1 parent
26ca160
commit 50ea9c1
Showing
6 changed files
with
82 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,23 @@ | ||
[buildout] | ||
extends = http://svn.zope.org/repos/main/groktoolkit/trunk/grok.cfg | ||
develop = . | ||
parts = | ||
test | ||
omelette | ||
develop = | ||
. | ||
versions = versions | ||
extensions = | ||
buildout.dumppickedversions | ||
mr.developer | ||
|
||
sources = sources | ||
auto-checkout = | ||
grokcore.traverser | ||
|
||
[sources] | ||
grokcore.traverser = svn http://svn.zope.org/repos/main/grokcore.traverser/trunk | ||
|
||
|
||
[omelette] | ||
recipe = collective.recipe.omelette | ||
eggs = ${test:eggs} | ||
test | ||
omelette | ||
extensions = | ||
buildout.dumppickedversions | ||
mr.developer | ||
|
||
[versions] | ||
grokcore.rest = | ||
|
||
[test] | ||
recipe = zc.recipe.testrunner | ||
eggs = | ||
grokcore.rest | ||
grokcore.rest[test] | ||
grokcore.rest | ||
grokcore.rest[test] | ||
defaults = ['--tests-pattern', '^f?tests$', '-v', '-c'] | ||
|
||
[omelette] | ||
recipe = collective.recipe.omelette | ||
eggs = ${test:eggs} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,42 @@ | ||
<configure | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:browser="http://namespaces.zope.org/browser" | ||
xmlns:grok="http://namespaces.zope.org/grok"> | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:browser="http://namespaces.zope.org/browser" | ||
xmlns:grok="http://namespaces.zope.org/grok"> | ||
|
||
<include file="meta.zcml" /> | ||
|
||
<!-- we register a ++rest++ traversal namespace --> | ||
<adapter | ||
factory=".rest.rest_skin" | ||
for="* zope.publisher.interfaces.browser.IHTTPRequest" | ||
provides="zope.traversing.interfaces.ITraversable" | ||
name="rest" | ||
/> | ||
factory=".rest.rest_skin" | ||
for="* zope.publisher.interfaces.browser.IHTTPRequest" | ||
provides="zope.traversing.interfaces.ITraversable" | ||
name="rest" | ||
/> | ||
|
||
<publisher | ||
name="HTTP" | ||
factory=".publication.GrokHTTPFactory" | ||
methods="*" | ||
mimetypes="*" | ||
priority="1" | ||
/> | ||
name="HTTP" | ||
factory=".publication.GrokHTTPFactory" | ||
methods="*" | ||
mimetypes="*" | ||
priority="1" | ||
/> | ||
|
||
<grok:grok package=".rest" /> | ||
|
||
<!-- | ||
XXX temporary registrations copied from zope.app.http.exception; | ||
awaiting a [zope|grokcore].errorview package. | ||
--> | ||
<browser:defaultView | ||
for="zope.security.interfaces.IUnauthorized" | ||
layer="zope.publisher.interfaces.http.IHTTPRequest" | ||
name="index.html" | ||
/> | ||
|
||
<browser:defaultView | ||
for="zope.publisher.interfaces.http.IMethodNotAllowed" | ||
layer="zope.publisher.interfaces.http.IHTTPRequest" | ||
name="index.html" | ||
/> | ||
|
||
</configure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters