zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1049336 - in /zookeeper/site/trunk: content/index.textile content/irc.textile content/lists.textile lib/path.pm lib/view.pm templates/sidenav.textile templates/skeleton.html
Date Tue, 14 Dec 2010 23:40:50 GMT
Author: breed
Date: Tue Dec 14 23:40:49 2010
New Revision: 1049336

URL: http://svn.apache.org/viewvc?rev=1049336&view=rev
Log:
converted to textile

Added:
    zookeeper/site/trunk/content/index.textile
    zookeeper/site/trunk/content/irc.textile
    zookeeper/site/trunk/content/lists.textile
    zookeeper/site/trunk/templates/sidenav.textile
Modified:
    zookeeper/site/trunk/lib/path.pm
    zookeeper/site/trunk/lib/view.pm
    zookeeper/site/trunk/templates/skeleton.html

Added: zookeeper/site/trunk/content/index.textile
URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/index.textile?rev=1049336&view=auto
==============================================================================
--- zookeeper/site/trunk/content/index.textile (added)
+++ zookeeper/site/trunk/content/index.textile Tue Dec 14 23:40:49 2010
@@ -0,0 +1,24 @@
+h1. Welcome to Apache ZooKeeper
+
+*This website is still under construction*
+
+h2. What is ZooKeeper?
+
+ZooKeeper is a centralized service for maintaining configuration information, naming, providing
distributed synchronization, and providing group services. All of these kinds of services
are used in some form or another by distributed applications. Each time they are implemented
there is a lot of work that goes into fixing the bugs and race conditions that are inevitable.
Because of the difficulty of implementing these kinds of services, applications initially
usually skimp on them ,which make them brittle in the presence of change and difficult to
manage. Even when done correctly, different implementations of these services lead to management
complexity when the applications are deployed.
+
+Learn more about Zookeeper on the "ZooKeeper Wiki":https://cwiki.apache.org/confluence/display/ZOOKEEPER/Index.
+
+h2. Getting Started
+
+Start by installing ZooKeeper on a single machine or a very small cluster.
+
+# Learn about ZooKeeper by reading the documentation.
+# Download ZooKeeper from the release page.
+
+h2. Getting Involved
+
+Apache ZooKeeper is an open source volunteer project under the Apache Software Foundation.
It is a subproject of Hadoop. We encourage you to learn about the project and contribute your
expertise. Here are some starter links:
+
+# See our How to Contribute to ZooKeeper page.
+# Give us feedback: What can we do better?
+# Join the mailing list: Meet the community.

Added: zookeeper/site/trunk/content/irc.textile
URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/irc.textile?rev=1049336&view=auto
==============================================================================
--- zookeeper/site/trunk/content/irc.textile (added)
+++ zookeeper/site/trunk/content/irc.textile Tue Dec 14 23:40:49 2010
@@ -0,0 +1,23 @@
+Title:     IRC
+Notice:    Licensed to the Apache Software Foundation (ASF) under one
+           or more contributor license agreements.  See the NOTICE file
+           distributed with this work for additional information
+           regarding copyright ownership.  The ASF licenses this file
+           to you under the Apache License, Version 2.0 (the
+           "License"); you may not use this file except in compliance
+           with the License.  You may obtain a copy of the License at
+           .
+             http://www.apache.org/licenses/LICENSE-2.0
+           .
+           Unless required by applicable law or agreed to in writing,
+           software distributed under the License is distributed on an
+           "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+           KIND, either express or implied.  See the License for the
+           specific language governing permissions and limitations
+           under the License.
+
+h1. ZooKeeper IRC Channel
+
+There is an IRC channel dedicated to zookeeper at irc.freenode.org. The name of the channel
is #zookeeper.
+
+The IRC channel can be used for online discussion about zookeeper related stuff, but developers
should be careful to transfer all the official decisions or useful discussions to the issue
tracking system.

