You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by aw...@apache.org on 2018/07/27 17:36:10 UTC
[2/2] yetus git commit: YETUS-432. website generation mysteriously
fails when releasedocmaker fails
YETUS-432. website generation mysteriously fails when releasedocmaker fails
Signed-off-by: Jack Bearden <ja...@jackbearden.com>
Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/0abf0a75
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/0abf0a75
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/0abf0a75
Branch: refs/heads/master
Commit: 0abf0a7562b8c0b24561043b017d80df368557af
Parents: 1485f89
Author: Allen Wittenauer <aw...@apache.org>
Authored: Thu Jul 19 14:11:35 2018 -0700
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Fri Jul 27 10:34:11 2018 -0700
----------------------------------------------------------------------
asf-site-src/config.rb | 2 ++
asf-site-src/source/contribute/website.md | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/yetus/blob/0abf0a75/asf-site-src/config.rb
----------------------------------------------------------------------
diff --git a/asf-site-src/config.rb b/asf-site-src/config.rb
index 7cf2c43..0c7bf8a 100644
--- a/asf-site-src/config.rb
+++ b/asf-site-src/config.rb
@@ -97,7 +97,9 @@ def releasenotes(output, version)
--projecttitle="Apache Yetus" \
--dirversions \
--usetoday --license --lint=all)`
+ errmsg = $stderr
unless $CHILD_STATUS.exitstatus == 0
+ puts(errmsg)
abort("releasedocmaker failed to generate release notes for #{version}.")
end
http://git-wip-us.apache.org/repos/asf/yetus/blob/0abf0a75/asf-site-src/source/contribute/website.md
----------------------------------------------------------------------
diff --git a/asf-site-src/source/contribute/website.md b/asf-site-src/source/contribute/website.md
index 1076d2d..19cd73a 100644
--- a/asf-site-src/source/contribute/website.md
+++ b/asf-site-src/source/contribute/website.md
@@ -17,7 +17,7 @@
under the License.
-->
-# Maintaing the Yetus Website
+# Maintaining the Yetus Website
We use [Middleman](https://middlemanapp.com/) to generate the website content from markdown and other
dynamic templates. The following steps assume you have a working
@@ -27,6 +27,7 @@ ruby 2.x environment setup:
gem install bundler
bundle install
```
+and a working python 2.x environment for [releasedocmaker](../in-progress/releasedocmaker/).
If you're interested in digging into how our site makes use of Middleman, or if you run into a problem, you should start
by reading [Middleman's excellent documentation](https://middlemanapp.com/basics/install/).