This is an automated email from the ASF dual-hosted git repository.

szetszwo pushed a commit to branch asf-site-source
in repository https://gitbox.apache.org/repos/asf/ratis-hadoop-projects.git

commit 55468a7af32d84d467fe0549708b2d3992bab951
Author: Tsz Wo Nicholas Sze <[email protected]>
AuthorDate: Tue Jun 4 13:33:18 2019 -0400

    RATIS-583. Update asf-site-source for RATIS-539
    
    Signed-off-by: Josh Elser <[email protected]>
---
 .gitignore                           |  2 +-
 config.toml                          | 29 +----------------------
 content/getting_started.md           | 24 +++++++------------
 content/{source.md => post/0.3.0.md} | 15 ++++++++----
 content/source.md                    |  2 +-
 layouts/index.html                   | 46 +++++++++++++++++-------------------
 layouts/partials/footer.html         |  2 +-
 layouts/partials/header.html         |  9 ++++---
 8 files changed, 50 insertions(+), 79 deletions(-)

diff --git a/.gitignore b/.gitignore
index 0ec2be5..4425f60 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
 
 build
+.idea
 
 ### Hugo ###
 hugo.exe
 /public/
-
diff --git a/config.toml b/config.toml
index c1cb98e..e668267 100644
--- a/config.toml
+++ b/config.toml
@@ -11,9 +11,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License. See accompanying LICENSE file.
 #
-baseurl = "/"
+baseURL = "https://ratis.incubator.apache.org/";
 title = "Apache Ratis"
-copyright = "&copy; 2017 Apache Software Foundation"
 enableEmoji = true
 footnotereturnlinkcontents = "<sup>^</sup>"
 uglyurls = true
@@ -24,53 +23,27 @@ uglyurls = true
   url = "releases.html"
   weight = 1
 
-
 [[menu.main]]
   name = "Documentation"
   identifier = "documentation"
   weight = 2
 
 [[menu.main]]
-   name = "Latest"
-   parent = "documentation"
-   url = "http://hadoop.apache.org/docs/current/";
-
-[[menu.main]]
-   name = "Stable"
-   parent = "documentation"
-   url = "http://hadoop.apache.org/docs/stable/";
-
-
-
-
-[[menu.main]]
    name = "Community"
    identifier = "community"
    weight = 3
 
-
-
 [[menu.main]]
    name = "Development"
    identifier = "development"
    weight = 4
 
 [[menu.main]]
-  name = "How to Contribute"
-  url = "https://wiki.apache.org/hadoop/HowToContribute";
-  parent = "development"
-
-[[menu.main]]
    name = "Help"
    identifier = "help"
    weight = 5
 
 [[menu.main]]
-   name = "Buy Stuff"
-   url = "http://www.cafepress.com/hadoop";
-   parent = "help"
-
-[[menu.main]]
    name = "Sponsorshop"
    url = "http://www.apache.org/foundation/sponsorship.html";
    parent = "help"
