Permalink
Browse files

Tweaks for the 0.1.0 release.

- Bump version to 0.1.0 in docs.
- Minor fix in alpine test script.
- Polish docs and go through the release process again.
- Update the quickref to include the 'type' builtin.

Unrelated:

- Add a test for 4-byte unicode characters, which fails under OVM.
  Python builds are narrow by default!
  • Loading branch information...
Andy Chu
Andy Chu committed Sep 8, 2017
1 parent 66a79e1 commit c9bb39a00a548402cf29a0c2d5c4c9c25a2fa714
Showing with 47 additions and 30 deletions.
  1. +3 −3 INSTALL.txt
  2. +6 −2 build/doc.sh
  3. +3 −0 build/testdata/hello.py
  4. +1 −1 doc/osh-quick-ref-toc.txt
  5. +19 −17 doc/release-index.md
  6. +1 −1 oil-version.txt
  7. +13 −5 scripts/release.sh
  8. +1 −1 test/alpine.sh
View
@@ -12,8 +12,8 @@ Quick Start
If you haven't already done so, extract the tarball:
tar -x --xz < oil-0.1.alpha1.tar.xz
cd oil-0.1.alpha1
tar -x --xz < oil-0.1.0.tar.xz
cd oil-0.1.0
Either install as /usr/local/bin/osh:
@@ -31,7 +31,7 @@ The latter doesn't require root access, but it requires ~/bin to be in your
PATH.
NOTE: Out-of-tree builds are NOT currently supported, so you have to be in the
oil-0.1.alpha1 directory.
oil-0.1.0 directory.
Smoke Test
----------
View
@@ -173,8 +173,12 @@ _sed-ext() {
}
update-src-versions() {
_sed-ext "s/Version [0-9]+.[0-9]+.[a-z0-9]+/Version $OIL_VERSION/g" doc/index.md
_sed-ext "s/oil-[0-9]+.[0-9]+.[a-z0-9]+/oil-$OIL_VERSION/g" INSTALL.txt
_sed-ext \
"s/Version [0-9]+.[0-9]+.[a-z0-9]+/Version $OIL_VERSION/g" \
doc/release-index.md
_sed-ext \
"s/oil-[0-9]+.[0-9]+.[a-z0-9]+/oil-$OIL_VERSION/g" INSTALL.txt
}
"$@"
View
@@ -60,6 +60,9 @@ def main(argv):
n = 100
Busy(n)
elif action == 'unicode': # For testing that we support 4-byte chars
print(repr(unichr(0x10000)))
elif action == 'crash': # For testing that stack trace shows code
lib.Crash()
@@ -69,8 +69,8 @@ BUILTIN COMMANDS
[Child Process] jobs wait ampersand &
X fg X bg X disown
[External] test [ X printf X getopts X kill
[Introspection] help X hash type X caller
X [Word Lookup] command builtin
X [Introspection] help hash type caller
X [Interactive] alias unalias bind history fc
X [Unsupported] enable
View
@@ -1,27 +1,29 @@
<!-- NOTE: This file is at /release/$VERSION/index.html -->
Oil Version 0.1.alpha1
======================
Oil Version 0.1.0
-----------------
Documentation
--------------
### What's New
### For End Users
- The [Release announcement](announcement.html) has a high-level summary of
changes.
- Details are in the [raw git change log](changelog.html). Some of these
changes may not affect the release tarball (e.g. tool changes).
- [INSTALL](doc/INSTALL.html). How to install OSH. This text file is also
at the root of the tarball.
- [OSH Quick Reference](doc/osh-quick-ref.html), with Examples. This document
underlies the OSH `help` builtin.
### Docs For End Users
### For Developers
- [INSTALL](doc/INSTALL.html). How to install OSH. This text file is also at
the root of the tarball.
- [OSH Quick Reference](doc/osh-quick-ref.html), with Examples (in progress).
This document underlies the OSH `help` builtin. It also gives a rough
overview of what features OSH implements.
### Docs For Developers
- [Github Wiki for oilshell/oil](https://github.com/oilshell/oil/wiki)
Links
-----
### Links
- [Raw Git change log](changelog.html). Some of these changes may not
affect the release tarball (e.g. tool changes). See the [release
announcement](announcement.html) for a higher-level summary.
- [Spec Test Results](test/spec/RESULTS.html)
- [Metrics](metrics/)
- [Spec Test Results](test/spec/RESULTS.html). OSH behavior is tested against
the behavior of existing shells.
- [Source Code Metrics](metrics/). How much code is in Oil?
View
@@ -1,4 +1,4 @@
0.1.alpha1
0.1.0
# The first line of this file is the Oil version, and the rest is ignored.
# It's used at build time for the release tarball, and at runtime for oil
View
@@ -2,6 +2,15 @@
#
# Usage:
# ./release.sh <function name>
#
# Steps:
# $0 build-and-test
# $0 deploy-tar
# $0 deploy-doc
# - Generate changelog.html
# - Generate announcment.html (link)
#
# Then go to oilshell.org repo and do ./deploy.sh all.
set -o nounset
set -o pipefail
@@ -244,7 +253,7 @@ EOF
}
git-changelog-0.1() {
local version='0.1.alpha1'
local version='0.1.0'
_git-changelog release/0.0.0 release/0.1.0 \
> ../oilshell.org__deploy/release/$version/changelog.html
}
@@ -271,8 +280,8 @@ announcement-0.0() {
}
announcement-0.1() {
local version='0.1.alpha1'
html-redirect '/blog/2017/09/TODO.html' \
local version='0.1.0'
html-redirect '/blog/2017/09/09.html' \
> ../oilshell.org__deploy/release/$version/announcement.html
}
@@ -328,9 +337,8 @@ deploy-tar() {
ls -l $download_dir
}
#
# Generate release.html.
# Generate releases.html.
#
# Examples of similar release HTML pages:
View
@@ -117,7 +117,7 @@ _test-tar() {
local target=_bin/${name}.ovm
#local target=_bin/${name}.ovm-dbg
enter-chroot /bin/sh <<EOF
enter-chroot '' /bin/sh <<EOF
set -e
cd src
tar --extract -z < $name-$version.tar.gz

0 comments on commit c9bb39a

Please sign in to comment.