[Checkins] SVN: zf.zscp/trunk/src/zf/zscp/ Move needed views to
website/browser for
Roger Ineichen
roger at projekt01.ch
Mon Apr 10 18:21:24 EDT 2006
Log message for revision 66823:
Move needed views to website/browser for
fill it with dynamic content
Changed:
A zf.zscp/trunk/src/zf/zscp/doc/benefits.pt
D zf.zscp/trunk/src/zf/zscp/doc/benefits_intro.pt
U zf.zscp/trunk/src/zf/zscp/doc/configure.zcml
A zf.zscp/trunk/src/zf/zscp/doc/contribute.pt
D zf.zscp/trunk/src/zf/zscp/doc/contribute_intro.pt
D zf.zscp/trunk/src/zf/zscp/doc/packages_detail.pt
D zf.zscp/trunk/src/zf/zscp/doc/packages_intro.pt
D zf.zscp/trunk/src/zf/zscp/doc/packages_list.pt
D zf.zscp/trunk/src/zf/zscp/doc/packages_search.pt
D zf.zscp/trunk/src/zf/zscp/doc/packages_tips.pt
A zf.zscp/trunk/src/zf/zscp/doc/regulations.pt
D zf.zscp/trunk/src/zf/zscp/doc/regulations_intro.pt
A zf.zscp/trunk/src/zf/zscp/doc/repository.pt
D zf.zscp/trunk/src/zf/zscp/doc/repository_intro.pt
A zf.zscp/trunk/src/zf/zscp/doc/search_advanced.pt
A zf.zscp/trunk/src/zf/zscp/doc/search_tips.pt
U zf.zscp/trunk/src/zf/zscp/skin/browser/logo.pt
U zf.zscp/trunk/src/zf/zscp/skin/browser/menu.pt
U zf.zscp/trunk/src/zf/zscp/skin/browser/releases.pt
U zf.zscp/trunk/src/zf/zscp/skin/browser/search.pt
U zf.zscp/trunk/src/zf/zscp/skin/browser/template.pt
U zf.zscp/trunk/src/zf/zscp/skin/browser/viewlet.zcml
U zf.zscp/trunk/src/zf/zscp/skin/browser/views.py
U zf.zscp/trunk/src/zf/zscp/website/browser/package.py
U zf.zscp/trunk/src/zf/zscp/website/browser/package.zcml
A zf.zscp/trunk/src/zf/zscp/website/browser/package_index.pt
U zf.zscp/trunk/src/zf/zscp/website/browser/repository.py
U zf.zscp/trunk/src/zf/zscp/website/browser/site.py
U zf.zscp/trunk/src/zf/zscp/website/browser/site.zcml
A zf.zscp/trunk/src/zf/zscp/website/browser/site_packages.pt
A zf.zscp/trunk/src/zf/zscp/website/browser/site_search.pt
-=-
Copied: zf.zscp/trunk/src/zf/zscp/doc/benefits.pt (from rev 66799, zf.zscp/trunk/src/zf/zscp/doc/benefits_intro.pt)
Deleted: zf.zscp/trunk/src/zf/zscp/doc/benefits_intro.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/benefits_intro.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/doc/benefits_intro.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -1,62 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/view" i18n:domain="zf.zscp">
- <body>
- <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
-
- <div id="documentFirstHeading">Benefits from the ZSCP Process</div>
- <p>The two main goals of this proposal are to define a process of verifying
- package quality, called the Zope Software Certification Process (ZSCP),
- and to lay out a repository, called the Common Repository, that provides
- developers with a space to implement the process. As a direct consequence,
- it is anticipated that the various Zope development communities will
- reunite to develop a common, high-quality code base, by stressing the skill
- sets and best practices of each contributor. With Zope 3 as the communities'
- new base-technology, it is possible to easily share code among various
- projects, even if they are still Zope 2 based. Of course, as time passes, the
- distinction between Zope 2 and 3 will fade.</p>
- <p>Here are some specific items that are addressed in this document:</p>
- <h3 class="itemOne itemHeading">Well-defined Process, the Zope Software
- Certification Program (ZSCP)</h3>
- <p>The Zope 3 community has a semi-formal process in place to ensure the quality
- of packages in the core. However, this process does not extend to third party
- code, let alone code outside of the zope.org repository. On the other hand,
- Plone also uses the collective for core packages without any control over
- the process or quality. This proposal will define a process for ensuring the
- quality of packages and for upstream movement: in other words, the way a
- third-party package could become a core package.</p>
- <h3 class="itemTwo itemHeading">Repository Unification</h3>
- <p>Currently we have several repositories scattered around in many places.
- No-one has access to all the repositories and thus small code improvements
- are hard to make; the overhead is large. If one finds something wrong with the
- code, one either has to write a mail or create a bug report. And that often
- requires one to sign up to yet another mailing list or create a user account
- for yet another web site. Thus, this proposal suggests a common repository
- for all generically useful Zope 3 add-on packages.</p>
- <h3 class="itemThree itemHeading">Quality Packages</h3>
- <p>There is a natural desire for any developer to know what they are getting into
- when they are using a certain package, a baseline of quality that can be
- expected. While the Zope 3 community has some ideas of what that baseline is
- for the core, it is not well defined and applied uniformly. This proposal
- defines clear quality guidelines.</p>
- <h3 class="itemFour itemHeading">Clear Dependency Declarations</h3>
- <p>One of the greatest frustrations in the Zope community, especially in Plone,
- is the complex non-closed tree of dependencies of packages. While this
- issue cannot be solved for the entire community, this proposal provides an
- attempt to clearly define dependencies for the packages living in the
- official repository.</p>
- <h3 class="itemFive itemHeading">Common License</h3>
- <p>The Zope community at large uses mainly two licenses, the ZPL and the GPL.
- (Yes, other licenses are also used.) Dealing with multiple licenses is a
- pain, especially for Zope's consumers. This proposal discusses the
- current situation and proposes a resolution.</p>
- <h3 class="itemSix itemHeading">Marketing Effect</h3>
- <p>People commonly say, Zope does anti-marketing. And that is probably true.
- While a proposal like that cannot address this issue globally, it can at
- least address it from a technical/code-oriented side. It should be
- possible to use the certification of a package as a marketing tool. Of
- course, quality, clear dependencies, a common license, a predicatbale
- process, and having a one stop for all software are all marketting wins that
- are automatically achieved by implementing this proposal.</p>
-
- </div>
- </body>
-</html>
\ No newline at end of file
Modified: zf.zscp/trunk/src/zf/zscp/doc/configure.zcml
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/configure.zcml 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/doc/configure.zcml 2006-04-10 22:21:23 UTC (rev 66823)
@@ -2,7 +2,6 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="zf.zscp">
-
<browser:page
for="*"
@@ -10,15 +9,15 @@
permission="zope.Public"
template="about.pt"
layer="zf.zscp.skin.IZSCPLayer"
- />
+ />
<browser:page
for="*"
- name="benefits_intro.html"
+ name="benefits.html"
permission="zope.Public"
- template="benefits_intro.pt"
+ template="benefits.pt"
layer="zf.zscp.skin.IZSCPLayer"
- />
+ />
<browser:page
for="*"
@@ -26,13 +25,13 @@
permission="zope.Public"
template="contact.pt"
layer="zf.zscp.skin.IZSCPLayer"
- />
+ />
<browser:page
for="*"
- name="contribute_intro.html"
+ name="contribute.html"
permission="zope.Public"
- template="contribute_intro.pt"
+ template="contribute.pt"
layer="zf.zscp.skin.IZSCPLayer"
/>
@@ -42,63 +41,39 @@
permission="zope.Public"
template="glossary.pt"
layer="zf.zscp.skin.IZSCPLayer"
- />
-
- <browser:page
- for="*"
- name="packages_intro.html"
- permission="zope.Public"
- template="packages_intro.pt"
- layer="zf.zscp.skin.IZSCPLayer"
- />
+ />
<browser:page
for="*"
- name="packages_detail.html"
+ name="search_tips.html"
permission="zope.Public"
- template="packages_detail.pt"
+ template="search_tips.pt"
layer="zf.zscp.skin.IZSCPLayer"
/>
<browser:page
for="*"
- name="packages_list.html"
+ name="search_advanced.html"
permission="zope.Public"
- template="packages_list.pt"
+ template="search_advanced.pt"
layer="zf.zscp.skin.IZSCPLayer"
/>
<browser:page
for="*"
- name="packages_search.html"
+ name="regulations.html"
permission="zope.Public"
- template="packages_search.pt"
+ template="regulations.pt"
layer="zf.zscp.skin.IZSCPLayer"
- />
+ />
<browser:page
for="*"
- name="packages_tips.html"
- permission="zope.Public"
- template="packages_tips.pt"
- layer="zf.zscp.skin.IZSCPLayer"
- />
-
- <browser:page
- for="*"
- name="regulations_intro.html"
- permission="zope.Public"
- template="regulations_intro.pt"
- layer="zf.zscp.skin.IZSCPLayer"
- />
-
- <browser:page
- for="*"
name="regulations_page02.html"
permission="zope.Public"
template="regulations_page02.pt"
layer="zf.zscp.skin.IZSCPLayer"
- />
+ />
<browser:page
for="*"
@@ -158,11 +133,11 @@
<browser:page
for="*"
- name="repository_intro.html"
+ name="repository.html"
permission="zope.Public"
- template="repository_intro.pt"
+ template="repository.pt"
layer="zf.zscp.skin.IZSCPLayer"
- />
+ />
<browser:page
for="*"
@@ -235,4 +210,5 @@
template="revision_history.pt"
layer="zf.zscp.skin.IZSCPLayer"
/>
+
</configure>
Copied: zf.zscp/trunk/src/zf/zscp/doc/contribute.pt (from rev 66799, zf.zscp/trunk/src/zf/zscp/doc/contribute_intro.pt)
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/contribute_intro.pt 2006-04-10 17:01:51 UTC (rev 66799)
+++ zf.zscp/trunk/src/zf/zscp/doc/contribute.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -0,0 +1,18 @@
+<html metal:use-macro="context/@@standard_macros/view" i18n:domain="zf.zscp">
+ <body>
+ <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
+
+ <div id="documentFirstHeading">Contribute a Package</div>
+ <h3 class="itemOne itemHeading"><a href="@@register.html">Register a Packet</a></h3>
+ <div class="section">
+ <p><a href="@@register.html">Here</a> you can login and register a package for the ZSCP process.</p>
+ </div>
+ <h3 class="itemTwo itemHeading"> <a href="@@regulations.html">Regulations for the Zope
+ Software Certification Program</a> </h3>
+ <div class="section">
+ <p><a href="@@regulations.html">This</a> page describes the ZSCP in detail.</p>
+ </div>
+
+ </div>
+ </body>
+</html>
\ No newline at end of file
Deleted: zf.zscp/trunk/src/zf/zscp/doc/contribute_intro.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/contribute_intro.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/doc/contribute_intro.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -1,18 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/view" i18n:domain="zf.zscp">
- <body>
- <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
-
- <div id="documentFirstHeading">Contribute a Package</div>
- <h3 class="itemOne itemHeading"><a href="@@register.html">Register a Packet</a></h3>
- <div class="section">
- <p><a href="@@register.html">Here</a> you can login and register a package for the ZSCP process.</p>
- </div>
- <h3 class="itemTwo itemHeading"> <a href="@@regulations_intro.html">Regulations for the Zope
- Software Certification Program</a> </h3>
- <div class="section">
- <p><a href="@@regulations_intro.html">This</a> page describes the ZSCP in detail.</p>
- </div>
-
- </div>
- </body>
-</html>
\ No newline at end of file
Deleted: zf.zscp/trunk/src/zf/zscp/doc/packages_detail.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/packages_detail.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/doc/packages_detail.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -1,69 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/view"
- i18n:domain="zf.zscp">
- <body>
- <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
-
- <div id="documentFirstHeading">Package Detail for: TODO</div>
- <div id="package-wrapper">
- <!-- begin package tabs -->
- <div id="package-tabs">
- <div id="tab-info" class="packageTab selected"> <a href="#">
- Info</a>
- </div>
- <div id="tab-releases" class="packageTab"> <a href="#">
- Releases</a>
- </div>
- <div id="tab-classifiers" class="packageTab"> <a href="#">
- Classifiers</a>
- </div>
- </div>
- <!-- end package tabs -->
- <!-- begin package body -->
- <div id="package-info" class="packageBody">
-
- <!-- certification Seal (possible values: certified[Gold | Silver| Bronze]) -->
- <div id="certifiedSilver" class="certSeal">
- </div>
- <div class="infoRow">
- <label>Name:</label>
- <div class="infoString">zope.search (Zope Search)</div>
- </div>
- <div class="infoRow">
- <label>Certification:</label>
- <div class="infoString">
- <span class="silverText">Silver</span> (January 31,
- 2006)</div>
- </div>
- <div class="infoRow">
- <label>Summary:</label>
- <div class="infoString">Zope Search UI Package</div>
- </div>
- <div class="infoRow">
- <label>License:</label>
- <div class="infoString">ZPL</div>
- </div>
- <div class="infoRow">
- <label>Author(s):</label>
- <div class="infoString">Stephan Richter (stephan.richter
- [at] tufts.edu)</div>
- </div>
- <div class="infoRow">
- <label>Homepage:</label>
- <div class="infoString"> <a
- href="http://www.zope.org/Products/zope.search">
- http://www.zope.org/Products/zope.search</a>
- </div>
- </div>
- <div class="infoRow">
- <label>Description:</label>
- <div class="infoString"> The Zope search package provides
- generic user interface components, such as live search and
- advanced search forms. </div>
- </div>
- </div>
- <!-- end package body -->
- </div>
-
- </div>
- </body>
-</html>
\ No newline at end of file
Deleted: zf.zscp/trunk/src/zf/zscp/doc/packages_intro.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/packages_intro.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/doc/packages_intro.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -1,12 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/view"
- i18n:domain="zf.zscp">
- <body>
- <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
-
- <div id="documentFirstHeading">Package List</div> TODO
- <br />
- <a href="@@packages_list.html">package list</a>
-
- </div>
- </body>
-</html>
\ No newline at end of file
Deleted: zf.zscp/trunk/src/zf/zscp/doc/packages_list.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/packages_list.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/doc/packages_list.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -1,10 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/view" i18n:domain="zf.zscp">
- <body>
- <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
-
- <div id="documentFirstHeading">Package List</div> TODO
- <br /> <a href="@@packages_detail.html">package detail</a>
-
- </div>
- </body>
-</html>
\ No newline at end of file
Deleted: zf.zscp/trunk/src/zf/zscp/doc/packages_search.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/packages_search.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/doc/packages_search.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -1,11 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/view"
- i18n:domain="zf.zscp">
- <body>
- <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
-
- <div id="documentFirstHeading">Package Search</div>
-
- </div>
- </body>
-
-</html>
\ No newline at end of file
Deleted: zf.zscp/trunk/src/zf/zscp/doc/packages_tips.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/packages_tips.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/doc/packages_tips.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -1,11 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/view"
- i18n:domain="zf.zscp">
- <body>
- <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
-
- <div id="documentFirstHeading">Package Search Tips</div>
-
- </div>
- </body>
-
-</html>
\ No newline at end of file
Copied: zf.zscp/trunk/src/zf/zscp/doc/regulations.pt (from rev 66799, zf.zscp/trunk/src/zf/zscp/doc/regulations_intro.pt)
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/regulations_intro.pt 2006-04-10 17:01:51 UTC (rev 66799)
+++ zf.zscp/trunk/src/zf/zscp/doc/regulations.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -0,0 +1,34 @@
+<html metal:use-macro="context/@@standard_macros/view" i18n:domain="zf.zscp">
+ <body>
+ <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
+
+ <div id="documentFirstHeading">Regulations (1of 8) The Zope Software
+ Certification Program and the Common Repository</div>
+ <h3 class="itemOne itemHeading">Zope Community Process</h3>
+ <p>This section describes the process for Zope-related software to receive
+ quality certification.</p>
+
+ <p>Historically, the Zope community had no development process. This was in
+ part because the development of Zope 2 was controlled by Digital Creations
+ (now Zope Corporation) and testing-automation tools were not available at
+ that time. Also, Zope 2 lacked the necessary documentation. All this lead to
+ an accepted misuse of the API and often low quality software.</p>
+ <p>With the advent of Zope 3, procedures were set in place to ensure the quality
+ and documentation of the code. Guided by eXtreme Programming practices,
+ sprints were organized to educate the Zope community about the project and
+ have high-productivity development time, proposals were introduced to
+ ensure the proper discussion of a feature before implementation, and tests
+ were required to ensure the overall quality of the code base. This
+ development process is called the Zope Community Process.</p>
+ <p>While the Zope Community Process provides an excellent method for
+ developing community-driven projects like Zope 3, it (a) does not show how
+ to produce simple high-quality packages, (b) measure the quality, and (c)
+ communicate the state of a package to outsiders. The goal of the Zope
+ Software Certification Program (ZSCP) is (a) to clearly define the levels
+ of software quality using a metric system and (b) to communicate this
+ information to our users, customers, and prospective customers.</p>
+ <a href="@@regulations_page02.html">Next Page: ...</a>
+
+ </div>
+ </body>
+</html>
\ No newline at end of file
Deleted: zf.zscp/trunk/src/zf/zscp/doc/regulations_intro.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/regulations_intro.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/doc/regulations_intro.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -1,34 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/view" i18n:domain="zf.zscp">
- <body>
- <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
-
- <div id="documentFirstHeading">Regulations (1of 8) The Zope Software
- Certification Program and the Common Repository</div>
- <h3 class="itemOne itemHeading">Zope Community Process</h3>
- <p>This section describes the process for Zope-related software to receive
- quality certification.</p>
-
- <p>Historically, the Zope community had no development process. This was in
- part because the development of Zope 2 was controlled by Digital Creations
- (now Zope Corporation) and testing-automation tools were not available at
- that time. Also, Zope 2 lacked the necessary documentation. All this lead to
- an accepted misuse of the API and often low quality software.</p>
- <p>With the advent of Zope 3, procedures were set in place to ensure the quality
- and documentation of the code. Guided by eXtreme Programming practices,
- sprints were organized to educate the Zope community about the project and
- have high-productivity development time, proposals were introduced to
- ensure the proper discussion of a feature before implementation, and tests
- were required to ensure the overall quality of the code base. This
- development process is called the Zope Community Process.</p>
- <p>While the Zope Community Process provides an excellent method for
- developing community-driven projects like Zope 3, it (a) does not show how
- to produce simple high-quality packages, (b) measure the quality, and (c)
- communicate the state of a package to outsiders. The goal of the Zope
- Software Certification Program (ZSCP) is (a) to clearly define the levels
- of software quality using a metric system and (b) to communicate this
- information to our users, customers, and prospective customers.</p>
- <a href="@@regulations_page02.html">Next Page: ...</a>
-
- </div>
- </body>
-</html>
\ No newline at end of file
Copied: zf.zscp/trunk/src/zf/zscp/doc/repository.pt (from rev 66799, zf.zscp/trunk/src/zf/zscp/doc/repository_intro.pt)
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/repository_intro.pt 2006-04-10 17:01:51 UTC (rev 66799)
+++ zf.zscp/trunk/src/zf/zscp/doc/repository.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -0,0 +1,35 @@
+<html metal:use-macro="context/@@standard_macros/view"
+ i18n:domain="zf.zscp">
+ <body>
+ <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
+
+ <div id="documentFirstHeading">Layout of the Common Repository (1 of 8)</div>
+ <p>This section describes <em>one</em> open community-repository that
+ implements the ZSCP process.</p>
+ <h3 class="itemOne itemHeading">Definition</h3>
+ <p>The Common Repository is a Zope Foundation SVN repository for third-party Zope
+ packages, which are useful for a wide variety of applications, but that do not fit
+ into the Zope core distribution. Common examples for those packages include
+ advanced Javascript-based widgets, alternative templating systems,
+ specific content types, etc.</p>
+ <p>The existing <tt class="docutils literal">
+ <span class="pre">svn://svn.zope.org/repos/main</span></tt> will serve
+ as the Common Repository. Every package in the common repository <em>must</em>
+ conform at least to the layout as described in section 3.2. If a package wishes to
+ participate in the ZSCP, then it must also conform to the program's process. The
+ implementation details of the ZSCP process are provided in the sections
+ below.</p>
+ <p>The Common Repository is only <em>one</em> implementation of the ZSCP. While the
+ Common Repository implements the ZSCP guidelines and suggested automation
+ tools, the ZSCP process itself does <em>not</em> require the Common
+ Repository.</p>
+ <p>Unless otherwise stated, certified packages will automatically be released
+ with every new Zope release. This, on the other hand, will greatly simplify the
+ dependency tree for Common Repository based packages.</p>
+
+ <a href="@@repository_page02.html">Next Page: Layout</a>
+
+ </div>
+ </body>
+
+</html>
\ No newline at end of file
Deleted: zf.zscp/trunk/src/zf/zscp/doc/repository_intro.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/repository_intro.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/doc/repository_intro.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -1,35 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/view"
- i18n:domain="zf.zscp">
- <body>
- <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
-
- <div id="documentFirstHeading">Layout of the Common Repository (1 of 8)</div>
- <p>This section describes <em>one</em> open community-repository that
- implements the ZSCP process.</p>
- <h3 class="itemOne itemHeading">Definition</h3>
- <p>The Common Repository is a Zope Foundation SVN repository for third-party Zope
- packages, which are useful for a wide variety of applications, but that do not fit
- into the Zope core distribution. Common examples for those packages include
- advanced Javascript-based widgets, alternative templating systems,
- specific content types, etc.</p>
- <p>The existing <tt class="docutils literal">
- <span class="pre">svn://svn.zope.org/repos/main</span></tt> will serve
- as the Common Repository. Every package in the common repository <em>must</em>
- conform at least to the layout as described in section 3.2. If a package wishes to
- participate in the ZSCP, then it must also conform to the program's process. The
- implementation details of the ZSCP process are provided in the sections
- below.</p>
- <p>The Common Repository is only <em>one</em> implementation of the ZSCP. While the
- Common Repository implements the ZSCP guidelines and suggested automation
- tools, the ZSCP process itself does <em>not</em> require the Common
- Repository.</p>
- <p>Unless otherwise stated, certified packages will automatically be released
- with every new Zope release. This, on the other hand, will greatly simplify the
- dependency tree for Common Repository based packages.</p>
-
- <a href="@@repository_page02.html">Next Page: Layout</a>
-
- </div>
- </body>
-
-</html>
\ No newline at end of file
Added: zf.zscp/trunk/src/zf/zscp/doc/search_advanced.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/search_advanced.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/doc/search_advanced.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -0,0 +1,11 @@
+<html metal:use-macro="context/@@standard_macros/view"
+ i18n:domain="zf.zscp">
+ <body>
+ <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
+
+ <div id="documentFirstHeading">Package Search</div>
+
+ </div>
+ </body>
+
+</html>
\ No newline at end of file
Property changes on: zf.zscp/trunk/src/zf/zscp/doc/search_advanced.pt
___________________________________________________________________
Name: svn:eol-style
+ native
Added: zf.zscp/trunk/src/zf/zscp/doc/search_tips.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/doc/search_tips.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/doc/search_tips.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -0,0 +1,11 @@
+<html metal:use-macro="context/@@standard_macros/view"
+ i18n:domain="zf.zscp">
+ <body>
+ <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
+
+ <div id="documentFirstHeading">Package Search Tips</div>
+
+ </div>
+ </body>
+
+</html>
\ No newline at end of file
Property changes on: zf.zscp/trunk/src/zf/zscp/doc/search_tips.pt
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: zf.zscp/trunk/src/zf/zscp/skin/browser/logo.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/skin/browser/logo.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/skin/browser/logo.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -5,7 +5,7 @@
<div id="homeImageTopRight">
</div>
<!-- "Packages, Benefits, Contribute" links overlaying image -->
- <a href="@@packages_intro.html" id="homePackagesLink" class="homeImgOverlay"></a>
- <a href="@@benefits_intro.html" id="homeBenefitsLink" class="homeImgOverlay"></a>
- <a href="@@contribute_intro.html" id="homeContributeLink" class="homeImgOverlay"></a>
+ <a href="@@packages.html" id="homePackagesLink" class="homeImgOverlay"></a>
+ <a href="@@benefits.html" id="homeBenefitsLink" class="homeImgOverlay"></a>
+ <a href="@@contribute.html" id="homeContributeLink" class="homeImgOverlay"></a>
</div>
\ No newline at end of file
Modified: zf.zscp/trunk/src/zf/zscp/skin/browser/menu.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/skin/browser/menu.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/skin/browser/menu.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -1,22 +1,28 @@
-<div id="viewlet-navigation" class="viewlet">
+<div id="viewlet-navigation" class="viewlet"
+ tal:define="siteURL view/siteURL">
<div class="viewletHeader">
<div class="vlHeaderText">Navigation</div>
</div>
<div class="viewletBody">
<div class="navTreeItem">
- <a href="@@benefits_intro.html">Benefits</a>
+ <a href="@@benefits.html"
+ tal:attributes="href string:${siteURL}/@@benefits.html">Benefits</a>
</div>
<div class="navTreeItem">
- <a href="@@contribute_intro.html">Contribute</a>
+ <a href="@@contribute.html"
+ tal:attributes="href string:${siteURL}/@@contribute.html">Contribute</a>
</div>
<div class="navTreeItem">
- <a href="@@packages_intro.html">Package List</a>
+ <a href="@@packages.html"
+ tal:attributes="href string:${siteURL}/@@packages.html">Package List</a>
</div>
<div class="navTreeItem">
- <a href="@@regulations_intro.html">Regulations</a>
+ <a href="@@regulations.html"
+ tal:attributes="href string:${siteURL}/@@regulations.html">Regulations</a>
</div>
<div class="navTreeItem">
- <a href="@@repository_intro.html">Repository Layout</a>
+ <a href="@@repository.html"
+ tal:attributes="href string:${siteURL}/@@repository.html">Repository Layout</a>
</div>
</div>
</div>
\ No newline at end of file
Modified: zf.zscp/trunk/src/zf/zscp/skin/browser/releases.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/skin/browser/releases.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/skin/browser/releases.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -1,4 +1,5 @@
-<div id="viewlet-releases" class="viewlet">
+<div id="viewlet-releases" class="viewlet"
+ tal:define="siteURL view/siteURL">
<div class="viewletHeader">
<div class="vlHeaderText">Latest Releases</div>
</div>
@@ -7,8 +8,8 @@
<a href="#">Zope 3.2.1</a>
</div>
<div class="moreLink">
- <a href="@@packages_list.html"
- class="moreButton"></a>
+ <a href="@@packages.html" class="moreButton"
+ tal:attributes="href string:${siteURL}/@@packages.html"></a>
</div>
</div>
</div>
\ No newline at end of file
Modified: zf.zscp/trunk/src/zf/zscp/skin/browser/search.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/skin/browser/search.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/skin/browser/search.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -1,4 +1,5 @@
-<div id="viewlet-quicksearch" class="viewlet">
+<div id="viewlet-quicksearch" class="viewlet"
+ tal:define="siteURL view/siteURL">
<div class="viewletHeader">
<div class="vlHeaderText">Quick Search</div>
</div>
@@ -10,10 +11,12 @@
src="/++skin++ZSCP/@@/img/go.png"/>
</form>
<div id="advanced-search" class="searchHelper">
- <a href="@@packages_search.html">Advanced Search</a>
+ <a href="@@search_advanced.html"
+ tal:attributes="href string:${siteURL}/@@search_advanced.html">Advanced Search</a>
</div>
<div id="search-tips" class="searchHelper">
- <a href="@@packages_tips.html">Search Tips</a>
+ <a href="@@search_tips.html"
+ tal:attributes="href string:${siteURL}/@@search_tips.html">Search Tips</a>
</div>
</div>
</div>
\ No newline at end of file
Modified: zf.zscp/trunk/src/zf/zscp/skin/browser/template.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/skin/browser/template.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/skin/browser/template.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -80,7 +80,7 @@
<a href="@@about.html">here</a>.
</div>
<div id="footer-right">
- Design by <a href="http://www.adaptivewave.com">AdaptiveWave</a>
+ Design by <a href="http://www.adaptivewave.com" target="_blank">AdaptiveWave</a>
</div>
<div id="footer-left">
<span class="footerItem">Copyright © 2006, Zope Foundation. All rights reserved.</span>
Modified: zf.zscp/trunk/src/zf/zscp/skin/browser/viewlet.zcml
===================================================================
--- zf.zscp/trunk/src/zf/zscp/skin/browser/viewlet.zcml 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/skin/browser/viewlet.zcml 2006-04-10 22:21:23 UTC (rev 66823)
@@ -7,7 +7,7 @@
name="menu"
for="*"
manager="zf.zscp.skin.ILeft"
- template="menu.pt"
+ class=".views.MenuViewlet"
permission="zope.Public"
layer="zf.zscp.skin.IZSCPLayer"
weight="1"
@@ -17,7 +17,7 @@
name="search"
for="*"
manager="zf.zscp.skin.ILeft"
- template="search.pt"
+ class=".views.SearchViewlet"
permission="zope.Public"
layer="zf.zscp.skin.IZSCPLayer"
weight="2"
@@ -27,7 +27,7 @@
name="releases"
for="*"
manager="zf.zscp.skin.ILeft"
- template="releases.pt"
+ class=".views.ReleaseViewlet"
permission="zope.Public"
layer="zf.zscp.skin.IZSCPLayer"
weight="3"
Modified: zf.zscp/trunk/src/zf/zscp/skin/browser/views.py
===================================================================
--- zf.zscp/trunk/src/zf/zscp/skin/browser/views.py 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/skin/browser/views.py 2006-04-10 22:21:23 UTC (rev 66823)
@@ -18,12 +18,29 @@
from zope.interface import implements
from zope.contentprovider.interfaces import IContentProvider
+from zope.viewlet.viewlet import ViewletBase
+from zope.app.component.hooks import getSite
+from zope.app.traversing.browser.absoluteurl import absoluteURL
from zope.app.pagetemplate import ViewPageTemplateFile
from zf.zscp.website.browser.site import ISiteIndex
+from zf.zscp.website.interfaces import IZSCPSite
+def siteURL(context, request):
+ site = None
+ if IZSCPSite.providedBy(context):
+ site = context
+ elif site is None:
+ site = getSite()
+
+ if site is not None:
+ return absoluteURL(site, request)
+ else:
+ # fallback if the skin get called above the IZSCPSite
+ return u""
+
class BreadcrumbProvider(object):
"""Provides a breadcrumb."""
@@ -44,10 +61,9 @@
"""Returns the template."""
if ISiteIndex.providedBy(self.view):
return u""
- return self.template()
+ return self.template()
-
class LogoProvider(object):
"""Provides a logo."""
@@ -70,3 +86,50 @@
return self.template()
return u""
+
+class MenuViewlet(ViewletBase):
+ """Provides info for the menu box."""
+
+ template = ViewPageTemplateFile('menu.pt')
+
+ def update(self):
+ """Update."""
+ pass
+
+ def render(self):
+ return self.template()
+
+ def siteURL(self):
+ return siteURL(self.context, self.request)
+
+
+class SearchViewlet(ViewletBase):
+ """Provides info for the search box."""
+
+ template = ViewPageTemplateFile('search.pt')
+
+ def update(self):
+ """Update."""
+ pass
+
+ def render(self):
+ return self.template()
+
+ def siteURL(self):
+ return siteURL(self.context, self.request)
+
+
+class ReleaseViewlet(ViewletBase):
+ """Provides info for the release box."""
+
+ template = ViewPageTemplateFile('releases.pt')
+
+ def update(self):
+ """Update."""
+ pass
+
+ def render(self):
+ return self.template()
+
+ def siteURL(self):
+ return siteURL(self.context, self.request)
Modified: zf.zscp/trunk/src/zf/zscp/website/browser/package.py
===================================================================
--- zf.zscp/trunk/src/zf/zscp/website/browser/package.py 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/website/browser/package.py 2006-04-10 22:21:23 UTC (rev 66823)
@@ -17,9 +17,11 @@
"""
from zope.formlib import form
+from zope.formlib import page
from zf.zscp.interfaces import IPublication
from zf.zscp.interfaces import IRelease
from zf.zscp.interfaces import ICertification
+from zope.app.pagetemplate import ViewPageTemplateFile
class PackageEditForm(form.EditForm):
@@ -38,3 +40,17 @@
result = super(PackageEditForm, self).update()
if result is None:
self.context.__parent__.update(self.context)
+
+
+
+class PackageIndex(page.Page):
+ """Detail view for a single package."""
+
+ template = ViewPageTemplateFile('package_index.pt')
+
+ def update(self):
+ pass
+
+ def __call__(self):
+ self.update()
+ return self.template()
Modified: zf.zscp/trunk/src/zf/zscp/website/browser/package.zcml
===================================================================
--- zf.zscp/trunk/src/zf/zscp/website/browser/package.zcml 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/website/browser/package.zcml 2006-04-10 22:21:23 UTC (rev 66823)
@@ -10,4 +10,12 @@
permission="zope.ManageContent"
/>
+ <page
+ name="index.html"
+ for="zf.zscp.interfaces.IPackage"
+ class=".package.PackageIndex"
+ permission="zope.Public"
+ layer="zf.zscp.skin.IZSCPLayer"
+ />
+
</configure>
Added: zf.zscp/trunk/src/zf/zscp/website/browser/package_index.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/website/browser/package_index.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/website/browser/package_index.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -0,0 +1,69 @@
+<html metal:use-macro="context/@@standard_macros/view"
+ i18n:domain="zf.zscp">
+ <body>
+ <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
+
+ <div id="documentFirstHeading">Package Detail for: TODO</div>
+ <div id="package-wrapper">
+ <!-- begin package tabs -->
+ <div id="package-tabs">
+ <div id="tab-info" class="packageTab selected"> <a href="#">
+ Info</a>
+ </div>
+ <div id="tab-releases" class="packageTab"> <a href="#">
+ Releases</a>
+ </div>
+ <div id="tab-classifiers" class="packageTab"> <a href="#">
+ Classifiers</a>
+ </div>
+ </div>
+ <!-- end package tabs -->
+ <!-- begin package body -->
+ <div id="package-info" class="packageBody">
+
+ <!-- certification Seal (possible values: certified[Gold | Silver| Bronze]) -->
+ <div id="certifiedSilver" class="certSeal">
+ </div>
+ <div class="infoRow">
+ <label>Name:</label>
+ <div class="infoString">zope.search (Zope Search)</div>
+ </div>
+ <div class="infoRow">
+ <label>Certification:</label>
+ <div class="infoString">
+ <span class="silverText">Silver</span> (January 31,
+ 2006)</div>
+ </div>
+ <div class="infoRow">
+ <label>Summary:</label>
+ <div class="infoString">Zope Search UI Package</div>
+ </div>
+ <div class="infoRow">
+ <label>License:</label>
+ <div class="infoString">ZPL</div>
+ </div>
+ <div class="infoRow">
+ <label>Author(s):</label>
+ <div class="infoString">Stephan Richter (stephan.richter
+ [at] tufts.edu)</div>
+ </div>
+ <div class="infoRow">
+ <label>Homepage:</label>
+ <div class="infoString"> <a
+ href="http://www.zope.org/Products/zope.search">
+ http://www.zope.org/Products/zope.search</a>
+ </div>
+ </div>
+ <div class="infoRow">
+ <label>Description:</label>
+ <div class="infoString"> The Zope search package provides
+ generic user interface components, such as live search and
+ advanced search forms. </div>
+ </div>
+ </div>
+ <!-- end package body -->
+ </div>
+
+ </div>
+ </body>
+</html>
\ No newline at end of file
Property changes on: zf.zscp/trunk/src/zf/zscp/website/browser/package_index.pt
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: zf.zscp/trunk/src/zf/zscp/website/browser/repository.py
===================================================================
--- zf.zscp/trunk/src/zf/zscp/website/browser/repository.py 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/website/browser/repository.py 2006-04-10 22:21:23 UTC (rev 66823)
@@ -21,7 +21,6 @@
from zope.formlib import form
from zope.app.event import objectevent
-#from zope.app.pagetemplate import ViewPageTemplateFile
from zf.zscp.interfaces import IPublication
from zf.zscp.package import Package
@@ -35,8 +34,6 @@
form_fields = form.Fields(IPublication).select('packageName', 'name',
'summary', 'author', 'authorEmail', 'license', 'metadataVersion')
-# template = ViewPageTemplateFile('package_add.pt')
-
def createAndAdd(self, data):
# the object name
Modified: zf.zscp/trunk/src/zf/zscp/website/browser/site.py
===================================================================
--- zf.zscp/trunk/src/zf/zscp/website/browser/site.py 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/website/browser/site.py 2006-04-10 22:21:23 UTC (rev 66823)
@@ -19,6 +19,8 @@
from zope.interface import Interface
from zope.interface import implements
from zope.formlib import page
+from zope.app.traversing.browser.absoluteurl import absoluteURL
+from zope.app.pagetemplate import ViewPageTemplateFile
class ISiteIndex(Interface):
@@ -32,3 +34,30 @@
"""Index for IZSCPSite"""
implements(ISiteIndex)
+
+
+
+class PackageList(page.Page):
+ """Show a list of packages."""
+
+ template = ViewPageTemplateFile('site_packages.pt')
+
+ def __init__(self, context, request):
+ super(PackageList, self).__init__(context, request)
+ self.packageInfos = []
+
+ def __call__(self):
+ self.update()
+ return self.template()
+
+ def update(self):
+ for repos in self.context.values():
+ reposURL = absoluteURL(repos, self.request)
+ for name in repos.keys():
+ info = {}
+ info['name'] = name
+ info['url'] = reposURL + '/' + name
+ self.packageInfos.append(info)
+
+ def getPackageInfo(self):
+ return self.packageInfos
Modified: zf.zscp/trunk/src/zf/zscp/website/browser/site.zcml
===================================================================
--- zf.zscp/trunk/src/zf/zscp/website/browser/site.zcml 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/website/browser/site.zcml 2006-04-10 22:21:23 UTC (rev 66823)
@@ -26,6 +26,14 @@
layer="zf.zscp.skin.IZSCPLayer"
/>
+ <page
+ name="packages.html"
+ for="zf.zscp.website.interfaces.IZSCPSite"
+ class=".site.PackageList"
+ permission="zope.Public"
+ layer="zf.zscp.skin.IZSCPLayer"
+ />
+
<icon
name="zmi_icon"
for="zf.zscp.website.interfaces.IZSCPSite"
Added: zf.zscp/trunk/src/zf/zscp/website/browser/site_packages.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/website/browser/site_packages.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/website/browser/site_packages.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -0,0 +1,12 @@
+<html metal:use-macro="context/@@standard_macros/page">
+<body>
+<div align="center" metal:fill-slot="body">
+<div id="documentFirstHeading">Package List</div>
+ <div tal:repeat="info view/getPackageInfo">
+ <a href="#"
+ tal:content="info/name"
+ tal:attributes="href info/url">name</a>
+ </div>
+</div>
+</body>
+</html>
Property changes on: zf.zscp/trunk/src/zf/zscp/website/browser/site_packages.pt
___________________________________________________________________
Name: svn:eol-style
+ native
Added: zf.zscp/trunk/src/zf/zscp/website/browser/site_search.pt
===================================================================
--- zf.zscp/trunk/src/zf/zscp/website/browser/site_search.pt 2006-04-10 22:20:59 UTC (rev 66822)
+++ zf.zscp/trunk/src/zf/zscp/website/browser/site_search.pt 2006-04-10 22:21:23 UTC (rev 66823)
@@ -0,0 +1,11 @@
+<html metal:use-macro="context/@@standard_macros/view"
+ i18n:domain="zf.zscp">
+ <body>
+ <div metal:fill-slot="body" tal:define="global pageversion string: 0.8">
+
+ <div id="documentFirstHeading">Package Search</div>
+
+ </div>
+ </body>
+
+</html>
\ No newline at end of file
Property changes on: zf.zscp/trunk/src/zf/zscp/website/browser/site_search.pt
___________________________________________________________________
Name: svn:eol-style
+ native
More information about the Checkins
mailing list