Added: zookeeper/site/trunk/content/lists.textile
URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/lists.textile?rev=1049336&view=auto
==============================================================================
--- zookeeper/site/trunk/content/lists.textile (added)
+++ zookeeper/site/trunk/content/lists.textile Tue Dec 14 23:40:49 2010
@@ -0,0 +1,57 @@
+Title: Mailing lists
+Notice:    Licensed to the Apache Software Foundation :ASF under one
+           or more contributor license agreements.  See the NOTICE file
+           distributed with this work for additional information
+           regarding copyright ownership.  The ASF licenses this file
+           to you under the Apache License, Version 2.0 :the
+           "License"; you may not use this file except in compliance
+           with the License.  You may obtain a copy of the License at
+           .
+             http://www.apache.org/licenses/LICENSE-2.0
+           .
+           Unless required by applicable law or agreed to in writing,
+           software distributed under the License is distributed on an
+           "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+           KIND, either express or implied.  See the License for the
+           specific language governing permissions and limitations
+           under the License.
+
+h1. ZooKeeper Mailing Lists
+
+h2. Users
+
+If you use ZooKeeper, please subscribe to the ZooKeeper user mailing list.
+
+The ZooKeeper user mailing list is: "user@zookeeper.apache.org":mailto:user@zookeeper.apache.org.
+
+* "Subscribe to List":mailto:user-subscribe@zookeeper.apache.org
+* "Unsubscribe from List":mailto:user-unsubscribe@zookeeper.apache.org
+* "Archives":http://mail-archives.apache.org/mod_mbox/zookeeper-user/
+* "Older Archives (Hadoop, pre-TLP)"(http://mail-archives.apache.org/mod_mbox/hadoop-zookeeper-user/)
+
+Note
+In order to post to the list, it is necessary to first subscribe to it.
+
+
+h2. Developers
+
+If you'd like to contribute to ZooKeeper, please subscribe to the ZooKeeper developer mailing
list.
+
+The ZooKeeper developer mailing list is : "dev@zookeeper.apache.org":mailto:dev@zookeeper.apache.org.
+
+* "Subscribe to List":mailto:dev-subscribe@zookeeper.apache.org
+* "Unsubscribe from List":mailto:dev-unsubscribe@zookeeper.apache.org
+* "Archives":http://mail-archives.apache.org/mod_mbox/zookeeper-dev/
+* "Older Archives (Hadoop, pre-TLP)"(http://mail-archives.apache.org/mod_mbox/hadoop-zookeeper-dev/)
+
+Note
+In order to post to the list, it is necessary to first subscribe to it.
+
+h2. Commits
+
+If you'd like to see changes made in ZooKeeper's version control system then subscribe to
the ZooKeeper commit mailing list.
+
+* "Subscribe to List":mailto:commits-subscribe@zookeeper.apache.org
+* "Unsubscribe from List":mailto:commits-unsubscribe@zookeeper.apache.org
+* "Archives":http://mail-archives.apache.org/mod_mbox/zookeeper-commits/
+* "Older Archives (Hadoop, pre-TLP)"(http://mail-archives.apache.org/mod_mbox/hadoop-zookeeper-commits/)

Modified: zookeeper/site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/lib/path.pm?rev=1049336&r1=1049335&r2=1049336&view=diff
==============================================================================
--- zookeeper/site/trunk/lib/path.pm (original)
+++ zookeeper/site/trunk/lib/path.pm Tue Dec 14 23:40:49 2010
@@ -5,14 +5,14 @@ use ASF::Value;
 
 our @patterns = (
 
-    [qr!\.mdtext$!, single_narrative => { template => "single_narrative.html" }],
+    [qr!\.textile$!, single_narrative => { template => "single_narrative.html" }],
 );
 
 
 # for specifying interdependencies between files
 
 #our %dependencies = (
-#    "/dev/sitemap.html" => [ grep s!^content!!, glob "content/dev/*.mdtext" ],
+#    "/dev/sitemap.html" => [ grep s!^content!!, glob "content/dev/*.textile" ],
 #);
 
 1;

Modified: zookeeper/site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/lib/view.pm?rev=1049336&r1=1049335&r2=1049336&view=diff
==============================================================================
--- zookeeper/site/trunk/lib/view.pm (original)
+++ zookeeper/site/trunk/lib/view.pm Tue Dec 14 23:40:49 2010
@@ -19,8 +19,8 @@ push @Dotiac::DTL::TEMPLATE_DIRS, "templ
 
 # This is most widely used view.  It takes a
 # 'template' argument and a 'path' argument.
-# Assuming the path ends in foo.mdtext, any files
-# like foo.page/bar.mdtext will be parsed and
+# Assuming the path ends in foo.textile, any files
+# like foo.page/bar.textile will be parsed and
 # passed to the template in the "bar" (hash)
 # variable.
 
@@ -28,7 +28,7 @@ sub single_narrative {
     my %args = @_;
     my $file = "content$args{path}";
     my $template = $args{template};
-    $args{path} =~ s/\.mdtext$/\.html/;
+    $args{path} =~ s/\.textile$/\.html/;
     $args{breadcrumbs} = breadcrumbs($args{path});
 
     read_text_file $file, \%args;
@@ -36,8 +36,8 @@ sub single_narrative {
     my $page_path = $file;
     $page_path =~ s/\.[^.]+$/.page/;
     if (-d $page_path) {
-        for my $f (grep -f, glob "$page_path/*.mdtext") {
-            $f =~ m!/([^/]+)\.mdtext$! or die "Bad filename: $f\n";
+        for my $f (grep -f, glob "$page_path/*.textile") {
+            $f =~ m!/([^/]+)\.textile$! or die "Bad filename: $f\n";
             $args{$1} = {};
             read_text_file $f, $args{$1};
         }
@@ -56,7 +56,7 @@ sub sitemap {
     opendir my $dh, $dir or die "Can't opendir $dir: $!\n";
     my %data;
     for (map "$dir/$_", grep $_ ne "." && $_ ne ".." && $_ ne ".svn", readdir
$dh) {
-        if (-f and /\.mdtext$/) {
+        if (-f and /\.textile$/) {
             my $file = $_;
             $file =~ s/^content//;
             no warnings 'once';
@@ -65,7 +65,7 @@ sub sitemap {
                 next unless $file =~ $re;
                 my $s = view->can($method) or die "Can't locate method: $method\n";
                 my ($content, $ext, $vars) = $s->(path => $file, %$args);
-                $file =~ s/\.mdtext$/.$ext/;
+                $file =~ s/\.textile$/.$ext/;
                 $data{$file} = $vars;
                 last;
             }

Added: zookeeper/site/trunk/templates/sidenav.textile
URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/templates/sidenav.textile?rev=1049336&view=auto
==============================================================================
--- zookeeper/site/trunk/templates/sidenav.textile (added)
+++ zookeeper/site/trunk/templates/sidenav.textile Tue Dec 14 23:40:49 2010
@@ -0,0 +1,27 @@
+h3. Project
+
+* "Releases":releases.html
+* "License":http://www.apache.org/licenses/LICENSE-2.0
+* "Wiki":https://cwiki.apache.org/confluence/display/ZOOKEEPER/Index
+* "News":news.html
+* "Credits":credits.html
+* "Sponsors":http://www.apache.org/foundation/thanks.html
+* "Privacy Policy":privacy.html
+
+h3. Documentation
+
+* Release 3.1.1
+* Release 3.1.2
+* Release 3.2.1
+* Release 3.2.2
+* Release 3.3.0
+* Release 3.3.1
+* Release 3.3.2
+* "Trunk":doc
+
+h3. Developers
+
+* "Mailing Lists":lists.html
+* "IRC Channel":irc.html
+* "Version Control":svn.html
+* "Issue Tracker":https://issues.apache.org/jira/browse/ZOOKEEPER

Modified: zookeeper/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/templates/skeleton.html?rev=1049336&r1=1049335&r2=1049336&view=diff
==============================================================================
--- zookeeper/site/trunk/templates/skeleton.html (original)
+++ zookeeper/site/trunk/templates/skeleton.html Tue Dec 14 23:40:49 2010
@@ -59,7 +59,7 @@
         <tr>
         <td style="overflow: hidden;" valign="top" width="100%">
           <div class="wiki-content">
-{% block content %} {{ content|markdown }}{% endblock %}
+{% block content %} {{ content|textile }}{% endblock %}
           </div>
         </td>
         <td valign="top">
@@ -67,7 +67,7 @@
             <div class="navigation_top">
               <div class="navigation_bottom"> 
 <!-- sidenav -->                                                                  
     
-{% filter markdown %}{% include "sidenav.mdtext" %}{% endfilter %}
+{% filter textile %}{% include "sidenav.textile" %}{% endfilter %}
 <!-- sidenav -->                                                                  
     
               </div>
             </div>   



Mime
View raw message