diff --git a/content/getting_started.md b/content/getting_started.md
index 497f3e9..ebee356 100644
--- a/content/getting_started.md
+++ b/content/getting_started.md
@@ -26,17 +26,9 @@ To demonstrate how to use Ratis from the code, Please look 
at the following exam
  * [FileStore 
example](https://github.com/apache/incubator-ratis/tree/master/ratis-examples/src/main/java/org/apache/ratis/examples/filestore):
 This is an example of using Ratis for reading and writing files.
 
 <!-- TODO: We should have the following as documentation in the github.  -->
-The source code the examples could be found in the ratis-examples subproject.
 
-Arithmetic example also has some simple cli script to start it:
-
-1. First do a full build on the ratis source code: ```mvn clean install 
-DskipTests```
-2. Go the the bin directory of the examples: ```cd 
ratis-examples/src/main/bin```
-3. Start three Ratis server instances (with arithmetic state matchine). 
```./start-all``` (This helper script starts 3 
-  Java instances in the background).
-4. Create a new variable in the state machine: ``` ./client.sh assign --name a 
--value 3```
-5. Assign a new variable: ```./client.sh assign --name b --value a+5```
-6. Get a variable from the state machine: ```./client.sh get --name b```
+The source code of the examples could be found in the
+[ratis-examples](https://github.com/apache/incubator-ratis/blob/master/ratis-examples/)
 sub-project.
 
 ### Maven usage
 
@@ -55,23 +47,23 @@ You also need to include *one* of the transports:
 
 {{< highlight xml>}}
 <dependency>
-   <artifactId>ratis-netty</artifactId>
+   <artifactId>ratis-grpc</artifactId>
    <groupId>org.apache.ratis</groupId>
 </dependency>
 {{< /highlight >}}
 
 {{< highlight xml>}}
  <dependency>
+   <artifactId>ratis-netty</artifactId>
    <groupId>org.apache.ratis</groupId>
-   <artifactId>ratis-grpc</artifactId>
 </dependency>
 {{< /highlight >}}
 
 {{< highlight xml>}}
-    <dependency>
-      <groupId>org.apache.ratis</groupId>
-      <artifactId>ratis-hadoop-shaded</artifactId>
-    </dependency>
+<dependency>
+   <artifactId>ratis-hadoop</artifactId>
+   <groupId>org.apache.ratis</groupId>
+</dependency>
 {{< /highlight >}}
 
 Please note that Apache Hadoop dependencies are shaded, so it's safe to use 
hadoop transport with different versions of Hadoop.
diff --git a/content/source.md b/content/post/0.3.0.md
similarity index 52%
copy from content/source.md
copy to content/post/0.3.0.md
index a9eb9df..8bdbda3 100644
--- a/content/source.md
+++ b/content/post/0.3.0.md
@@ -1,5 +1,8 @@
 ---
-title: Source
+title: Release 0.3.0 is available
+date: 2019-04-21
+type: release
+linked: true
 ---
 <!---
   Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,8 +18,10 @@ title: Source
   limitations under the License. See accompanying LICENSE file.
 -->
 
-Source code is part of every release, you can download the source bundles from 
download section and build the project according to the included instructions.
+[Download](https://ratis.incubator.apache.org/#download)
+
+It contains new features such as multi-raft and watch request, as well 
contains 73 improvements and 72 bug fixes.
+See the [changes between 0.2.0 and 
0.3.0](https://github.com/apache/incubator-ratis/compare/ratis-0.2.0...ratis-0.3.0)
 releases. 
+
+It has been tested with [Apache Hadoop 
Ozone](https://hadoop.apache.org/ozone/) where Apache Ratis is used to 
replicate raw data. 
 
-The versioned source code history is available from the [Apache 
git](git://git.apache.org/incubator-ratis.git) repository or 
-from the [github mirror](https://github.com/apache/incubator-ratis). It is 
only for development and not intended for use by the general public. 
-Only the source code from the released artifacts are checked by the Project 
Management Committee.
diff --git a/content/source.md b/content/source.md
index a9eb9df..0f2e7a5 100644
--- a/content/source.md
+++ b/content/source.md
@@ -17,6 +17,6 @@ title: Source
 
 Source code is part of every release, you can download the source bundles from 
download section and build the project according to the included instructions.
 
-The versioned source code history is available from the [Apache 
git](git://git.apache.org/incubator-ratis.git) repository or 
+The versioned source code history is available from the [Apache 
git](https://gitbox.apache.org/repos/asf?p=incubator-ratis.git) repository or 
 from the [github mirror](https://github.com/apache/incubator-ratis). It is 
only for development and not intended for use by the general public. 
 Only the source code from the released artifacts are checked by the Project 
Management Committee.
diff --git a/layouts/index.html b/layouts/index.html
index e163b36..e7d5bcf 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -124,37 +124,28 @@
                 <tr>
                     <th>Version</th>
                     <th>Release date</th>
-                    <th>Source download</th>
-                    <th>Binary download</th>
+                    <th>Link</th>
                     <th>Announcement</th>
                 </tr>
                 </thead>
-                {{range first 5 (where .Site.Pages ".Params.type" "release")}}
+                {{range first 4 (where .Site.Pages ".Params.type" "release")}}
                 <tr>
-                             <td>{{.BaseFileName }}</td>
+                    <td>{{.File.BaseFileName }}</td>
                     <td>{{dateFormat "2006 Jan 2 " .Date}}</td>
-                    <td>
-                        <a 
href="https://www.apache.org/dyn/closer.cgi/incubator/ratis/{{.BaseFileName 
}}/apache-ratis-incubating-{{.BaseFileName }}-src.tar.gz">source</a>
-                        (<a 
href="https://dist.apache.org/repos/dist/release/incubator/ratis/{{.BaseFileName
 }}/apache-ratis-incubating-{{.BaseFileName }}-src.tar.gz.mds">checksum</a>
-                        <a 
href="https://dist.apache.org/repos/dist/release/incubator/ratis/{{.BaseFileName
 }}/apache-ratis-incubating-{{.BaseFileName }}-src.tar.gz.asc">signature</a>)
-                    </td>
-                                                 {{ if .Params.sourceonly  }}
-                                                    <td></td>
-                                                 {{else}}
-                    <td>
-                        <a 
href="https://www.apache.org/dyn/closer.cgi/incubator/ratis/{{.BaseFileName 
}}/apache-ratis-incubating-{{.BaseFileName }}-bin.tar.gz">binary</a>
-                        (<a 
href="https://dist.apache.org/repos/dist/release/incubator/ratis/{{.BaseFileName
 }}/apache-ratis-incubating-{{.BaseFileName }}-bin.tar.gz.mds">checksum</a>
-                        <a 
href="https://dist.apache.org/repos/dist/release/incubator/ratis/{{.BaseFileName
 }}/apache-ratis-incubating-{{.BaseFileName }}-bin.tar.gz.asc">signature</a>)
