Skip to content

Commit 10c10bc

Browse files
committed
Materialize lists of editors per spec version
1 parent ba75c29 commit 10c10bc

9 files changed

+96
-27
lines changed

scripts/md2html/build.sh

+5-27
Original file line numberDiff line numberDiff line change
@@ -9,45 +9,23 @@ mkdir -p deploy/oas
99
mkdir -p deploy/js
1010

1111
cd scripts/md2html
12-
mkdir -p history
13-
cat > history/MAINTAINERS_v2.0.md <<EOF
14-
## Active
15-
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
16-
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
17-
* Ron Ratovsky [@webron](https://github.com/webron)
18-
* Tony Tam [@fehguy](https://github.com/fehguy)
19-
EOF
20-
cat > history/MAINTAINERS_v3.0.0.md <<EOF
21-
## Active
22-
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
23-
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
24-
* Ron Ratovsky [@webron](https://github.com/webron)
25-
* Tony Tam [@fehguy](https://github.com/fehguy)
26-
27-
## Emeritus
28-
* Jason Harmon [@jharmn](https://github.com/jharmn)
29-
EOF
30-
git show c740e95:MAINTAINERS.md > history/MAINTAINERS_v3.0.1.md
31-
git show 3140640:MAINTAINERS.md > history/MAINTAINERS_v3.0.2.md
32-
cp history/MAINTAINERS_v3.0.2.md history/MAINTAINERS_v3.0.3.md
33-
cp history/MAINTAINERS_v3.0.2.md history/MAINTAINERS_v3.1.0.md
34-
#TODO: adjust commit for 3.0.4, 3.1.1
35-
git show c3b88ed:EDITORS.md > history/MAINTAINERS_v3.0.4.md
36-
cp history/MAINTAINERS_v3.0.4.md history/MAINTAINERS_v3.1.1.md
37-
# add lines for 3.2.0, ...
3812

3913
cp -p ../../node_modules/respec/builds/respec-w3c.* ../../deploy/js/
4014

4115
latest=`git describe --abbrev=0 --tags`
4216
latestCopied=none
4317
lastMinor="-"
4418
for filename in $(ls -1 ../../versions/[23456789].*.md | sort -r) ; do
19+
if [[ ${filename} == *-editors.md ]];then
20+
continue
21+
fi
22+
4523
version=$(basename "$filename" .md)
4624
minorVersion=${version:0:3}
4725
tempfile=../../deploy/oas/v$version-tmp.html
4826
echo -e "\n=== v$version ==="
4927

50-
node md2html.js --maintainers ./history/MAINTAINERS_v$version.md ${filename} > $tempfile
28+
node md2html.js --maintainers ../../versions/$version-editors.md ${filename} > $tempfile
5129
npx respec --use-local --src $tempfile --out ../../deploy/oas/v$version.html
5230
rm $tempfile
5331

versions/2.0-editors.md

+5
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

+8
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

+9
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

+11
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

+11
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

+18
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

+11
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

+18
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)