[Checkins] SVN: zope.release/branches/3.4/ Move templates directory into the code, so that it will be distributed.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Jan 28 22:18:56 EST 2009
Log message for revision 95365:
Move templates directory into the code, so that it will be distributed.
Changed:
A zope.release/branches/3.4/src/zope/release/templates/
D zope.release/branches/3.4/src/zope/release/templates/VERSION/
A zope.release/branches/3.4/src/zope/release/templates/VERSION/
D zope.release/branches/3.4/src/zope/release/templates/intro.html
A zope.release/branches/3.4/src/zope/release/templates/intro.html
D zope.release/branches/3.4/src/zope/release/templates/master.pt
A zope.release/branches/3.4/src/zope/release/templates/master.pt
D zope.release/branches/3.4/templates/
-=-
Deleted: zope.release/branches/3.4/src/zope/release/templates/intro.html
===================================================================
--- zope.release/branches/3.4/templates/intro.html 2009-01-27 14:10:55 UTC (rev 95201)
+++ zope.release/branches/3.4/src/zope/release/templates/intro.html 2009-01-29 03:18:56 UTC (rev 95365)
@@ -1,113 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
- metal:use-macro="templates/master.pt/macros/page">
- <head>
- <title metal:fill-slot="page-title">Zope 3 Known Good Sets</title>
- </head>
- <body>
- <div metal:fill-slot="divider">
- Check out the latest version
- (<span tal:replace="latest/name"
- tal:condition="not:latest/announcement/url">
- </span><a href="#"
- tal:attributes="href latest/announcement/url"
- tal:condition="latest/announcement/url"
- tal:content="latest/name">
- 3.4.0
- </a>)
- released on <span tal:content="latest/date"/>:
- <a href="#"
- tal:attributes="href latest/changelog/url"
- tal:condition="latest/changelog/url">
- Changes
- </a>
- </div>
-
- <div metal:fill-slot="content">
- <h1 id="content-header">Known Good Sets</h1>
-
- <h2>Usage</h2>
-
- <p>
- This KGS was designed to work with many of the tools developed to
- manage and install Python pacakges. The following sub-sections will
- explain its use in more detail.
- </p>
-
- <h3>The Index</h3>
-
- <p>
- You can use the index directly. It then behaves exactly like
- <a href="http://pypi.python.org/simple">http://pypi.python.org/simple</a>,
- except that only the good versions of the controlled packages are
- available. The advantage of using the KGS as an index is that you get
- bug fixes automatically.
- </p>
-
- <ul>
- <li>
- <div>In <strong>Buildout</strong> you can set this index in your <code>buildout.cfg</code> file:</div>
- <pre>
-[buildout]
-index = http://download.project.org/kgs
-...</pre>
- </li>
- <li>
- <div>With <strong>SetupTools</strong> you can specify the index as a command line option to the <code>easy_install</code> command:</div>
- <pre>$ easy_install -i http://download.project.org/kgs mypackage</pre>
- </li>
- </ul>
-
- <h3>Nailed or Pinned Versions</h3>
-
- <p>
- When deploying an application, it is often important to nail or pin down
- the versions of all used packages, so that it can be guaranteed that the
- setup is identical all the time.
- </p>
-
- <ul>
- <li>
- <div>In <strong>Buildout</strong>, the versions can be specified in the <code>buildout.cfg</code> file like this by either copying the contents of <code>versions-*.cfg</code> or referencing it with the <code>extends</code> option:</div>
- <pre>
-[buildout]
-versions = versions
-...
-[version]
-zope.interface = 3.4.0
-<copy the contents of versions-*.cfg here></pre>
- or
- <pre>
-[buildout]
-extends = http://download.project.org/kgs/versions-1.0.0.cfg</pre>
- </li>
- <li>
- <div><strong>SetupTools</strong> itself cannot use the <code>version.cfg</code>
- file.</div>
- </li>
- </ul>
-
- <h3>Find Links</h3>
-
- <p>
- The way of providing the installation tools with additional locations to
- look for packages is via find links. Those URLs are expected to be an
- HTML page with links to files or files directly.
- </p>
-
- <ul>
- <li>
- <div>Buildout, <code>buildout.cfg</code>:</div>
- <pre>
-[buildout]
-find-links = http://download.project.org/kgs/links.html
-...</pre>
- </li>
- <li>
- <div>Setup Tools, <code>easy_install</code></div>
- <pre>$ easy_install -f http://download.project.org/kgs/links.html mypackage</pre>
- </li>
- </ul>
- </div>
- </body>
-</html>
Copied: zope.release/branches/3.4/src/zope/release/templates/intro.html (from rev 95364, zope.release/branches/3.4/templates/intro.html)
===================================================================
--- zope.release/branches/3.4/src/zope/release/templates/intro.html (rev 0)
+++ zope.release/branches/3.4/src/zope/release/templates/intro.html 2009-01-29 03:18:56 UTC (rev 95365)
@@ -0,0 +1,123 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
+ metal:use-macro="templates/master.pt/macros/page">
+ <head>
+ <title metal:fill-slot="page-title">Zope 3 Known Good Sets</title>
+ </head>
+ <body>
+ <div metal:fill-slot="divider">
+ Check out the latest version
+ (<span tal:replace="latest/name"
+ tal:condition="not:latest/announcement/url">
+ </span><a href="#"
+ tal:attributes="href latest/announcement/url"
+ tal:condition="latest/announcement/url"
+ tal:content="latest/name">
+ 3.4.0
+ </a>)
+ released on <span tal:content="latest/date"/>:
+ <a href="#"
+ tal:attributes="href latest/changelog/url"
+ tal:condition="latest/changelog/url">
+ Changes
+ </a>
+ </div>
+
+ <div metal:fill-slot="content">
+ <h1 id="content-header">Known Good Sets</h1>
+
+ <h2>Usage</h2>
+
+ <p>
+ This KGS was designed to work with many of the tools developed to
+ manage and install Python pacakges. The following sub-sections will
+ explain its use in more detail.
+ </p>
+
+ <h3>The Index</h3>
+
+ <p>
+ You can use the index directly. It then behaves exactly like
+ <a href="http://pypi.python.org/simple">http://pypi.python.org/simple</a>,
+ except that only the good versions of the controlled packages are
+ available. The advantage of using the KGS as an index is that you get
+ bug fixes automatically.
+ </p>
+
+ <ul>
+ <li>
+ <div>
+ In <strong>Buildout</strong> you can set this index in your
+ <code>buildout.cfg</code> file:</div>
+ <pre>
+[buildout]
+index = http://download.zope.org/zope3.4/3.4.0/index
+...</pre>
+ </li>
+ <li>
+ <div>
+ With <strong>SetupTools</strong> you can specify the index as a
+ command line option to the <code>easy_install</code> command:
+ </div>
+ <pre>$ easy_install -i http://download.zope.org/zope3.4/3.4.0/index mypackage</pre>
+ </li>
+ </ul>
+
+ <h3>Nailed or Pinned Versions</h3>
+
+ <p>
+ When deploying an application, it is often important to nail or pin down
+ the versions of all used packages, so that it can be guaranteed that the
+ setup is identical all the time.
+ </p>
+
+ <ul>
+ <li>
+ <div>
+ In <strong>Buildout</strong>, the versions can be specified in
+ the <code>buildout.cfg</code> file like this by either copying
+ the contents of <code>versions.cfg</code> or referencing it
+ with the <code>extends</code> option:</div>
+ <pre>
+[buildout]
+versions = versions
+...
+[versions]
+zope.interface = 3.4.0
+<copy the contents of versions.cfg here></pre>
+ or
+ <pre>
+[buildout]
+extends = http://download.zope.org/zope3.4/3.4.0/versions.cfg</pre>
+ </li>
+ <li>
+ <div>
+ <strong>SetupTools</strong> itself cannot use the
+ <code>version.cfg</code> file.</div>
+ </li>
+ </ul>
+
+ <h3>Find Links</h3>
+
+ <p>
+ The way of providing the installation tools with additional locations
+ to look for packages is via find links. Those URLs are expected to be
+ an HTML page with links to files or files directly.
+ </p>
+
+ <ul>
+ <li>
+ <div>Buildout, <code>buildout.cfg</code>:</div>
+ <pre>
+[buildout]
+find-links = http://download.zope.org/zope3.4/3.4.0/links.html
+...</pre>
+ </li>
+ <li>
+ <div>Setup Tools, <code>easy_install</code></div>
+ <pre>$ easy_install -f http://download.zope.org/zope3.4/3.4.0/links.html mypackage</pre>
+ </li>
+ </ul>
+ </div>
+ </body>
+</html>
Deleted: zope.release/branches/3.4/src/zope/release/templates/master.pt
===================================================================
--- zope.release/branches/3.4/templates/master.pt 2009-01-27 14:10:55 UTC (rev 95201)
+++ zope.release/branches/3.4/src/zope/release/templates/master.pt 2009-01-29 03:18:56 UTC (rev 95365)
@@ -1,111 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
- metal:define-macro="page">
- <head>
- <title metal:define-slot="page-title">Introduction to the KGS</title>
- <link rel="stylesheet" type="text/css" href="resources/style.css"
- tal:attributes="href string:${siteRoot}resources/style.css"/>
- <script type="text/javascript" language="Javascript"
- src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script>
- <script type="text/javascript" language="Javascript">
- $(document).ready(
- function(){
-
- $(".left-nav .level-one > li").click(
- function(){
- $(".left-nav .level-one > li").removeClass('selected');
- $(".left-nav .level-one > li > a").removeClass('selected');
- $(".left-nav .level-two").hide();
- $(this).children('a').andSelf().addClass('selected').find('.level-two').show();
- });
- $(".left-nav .level-one > li").eq(0).click();
-
- $(".left-nav .level-one > li > a").each(
- function(index){
- var href = $(this).attr("href");
- if (window.location.href.slice(window.location.href.length-href.length) === href){
- $(this).parent().click();
- }
- });
-
- $(".left-nav .level-one > li li > a").each(
- function(index){
- var href = $(this).attr("href").match(/[.*\/]*(.*.html)/);
- href = href && href[1];
- if (href && window.location.href.slice(window.location.href.length-href.length) === href){
- $(this).addClass('selected').parents("li").click();
- }
- });
-
- });
- </script>
- </head>
- <body>
- <div id="page-wrapper">
- <div id="header-wrapper">
- <div id="header">
- <a href="http://new.zope.org" accesskey="1" id="logo">
- <img height="36" width="110" title="" alt=""
- tal:attributes="src string:${siteRoot}resources/logo.png"/>
- </a>
- <div metal:define-slot="page-header"></div>
- </div>
- <div id="divider">
- <span metal:define-slot="divider"></span>
- </div>
- </div>
- <div id="content-wrapper">
- <div id="content" metal:define-slot="content">
- <h1 id="content-header">H1</h1>
- <h2>H2</h2>
- <h3>H3</h3>
- <h4>H4</h4>
- <h5>H5</h5>
- <h6>H6</h6>
- <p>And here is a bunch of content!</p>
- </div>
- </div>
- <div id="left-nav-wrapper">
- <div class="left-nav">
- <div metal:define-slot="left-nav">
- <h1>Versions</h1>
- <ul class="level-one">
- <li tal:repeat="version versions">
- <a href="javascript:void(0);">
- <span tal:replace="version/name">3.4.0</span>
- (<span tal:replace="version/date"/>)
- </a>
- <ul class="level-two" style="display: none;">
- <li tal:condition="version/announcement/url">
- <a href="#"
- tal:attributes="href string:${siteRoot}${version/announcement/url}">Announcement</a>
- </li>
- <li tal:condition="version/changelog/url">
- <a href="#"
- tal:attributes="href string:${siteRoot}${version/changelog/url}">Changelog</a>
- </li>
- <li tal:repeat="feature version/features">
- <a href="#"
- tal:attributes="href string:${siteRoot}${feature/url}"
- tal:content="feature/title">Feature 1</a>
- </li>
- </ul>
- </li>
- <li>
- <a href="intro.html"
- tal:attributes="href string:${siteRoot}intro.html">KGS Introduction</a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- <div id="footer-wrapper">
- <div id="footer">
- <span metal:define-slot="footer">
- © 1998-2009 by the <a href="http://foundation.zope.org/">Zope Foundation</a>
- </span>
- </div>
- </div>
- </div>
- </body>
-</html>
Copied: zope.release/branches/3.4/src/zope/release/templates/master.pt (from rev 95364, zope.release/branches/3.4/templates/master.pt)
===================================================================
--- zope.release/branches/3.4/src/zope/release/templates/master.pt (rev 0)
+++ zope.release/branches/3.4/src/zope/release/templates/master.pt 2009-01-29 03:18:56 UTC (rev 95365)
@@ -0,0 +1,116 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
+ metal:define-macro="page">
+ <head>
+ <title metal:define-slot="page-title">Introduction to the KGS</title>
+ <link rel="stylesheet" type="text/css" href="resources/style.css"
+ tal:attributes="href string:${siteRoot}resources/style.css"/>
+ <script type="text/javascript" language="Javascript"
+ src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script>
+ <script type="text/javascript" language="Javascript">
+ $(document).ready(
+ function(){
+
+ $(".left-nav .level-one > li").click(
+ function(){
+ $(".left-nav .level-one > li").removeClass('selected');
+ $(".left-nav .level-one > li > a").removeClass('selected');
+ $(".left-nav .level-two").hide();
+ $(this).children('a').andSelf().addClass('selected').find('.level-two').show();
+ });
+ $(".left-nav .level-one > li").eq(0).click();
+
+ $(".left-nav .level-one > li > a").each(
+ function(index){
+ var href = $(this).attr("href");
+ if (window.location.href.slice(window.location.href.length-href.length) === href){
+ $(this).parent().click();
+ }
+ });
+
+ $(".left-nav .level-one > li li > a").each(
+ function(index){
+ var href = $(this).attr("href").match(/[.*\/]*(.*.html)/);
+ href = href && href[1];
+ if (href && window.location.href.slice(window.location.href.length-href.length) === href){
+ $(this).addClass('selected').parents("li").click();
+ }
+ });
+
+ });
+ </script>
+ </head>
+ <body>
+ <div id="page-wrapper">
+ <div id="header-wrapper">
+ <div id="header">
+ <a href="http://new.zope.org" accesskey="1" id="logo">
+ <img height="36" width="110" title="" alt=""
+ tal:attributes="src string:${siteRoot}resources/logo.png"/>
+ </a>
+ <div metal:define-slot="page-header"></div>
+ </div>
+ <div id="divider">
+ <span metal:define-slot="divider"></span>
+ </div>
+ </div>
+ <div id="content-wrapper">
+ <div id="content" metal:define-slot="content">
+ <h1 id="content-header">H1</h1>
+ <h2>H2</h2>
+ <h3>H3</h3>
+ <h4>H4</h4>
+ <h5>H5</h5>
+ <h6>H6</h6>
+ <p>And here is a bunch of content!</p>
+ </div>
+ </div>
+ <div id="left-nav-wrapper">
+ <div class="left-nav">
+ <div metal:define-slot="left-nav">
+ <h1>Versions</h1>
+ <ul class="level-one">
+ <li tal:repeat="version versions">
+ <a href="javascript:void(0);">
+ <span tal:replace="version/name">3.4.0</span>
+ (<span tal:replace="version/date"/>)
+ </a>
+ <ul class="level-two" style="display: none;">
+ <li tal:condition="version/announcement/url">
+ <a href="#"
+ tal:attributes="href string:${siteRoot}${version/announcement/url}">Announcement</a>
+ </li>
+ <li tal:condition="version/changelog/url">
+ <a href="#"
+ tal:attributes="href string:${siteRoot}${version/changelog/url}">Changelog</a>
+ </li>
+ <li tal:repeat="file version/files">
+ <a href="#"
+ tal:attributes="href string:${siteRoot}${file/url}"
+ tal:content="file/name">kgs-1.0.0.tgz</a>
+ </li>
+ <li tal:repeat="feature version/features">
+ <a href="#"
+ tal:attributes="href string:${siteRoot}${feature/url}"
+ tal:content="feature/title">Feature 1</a>
+ </li>
+ </ul>
+ </li>
+ <li>
+ <a href="intro.html"
+ tal:attributes="href string:${siteRoot}intro.html">KGS Introduction</a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ <div id="footer-wrapper">
+ <div id="footer">
+ <span metal:define-slot="footer">
+ © 1998-2009 by the <a href="http://foundation.zope.org/">Zope Foundation</a>
+ </span>
+ </div>
+ </div>
+ </div>
+ </body>
+</html>
More information about the Checkins
mailing list