-                    </td>
-                                                 {{end}}
-                    <td>
-                        <a href="post/{{.BaseFileName }}.html">Announcement</a>
+                    <td><a 
href="https://www.apache.org/dist/incubator/ratis/{{.File.BaseFileName }}/">
+                        
https://www.apache.org/dist/incubator/ratis/{{.File.BaseFileName }}/</a>
                     </td>
+                    <td><a href="post/{{.File.BaseFileName 
}}.html">Announcement</a></td>
                 </tr>
                 {{end}}
             </table>
             </p>
-                               <p>Ratis is also <a 
href="https://search.maven.org/#search%7Cga%7C1%7Cratis";>available</a> from the 
Maven central repository.</p>
+
+            <p>Release artifacts are signed with one of the keys available at:
+                <a 
herf="https://www.apache.org/dist/incubator/ratis/KEYS";>https://www.apache.org/dist/incubator/ratis/KEYS</a>
+            </p>
+
+            <p>Ratis is also <a 
href="https://search.maven.org/#search%7Cga%7C1%7Cratis";>available</a> from the 
Maven central repository.</p>
 
         </div>
     </div>
@@ -203,9 +194,16 @@
             <h2>Resources</h2>
             <p>Are you interested in learning more about Apache Ratis? 
Excellent! Here are some resources.</p>
             <ul>
-            <li>Apache Ratis - In Search of a Usable Raft Library<br/>
-            <iframe 
src="https://home.apache.org/~szetszwo/presentations/20171115brown_bag.pdf";
-            width="595" height="485"></iframe></li><br/>
+            <li>
+              <a 
href="//www.slideshare.net/TszWoNicholasSze/apache-ratis-in-search-of-a-usable-raft-library"
+                 title="Apache Ratis - In Search of a Usable Raft Library" 
target="_blank">
+                Apache Ratis - In Search of a Usable Raft Library</a>
+              <br />
+              <iframe 
src="//www.slideshare.net/slideshow/embed_code/key/3OyDeDVxSWhIcd" width="595" 
height="485"
+                      frameborder="0" marginwidth="0" marginheight="0" 
scrolling="no" style="border:1px solid #CCC;
+                      margin-bottom:5px; max-width: 100%;" allowfullscreen>
+              </iframe>
+            </li>
 
             <li> <a 
href="//www.slideshare.net/Hadoop_Summit/high-throughput-data-replication-over-raft"
 title="High throughput data replication over RAFT" target="_blank">High 
throughput data replication over RAFT</a> from DataWorks Summit</a> 
             <iframe 
src="//www.slideshare.net/slideshow/embed_code/key/40nJZyfhrysXeK" width="595" 
height="485" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" 
style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 
100%;" allowfullscreen> </iframe> 
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 916ce63..7be56c3 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -15,7 +15,7 @@
     <div class="container">
 
         <div class="col-md-12 trademark">
-            <p>&copy; 2018 <a href="http://apache.org";>The Apache Software 
Foundation</a>,
+            <p>&copy; {{ now.Year }} <a href="http://apache.org";>The Apache 
Software Foundation</a>,
                 Apache, Apache Ratis, the Apache feather logo, Apache Ratis 
logo, Apache Incubator logo are trademarks of The Apache Software Foundation.
             <p>
         </div>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 8b19869..78daf33 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -42,10 +42,13 @@
     <div class="container">
         <ul class="breadcrumb col-md-6">
             <li>
-                <img class="asf-logo" src="asf_feather.png"/>
-                <a  href="https://www.apache.org";>Apache Software 
Foundation</span></a>
+                <img class="asf-logo" src="asf_feather.png" alt="ASF feather"/>
+                <a  href="https://www.apache.org";>Apache Software 
Foundation</a>
+            </li>
+            <li>
+                <img class="asf-logo" src="logo-white.png" alt="Ratis logo"/>
+                <a href="{{.Site.BaseURL}}">Apache Ratis&trade;</a>
             </li>
-            <li><img class="asf-logo" src="logo-white.png"/><a 
href="{{.Site.BaseURL}}">Apache Ratis&trade;</a></li>
         </ul>
         <div class="col-md-6">
             <ul class="pull-right breadcrumb">

Reply via email to