You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dc...@apache.org on 2020/10/30 10:39:21 UTC

[thrift-website] 05/08: Organize data into separate data directory

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

dcelasun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/thrift-website.git

commit f04dda3099305b75659f21e309ba8d05e48214c3
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Thu Oct 29 09:59:08 2020 -0400

    Organize data into separate data directory
---
 _config.yml                                |  91 -------------------------
 _data/apache_projects.yml                  |   8 +++
 _data/committers.yml                       |  23 +++++++
 _config.yml => _data/external_packages.yml | 104 -----------------------------
 _data/oss_projects.yml                     |   4 ++
 _data/powered_by.yml                       |  13 ++++
 about.md                                   |   8 +--
 lib/index.md                               |   2 +-
 8 files changed, 53 insertions(+), 200 deletions(-)

diff --git a/_config.yml b/_config.yml
index 4161c43..ab19b00 100644
--- a/_config.yml
+++ b/_config.yml
@@ -45,94 +45,3 @@ jira_url: "http://issues.apache.org/jira/browse/THRIFT"
 current_release: "0.13.0"
 current_release_date: "2019-OCT-16"
 
-# Apache ID, Name, Specialities, Timezone
-committers:
-  - [ "mcslee", "Mark Slee", "General vision and implementation", "-8" ]
-  - [ "dreiss", "David Reiss", "Everything, GIT configuration, performance", "-8" ]
-  - [ "aditya", "Aditya Agarwal", "C++ servers", "-8" ]
-  - [ "marck", "Marc Kwiatkowski", "C++ concurrency", "-8" ]
-  - [ "jwang", "James Wang", "C++ transports and processors", "-8" ]
-  - [ "cpiro", "Chris Piro", "Erlang", "-8" ]
-  - [ "bmaurer", "Ben Maurer", "Python data serialization", "-5" ]
-  - [ "kclark", "Kevin Clark", "Ruby implementation", "-8" ]
-  - [ "jake", "Jake Luciani", "Perl, JavaScript", "-5" ]
-  - [ "bryanduxbury", "Bryan Duxbury", "Compact Protocol, Java, Ruby", "-8" ]
-  - [ "esteve", "Esteve Fernandez", "Python, Twisted, async transports", "1" ]
-  - [ "todd", "Todd Lipcon", "Erlang, Java", "-8" ]
-  - [ "geechorama", "Andrew McGeachie", "Cocoa", "?" ]
-  - [ "molinaro", "Anthony Molinaro", "Erlang, Perl, autotools", "-8" ]
-  - [ "roger", "Roger Meier", "Continuous Integration, C++, C#, JavaScript, make cross and other stuff", "2" ]
-  - [ "jfarrell", "Jake Farrell", "Release Manager, Build, Client Publishing, Java, PHP, Ruby", "-5" ]
-  - [ "jensg", "Jens Geyer", "Delphi, C#/NetStd, Go, Graphviz, Haxe", "1" ]
-  - [ "carl", "Carl Yeksigian", "C#", "-5" ]
-  - [ "ra", "Randy Abernethy", "C++, Python, JavaScript, C#, what have you", "-8" ]
-  - [ "hcorg", "Konrad Grochowski", "C++, Python, Git, Continuous Integration", "1"]
-  - [ "nsuke", "Nobuaki Sukegawa ", "", "9"]
-  - [ "simonsouth", "Simon South", "C (GLib)", "-5"]
-
-# Powered by: Company name, website
-powered_by:
-  - [ "Cloudera", "http://www.cloudera.com" ]
-  - [ "Evernote", "http://evernote.com" ]
-  - [ "Facebook", "http://www.facebook.com" ]
-  - [ "last.fm", "http://www.last.fm" ]
-  - [ "Mendeley", "http://www.mendeley.com" ]
-  - [ "OpenX", "http://www.openx.org" ]
-  - [ "Pinterest", "http://www.pinterest.com" ]
-  - [ "Quora", "http://www.quora.com" ]
-  - [ "RapLeaf", "http://www.rapleaf.com" ]
-  - [ "reCaptcha", "http://www.recaptcha.com" ]
-  - [ "Siemens", "http://www.siemens.com" ]
-  - [ "Uber", "http://uber.com" ]
-
-# Apache Projects using Thrift: Project name, website
-apache_projects:
-  - [ "Accumulo", "https://accumulo.apache.org" ]
-  - [ "Aurora", "http://aurora.apache.org" ]
-  - [ "Camel", "http://camel.apache.org/" ]
-  - [ "Hadoop", "http://wiki.apache.org/hadoop/HDFS-APIs" ]
-  - [ "HBase", "http://wiki.apache.org/hadoop/Hbase/ThriftApi" ]
-  - [ "Parquet", "https://parquet.apache.org" ]
-  - [ "Storm", "http://storm.apache.org/" ]
-
-# OSS Projects using Thrift: Project name, website
-oss_projects:
-  - [ "Microsoft Robust Distributed System Nucleus (rDSN)", "https://github.com/Microsoft/rDSN" ]
-  - [ "Twitter Finagle", "http://twitter.github.io/finagle/guide/Protocols.html" ]
-  - [ "Twitter Scrooge", "http://twitter.github.io/scrooge" ]
-
-# external packages hosted elsewhere:
-# - Thrift target language
-# - package manager name
-# - link to package (URL) to most recent version
-# - package control file (git source tree link)
-# - package maintainer name
-# - remarks
-external_packages:
-  - [ "(all)",       "Docker",        "https://hub.docker.com/_/thrift/",                                    "Dockerfile",                 "",                          "thrift compiler in /usr/local/bin/thrift" ]
-  - [ "ActionScript","Maven",         "https://repository.apache.org/#nexus-search;quick~libthrift-as3",     "lib/as3/build.xml",          "jking",                     "" ]
-  - [ "C (glib)",    "",              "",                                                                    "",                           "",                          "language has no package manager" ]
-  - [ "C++",         "",              "",                                                                    "",                           "",                          "see THRIFT-4800" ]
-  - [ "C#",          "NuGet",         "https://www.nuget.org/packages/ApacheThrift",                         "ApacheThrift.nuspec",        "jfarrell, codesf, jking",   "multi-framework nupkg for csharp and netcore" ]
-  - [ "Cocoa",       "",              "",                                                                    "",                           "",                          "deprecated on 0.12.0 - use swift" ]
-  - [ "Common LISP", "",              "",                                                                    "",                           "",                          "no official ASF package available" ]
-  - [ "D",           "dub",           "https://code.dlang.org/packages/apache-thrift",                       "dub.json",                   "jking",                     "" ]
-  - [ "Dart",        "Pub",           "https://pub.dartlang.org/packages/thrift",                            "lib/dart/pubspec.yaml",      "jking",                     "" ]
-  - [ ".NET Standard", "NuGet",       "https://www.nuget.org/packages/ApacheThrift",                         "ApacheThrift.nuspec",        "jfarrell, codesf, jking",   "multi-framework nupkg for csharp and netcore" ]
-  - [ "Erlang",      "Hex PM",        "https://hex.pm/packages?search=thrift&sort=downloads",                "",                           "",                          "no official ASF package available" ]
-  - [ "Haskell",     "Hackage",       "https://hackage.haskell.org/package/thrift",                          "lib/hs/thrift.cabal",        "jfarrell, clavoie, jking",  "" ]
-  - [ "Haxe",        "Haxelib",       "",                                                                    "lib/haxe/haxelib.json",      "jensg",                          "no package uploaded - see THRIFT-3036" ]
-  - [ "Go",          "",              "",                                                                    "",                           "",                          "no official ASF package available" ]
-  - [ "Java",        "Maven",         "https://repository.apache.org/#nexus-search;quick~org.apache.thrift", "lib/java/gradle.properties", "jking",                     "" ]
-  - [ "JavaScript",  "Bower",         "https://libraries.io/bower/thrift",                                   "bower.json",                 "",                          "" ]
-  - [ "Lua",         "LuaRocks",      "https://luarocks.org/modules/drauschenbach/thrift",                   "",                           "",                          "not official - stale at 0.10.0 - see THRIFT-4708" ]
-  - [ "Node.js",     "npm",           "https://www.npmjs.com/package/thrift",                                "package.json",               "jfarrell, wadey, jking",    "" ]
-  - [ "OCaml",       "opam",          "https://opam.ocaml.org/packages/thrift/",                             "lib/ocaml/opam",             "",                          "stale at 0.9.0 (community provided) - see THRIFT-4706" ]
-  - [ "Perl",        "CPAN",          "https://metacpan.org/release/Thrift",                                 "lib/perl/Makefile.PL",       "jking",                     "" ]
-  - [ "PHP",         "Packagist",     "https://packagist.org/packages/apache/thrift",                        "composer.json",              "jfarrell, bufferoverflow, jking",  "" ]
-  - [ "Python",      "pypi",          "https://pypi.python.org/pypi/thrift",                                 "lib/py/setup.py",            "jfarrell",                  "stale at 0.11.0 - see THRIFT-4687" ]
-  - [ "Ruby",        "Ruby Gem",      "https://rubygems.org/gems/thrift",                                    "lib/rb/Gemfile",             "jfarrell",                  "stale at 0.11.0 - see THRIFT-4707" ]
-  - [ "Rust",        "Cargo",         "https://crates.io/crates/thrift",                                     "lib/rs/cargo.toml",          "all thrift committers",     "" ]
-  - [ "Smalltalk",   "",              "",                                                                    "",                           "",                          "no official ASF package available" ]
-  - [ "Swift",       "",              "",                                                                    "",                           "",                          "no official ASF package available" ]
-
diff --git a/_data/apache_projects.yml b/_data/apache_projects.yml
new file mode 100644
index 0000000..7f8cb28
--- /dev/null
+++ b/_data/apache_projects.yml
@@ -0,0 +1,8 @@
+# Apache Projects using Thrift: Project name, website
+  - [ "Accumulo", "https://accumulo.apache.org" ]
+  - [ "Aurora", "http://aurora.apache.org" ]
+  - [ "Camel", "http://camel.apache.org/" ]
+  - [ "Hadoop", "http://wiki.apache.org/hadoop/HDFS-APIs" ]
+  - [ "HBase", "http://wiki.apache.org/hadoop/Hbase/ThriftApi" ]
+  - [ "Parquet", "https://parquet.apache.org" ]
+  - [ "Storm", "http://storm.apache.org/" ]
diff --git a/_data/committers.yml b/_data/committers.yml
new file mode 100644
index 0000000..21f06f6
--- /dev/null
+++ b/_data/committers.yml
@@ -0,0 +1,23 @@
+# Apache ID, Name, Specialities, Timezone
+  - [ "mcslee", "Mark Slee", "General vision and implementation", "-8" ]
+  - [ "dreiss", "David Reiss", "Everything, GIT configuration, performance", "-8" ]
+  - [ "aditya", "Aditya Agarwal", "C++ servers", "-8" ]
+  - [ "marck", "Marc Kwiatkowski", "C++ concurrency", "-8" ]
+  - [ "jwang", "James Wang", "C++ transports and processors", "-8" ]
+  - [ "cpiro", "Chris Piro", "Erlang", "-8" ]
+  - [ "bmaurer", "Ben Maurer", "Python data serialization", "-5" ]
+  - [ "kclark", "Kevin Clark", "Ruby implementation", "-8" ]
+  - [ "jake", "Jake Luciani", "Perl, JavaScript", "-5" ]
+  - [ "bryanduxbury", "Bryan Duxbury", "Compact Protocol, Java, Ruby", "-8" ]
+  - [ "esteve", "Esteve Fernandez", "Python, Twisted, async transports", "1" ]
+  - [ "todd", "Todd Lipcon", "Erlang, Java", "-8" ]
+  - [ "geechorama", "Andrew McGeachie", "Cocoa", "?" ]
+  - [ "molinaro", "Anthony Molinaro", "Erlang, Perl, autotools", "-8" ]
+  - [ "roger", "Roger Meier", "Continuous Integration, C++, C#, JavaScript, make cross and other stuff", "2" ]
+  - [ "jfarrell", "Jake Farrell", "Release Manager, Build, Client Publishing, Java, PHP, Ruby", "-5" ]
+  - [ "jensg", "Jens Geyer", "Delphi, C#/NetStd, Go, Graphviz, Haxe", "1" ]
+  - [ "carl", "Carl Yeksigian", "C#", "-5" ]
+  - [ "ra", "Randy Abernethy", "C++, Python, JavaScript, C#, what have you", "-8" ]
+  - [ "hcorg", "Konrad Grochowski", "C++, Python, Git, Continuous Integration", "1"]
+  - [ "nsuke", "Nobuaki Sukegawa ", "", "9"]
+  - [ "simonsouth", "Simon South", "C (GLib)", "-5"]
diff --git a/_config.yml b/_data/external_packages.yml
similarity index 54%
copy from _config.yml
copy to _data/external_packages.yml
index 4161c43..059cbc3 100644
--- a/_config.yml
+++ b/_data/external_packages.yml
@@ -1,106 +1,3 @@
-#
-# 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.
-#
-
-# Basic site settings
-safe: false
-title: Apache Thrift™
-email: dev@thrift.apache.org
-description: >-
-  The Apache Thrift software framework, for scalable cross-language services
-  development, combines a software stack with a code generation engine to build
-  services that work efficiently and seamlessly between many languages.
-url: "https://thrift.apache.org"
-
-# Default front-matter values for specific collections
-defaults:
-  -
-    scope:
-      path: ""
-      type: "pages"
-    values:
-      layout: "default"
-
-# Additional variables to power specific pages
-git_repo: "https://github.com/apache/thrift"
-release_url: "https://www.apache.org/dist/thrift"
-mirror_url: "http://www.apache.org/dyn/closer.cgi?path="
-jira_url: "http://issues.apache.org/jira/browse/THRIFT"
-
-current_release: "0.13.0"
-current_release_date: "2019-OCT-16"
-
-# Apache ID, Name, Specialities, Timezone
-committers:
-  - [ "mcslee", "Mark Slee", "General vision and implementation", "-8" ]
-  - [ "dreiss", "David Reiss", "Everything, GIT configuration, performance", "-8" ]
-  - [ "aditya", "Aditya Agarwal", "C++ servers", "-8" ]
-  - [ "marck", "Marc Kwiatkowski", "C++ concurrency", "-8" ]
-  - [ "jwang", "James Wang", "C++ transports and processors", "-8" ]
-  - [ "cpiro", "Chris Piro", "Erlang", "-8" ]
-  - [ "bmaurer", "Ben Maurer", "Python data serialization", "-5" ]
-  - [ "kclark", "Kevin Clark", "Ruby implementation", "-8" ]
-  - [ "jake", "Jake Luciani", "Perl, JavaScript", "-5" ]
-  - [ "bryanduxbury", "Bryan Duxbury", "Compact Protocol, Java, Ruby", "-8" ]
-  - [ "esteve", "Esteve Fernandez", "Python, Twisted, async transports", "1" ]
-  - [ "todd", "Todd Lipcon", "Erlang, Java", "-8" ]
-  - [ "geechorama", "Andrew McGeachie", "Cocoa", "?" ]
-  - [ "molinaro", "Anthony Molinaro", "Erlang, Perl, autotools", "-8" ]
-  - [ "roger", "Roger Meier", "Continuous Integration, C++, C#, JavaScript, make cross and other stuff", "2" ]
-  - [ "jfarrell", "Jake Farrell", "Release Manager, Build, Client Publishing, Java, PHP, Ruby", "-5" ]
-  - [ "jensg", "Jens Geyer", "Delphi, C#/NetStd, Go, Graphviz, Haxe", "1" ]
-  - [ "carl", "Carl Yeksigian", "C#", "-5" ]
-  - [ "ra", "Randy Abernethy", "C++, Python, JavaScript, C#, what have you", "-8" ]
-  - [ "hcorg", "Konrad Grochowski", "C++, Python, Git, Continuous Integration", "1"]
-  - [ "nsuke", "Nobuaki Sukegawa ", "", "9"]
-  - [ "simonsouth", "Simon South", "C (GLib)", "-5"]
-
-# Powered by: Company name, website
-powered_by:
-  - [ "Cloudera", "http://www.cloudera.com" ]
-  - [ "Evernote", "http://evernote.com" ]
-  - [ "Facebook", "http://www.facebook.com" ]
-  - [ "last.fm", "http://www.last.fm" ]
-  - [ "Mendeley", "http://www.mendeley.com" ]
-  - [ "OpenX", "http://www.openx.org" ]
-  - [ "Pinterest", "http://www.pinterest.com" ]
-  - [ "Quora", "http://www.quora.com" ]
-  - [ "RapLeaf", "http://www.rapleaf.com" ]
-  - [ "reCaptcha", "http://www.recaptcha.com" ]
-  - [ "Siemens", "http://www.siemens.com" ]
-  - [ "Uber", "http://uber.com" ]
-
-# Apache Projects using Thrift: Project name, website
-apache_projects:
-  - [ "Accumulo", "https://accumulo.apache.org" ]
-  - [ "Aurora", "http://aurora.apache.org" ]
-  - [ "Camel", "http://camel.apache.org/" ]
-  - [ "Hadoop", "http://wiki.apache.org/hadoop/HDFS-APIs" ]
-  - [ "HBase", "http://wiki.apache.org/hadoop/Hbase/ThriftApi" ]
-  - [ "Parquet", "https://parquet.apache.org" ]
-  - [ "Storm", "http://storm.apache.org/" ]
-
-# OSS Projects using Thrift: Project name, website
-oss_projects:
-  - [ "Microsoft Robust Distributed System Nucleus (rDSN)", "https://github.com/Microsoft/rDSN" ]
-  - [ "Twitter Finagle", "http://twitter.github.io/finagle/guide/Protocols.html" ]
-  - [ "Twitter Scrooge", "http://twitter.github.io/scrooge" ]
-
 # external packages hosted elsewhere:
 # - Thrift target language
 # - package manager name
