Skip to content

Commit 9c02f33

Browse files
ralfhandlduncanbeevers
authored andcommitted
Materialize lists of editors per spec version
1 parent 80a65ba commit 9c02f33

9 files changed

+95
-31
lines changed

scripts/md2html/build.sh

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -25,35 +25,8 @@ latest=$(git describe --abbrev=0 --tags)
2525
latestCopied="none"
2626
lastMinor="-"
2727

28-
mkdir -p history
29-
cat > history/MAINTAINERS_v2.0.md << EOF
30-
## Active
31-
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
32-
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
33-
* Ron Ratovsky [@webron](https://github.com/webron)
34-
* Tony Tam [@fehguy](https://github.com/fehguy)
35-
EOF
36-
cat > history/MAINTAINERS_v3.0.0.md << EOF
37-
## Active
38-
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
39-
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
40-
* Ron Ratovsky [@webron](https://github.com/webron)
41-
* Tony Tam [@fehguy](https://github.com/fehguy)
42-
43-
## Emeritus
44-
* Jason Harmon [@jharmn](https://github.com/jharmn)
45-
EOF
46-
git show c740e95:MAINTAINERS.md > history/MAINTAINERS_v3.0.1.md
47-
git show 3140640:MAINTAINERS.md > history/MAINTAINERS_v3.0.2.md
48-
cp history/MAINTAINERS_v3.0.2.md history/MAINTAINERS_v3.0.3.md
49-
cp history/MAINTAINERS_v3.0.2.md history/MAINTAINERS_v3.1.0.md
50-
#TODO: adjust commit for 3.0.4, 3.1.1
51-
git show c3b88ed:EDITORS.md > history/MAINTAINERS_v3.0.4.md
52-
cp history/MAINTAINERS_v3.0.4.md history/MAINTAINERS_v3.1.1.md
53-
# add lines for 3.2.0, ...
54-
5528
if [ -z "$1" ]; then
56-
specifications=$(ls -1 versions/[23456789].*.md | sort -r)
29+
specifications=$(ls -1 versions/[23456789].*.md | grep -v -e "\-editors" | sort -r)
5730
elif [ "$1" = "latest" ]; then
5831
specifications=$(ls -1 versions/$latest.md)
5932
elif [ "$1" = "src" ]; then
@@ -67,13 +40,14 @@ cp -p node_modules/respec/builds/respec-w3c.* $deploydir/js/
6740
for specification in $specifications; do
6841
version=$(basename $specification .md)
6942
minorVersion=${version:0:3}
70-
destination="$deploydir/$version.html"
7143
tempfile="$deploydir/temp/$version.html"
7244

7345
if [ "$1" = "src" ]; then
46+
destination="$deploydir/$version.html"
7447
maintainers="EDITORS.md"
7548
else
76-
maintainers="history/MAINTAINERS_v$version.md"
49+
destination="$deploydir/v$version.html"
50+
maintainers="$(dirname $specification)/$version-editors.md"
7751
fi
7852

7953
echo === Building $version to $destination
@@ -105,4 +79,3 @@ fi
10579
rm $deploydir/js/respec-w3c.*
10680
rmdir $deploydir/js
10781
rmdir $deploydir/temp
108-
rm -r history

versions/2.0-editors.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Active
2+
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
3+
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
4+
* Ron Ratovsky [@webron](https://github.com/webron)
5+
* Tony Tam [@fehguy](https://github.com/fehguy)

versions/3.0.0-editors.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Active
2+
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
3+
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
4+
* Ron Ratovsky [@webron](https://github.com/webron)
5+
* Tony Tam [@fehguy](https://github.com/fehguy)
6+
7+
## Emeritus
8+
* Jason Harmon [@jharmn](https://github.com/jharmn)

versions/3.0.1-editors.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Active
2+
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller)
3+
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
4+
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
5+
* Ron Ratovsky [@webron](https://github.com/webron)
6+
7+
## Emeritus
8+
* Jason Harmon [@jharmn](https://github.com/jharmn)
9+
* Tony Tam [@fehguy](https://github.com/fehguy)

versions/3.0.2-editors.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Active
2+
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller)
3+
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
4+
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
5+
* Mike Ralphson [@MikeRalphson](https://github.com/MikeRalphson)
6+
* Ron Ratovsky [@webron](https://github.com/webron)
7+
* Uri Sarid [@usarid](https://github.com/usarid)
8+
9+
## Emeritus
10+
* Jason Harmon [@jharmn](https://github.com/jharmn)
11+
* Tony Tam [@fehguy](https://github.com/fehguy)

versions/3.0.3-editors.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Active
2+
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller)
3+
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
4+
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
5+
* Mike Ralphson [@MikeRalphson](https://github.com/MikeRalphson)
6+
* Ron Ratovsky [@webron](https://github.com/webron)
7+
* Uri Sarid [@usarid](https://github.com/usarid)
8+
9+
## Emeritus
10+
* Jason Harmon [@jharmn](https://github.com/jharmn)
11+
* Tony Tam [@fehguy](https://github.com/fehguy)

versions/3.0.4-editors.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# OpenAPI Specification Editors
2+
3+
## Active
4+
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller)
5+
* Henry Andrews [@handrews](https://github.com/handrews)
6+
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
7+
* Lorna Mitchell [@lornajane](https://github.com/lornajane)
8+
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
9+
* Miguel Quintero [@miqui](https://github.com/miqui)
10+
* Mike Kistler [@mikekistler](https://github.com/mikekistler)
11+
* Ralf Handl [@ralfhandl](https://github.com/ralfhandl)
12+
* Ron Ratovsky [@webron](https://github.com/webron)
13+
14+
## Emeritus
15+
* Mike Ralphson [@MikeRalphson](https://github.com/MikeRalphson)
16+
* Uri Sarid [@usarid](https://github.com/usarid)
17+
* Jason Harmon [@jharmn](https://github.com/jharmn)
18+
* Tony Tam [@fehguy](https://github.com/fehguy)

versions/3.1.0-editors.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Active
2+
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller)
3+
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
4+
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
5+
* Mike Ralphson [@MikeRalphson](https://github.com/MikeRalphson)
6+
* Ron Ratovsky [@webron](https://github.com/webron)
7+
* Uri Sarid [@usarid](https://github.com/usarid)
8+
9+
## Emeritus
10+
* Jason Harmon [@jharmn](https://github.com/jharmn)
11+
* Tony Tam [@fehguy](https://github.com/fehguy)

versions/3.1.1-editors.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# OpenAPI Specification Editors
2+
3+
## Active
4+
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller)
5+
* Henry Andrews [@handrews](https://github.com/handrews)
6+
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
7+
* Lorna Mitchell [@lornajane](https://github.com/lornajane)
8+
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
9+
* Miguel Quintero [@miqui](https://github.com/miqui)
10+
* Mike Kistler [@mikekistler](https://github.com/mikekistler)
11+
* Ralf Handl [@ralfhandl](https://github.com/ralfhandl)
12+
* Ron Ratovsky [@webron](https://github.com/webron)
13+
14+
## Emeritus
15+
* Mike Ralphson [@MikeRalphson](https://github.com/MikeRalphson)
16+
* Uri Sarid [@usarid](https://github.com/usarid)
17+
* Jason Harmon [@jharmn](https://github.com/jharmn)
18+
* Tony Tam [@fehguy](https://github.com/fehguy)

0 commit comments

Comments
 (0)