@@ -108,7 +5,6 @@ oss_projects:
 # - package control file (git source tree link)
 # - package maintainer name
 # - remarks
-external_packages:
   - [ "(all)",       "Docker",        "https://hub.docker.com/_/thrift/",                                    "Dockerfile",                 "",                          "thrift compiler in /usr/local/bin/thrift" ]
   - [ "ActionScript","Maven",         "https://repository.apache.org/#nexus-search;quick~libthrift-as3",     "lib/as3/build.xml",          "jking",                     "" ]
   - [ "C (glib)",    "",              "",                                                                    "",                           "",                          "language has no package manager" ]
diff --git a/_data/oss_projects.yml b/_data/oss_projects.yml
new file mode 100644
index 0000000..e29da48
--- /dev/null
+++ b/_data/oss_projects.yml
@@ -0,0 +1,4 @@
+# OSS Projects using Thrift: Project name, website
+  - [ "Microsoft Robust Distributed System Nucleus (rDSN)", "https://github.com/Microsoft/rDSN" ]
+  - [ "Twitter Finagle", "http://twitter.github.io/finagle/guide/Protocols.html" ]
+  - [ "Twitter Scrooge", "http://twitter.github.io/scrooge" ]
diff --git a/_data/powered_by.yml b/_data/powered_by.yml
new file mode 100644
index 0000000..3aec4bc
--- /dev/null
+++ b/_data/powered_by.yml
@@ -0,0 +1,13 @@
+# Powered by: Company name, website
+  - [ "Cloudera", "http://www.cloudera.com" ]
+  - [ "Evernote", "http://evernote.com" ]
+  - [ "Facebook", "http://www.facebook.com" ]
+  - [ "last.fm", "http://www.last.fm" ]
+  - [ "Mendeley", "http://www.mendeley.com" ]
+  - [ "OpenX", "http://www.openx.org" ]
+  - [ "Pinterest", "http://www.pinterest.com" ]
+  - [ "Quora", "http://www.quora.com" ]
+  - [ "RapLeaf", "http://www.rapleaf.com" ]
+  - [ "reCaptcha", "http://www.recaptcha.com" ]
+  - [ "Siemens", "http://www.siemens.com" ]
+  - [ "Uber", "http://uber.com" ]
diff --git a/about.md b/about.md
index 3a802d5..bc2879a 100644
--- a/about.md
+++ b/about.md
@@ -34,7 +34,7 @@ Project Team
       <td><b>Specialities</b></td>
       <td><b>Timezone</b></td>
     </tr>
-    {% for item in site.committers %}
+    {% for item in site.data.committers %}
     <tr class="">
       <td class="username">{{ item[0] }}</td>
       <td class="fullname">{{ item[1] }}</td>
@@ -67,7 +67,7 @@ The following companies are known to employ Apache Thrift in their production se
             <td><b>Company</b></td>
             <td><b>Website</b></td>
         </tr>
-        {% for item in site.powered_by %}
+        {% for item in site.data.powered_by %}
         <tr class="">
             <td class="company">{{ item[0] }}</td>
             <td class="website"><a href="{{ item[1] }}">{{ item[1] }}</a></td>
@@ -88,7 +88,7 @@ Apache Thrift is widely used in lots of other Open Source projects. These are so
             <td><b>Project</b></td>
             <td><b>Website</b></td>
         </tr>
-        {% for item in site.oss_projects %}
+        {% for item in site.data.oss_projects %}
         <tr class="">
             <td class="company">{{ item[0] }}</td>
             <td class="website"><a href="{{ item[1] }}">{{ item[1] }}</a></td>
@@ -109,7 +109,7 @@ There's also plenty of other Apache projects who are using and/or supporting Thr
             <td><b>Project</b></td>
             <td><b>Website</b></td>
         </tr>
-        {% for item in site.apache_projects %}
+        {% for item in site.data.apache_projects %}
         <tr class="">
             <td class="company">{{ item[0] }}</td>
             <td class="website"><a href="{{ item[1] }}">{{ item[1] }}</a></td>
diff --git a/lib/index.md b/lib/index.md
index f572a34..2ddb0f7 100644
--- a/lib/index.md
+++ b/lib/index.md
@@ -32,7 +32,7 @@ Some language specific documentation is for the Apache Thrift Libraries are gene
             <td><b>Maintainer</b></td>
             <td><b>Remarks</b></td>
         </tr>
-        {% for item in site.external_packages %}
+        {% for item in site.data.external_packages %}
         <tr class="">
             <td class="language">{{ item[0] }}</td>
             <td class="packman">{{ item[1] }}</td>