Skip to content

Commit

Permalink
Materialize lists of editors per spec version
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfhandl authored and duncanbeevers committed Feb 8, 2025
1 parent 80a65ba commit 9c02f33
Show file tree
Hide file tree
Showing 9 changed files with 95 additions and 31 deletions.
35 changes: 4 additions & 31 deletions scripts/md2html/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,8 @@ latest=$(git describe --abbrev=0 --tags)
latestCopied="none"
lastMinor="-"

mkdir -p history
cat > history/MAINTAINERS_v2.0.md << EOF
## Active
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
* Ron Ratovsky [@webron](https://github.com/webron)
* Tony Tam [@fehguy](https://github.com/fehguy)
EOF
cat > history/MAINTAINERS_v3.0.0.md << EOF
## Active
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
* Ron Ratovsky [@webron](https://github.com/webron)
* Tony Tam [@fehguy](https://github.com/fehguy)
## Emeritus
* Jason Harmon [@jharmn](https://github.com/jharmn)
EOF
git show c740e95:MAINTAINERS.md > history/MAINTAINERS_v3.0.1.md
git show 3140640:MAINTAINERS.md > history/MAINTAINERS_v3.0.2.md
cp history/MAINTAINERS_v3.0.2.md history/MAINTAINERS_v3.0.3.md
cp history/MAINTAINERS_v3.0.2.md history/MAINTAINERS_v3.1.0.md
#TODO: adjust commit for 3.0.4, 3.1.1
git show c3b88ed:EDITORS.md > history/MAINTAINERS_v3.0.4.md
cp history/MAINTAINERS_v3.0.4.md history/MAINTAINERS_v3.1.1.md
# add lines for 3.2.0, ...

if [ -z "$1" ]; then
specifications=$(ls -1 versions/[23456789].*.md | sort -r)
specifications=$(ls -1 versions/[23456789].*.md | grep -v -e "\-editors" | sort -r)
elif [ "$1" = "latest" ]; then
specifications=$(ls -1 versions/$latest.md)
elif [ "$1" = "src" ]; then
Expand All @@ -67,13 +40,14 @@ cp -p node_modules/respec/builds/respec-w3c.* $deploydir/js/
for specification in $specifications; do
version=$(basename $specification .md)
minorVersion=${version:0:3}
destination="$deploydir/$version.html"
tempfile="$deploydir/temp/$version.html"

if [ "$1" = "src" ]; then
destination="$deploydir/$version.html"
maintainers="EDITORS.md"
else
maintainers="history/MAINTAINERS_v$version.md"
destination="$deploydir/v$version.html"
maintainers="$(dirname $specification)/$version-editors.md"
fi

echo === Building $version to $destination
Expand Down Expand Up @@ -105,4 +79,3 @@ fi
rm $deploydir/js/respec-w3c.*
rmdir $deploydir/js
rmdir $deploydir/temp
rm -r history
5 changes: 5 additions & 0 deletions versions/2.0-editors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Active
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
* Ron Ratovsky [@webron](https://github.com/webron)
* Tony Tam [@fehguy](https://github.com/fehguy)
8 changes: 8 additions & 0 deletions versions/3.0.0-editors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Active
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
* Ron Ratovsky [@webron](https://github.com/webron)
* Tony Tam [@fehguy](https://github.com/fehguy)

## Emeritus
* Jason Harmon [@jharmn](https://github.com/jharmn)
9 changes: 9 additions & 0 deletions versions/3.0.1-editors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Active
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller)
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
* Ron Ratovsky [@webron](https://github.com/webron)

## Emeritus
* Jason Harmon [@jharmn](https://github.com/jharmn)
* Tony Tam [@fehguy](https://github.com/fehguy)
11 changes: 11 additions & 0 deletions versions/3.0.2-editors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Active
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller)
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
* Mike Ralphson [@MikeRalphson](https://github.com/MikeRalphson)
* Ron Ratovsky [@webron](https://github.com/webron)
* Uri Sarid [@usarid](https://github.com/usarid)

## Emeritus
* Jason Harmon [@jharmn](https://github.com/jharmn)
* Tony Tam [@fehguy](https://github.com/fehguy)
11 changes: 11 additions & 0 deletions versions/3.0.3-editors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Active
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller)
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
* Mike Ralphson [@MikeRalphson](https://github.com/MikeRalphson)
* Ron Ratovsky [@webron](https://github.com/webron)
* Uri Sarid [@usarid](https://github.com/usarid)

## Emeritus
* Jason Harmon [@jharmn](https://github.com/jharmn)
* Tony Tam [@fehguy](https://github.com/fehguy)
18 changes: 18 additions & 0 deletions versions/3.0.4-editors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# OpenAPI Specification Editors

## Active
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller)
* Henry Andrews [@handrews](https://github.com/handrews)
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
* Lorna Mitchell [@lornajane](https://github.com/lornajane)
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
* Miguel Quintero [@miqui](https://github.com/miqui)
* Mike Kistler [@mikekistler](https://github.com/mikekistler)
* Ralf Handl [@ralfhandl](https://github.com/ralfhandl)
* Ron Ratovsky [@webron](https://github.com/webron)

## Emeritus
* Mike Ralphson [@MikeRalphson](https://github.com/MikeRalphson)
* Uri Sarid [@usarid](https://github.com/usarid)
* Jason Harmon [@jharmn](https://github.com/jharmn)
* Tony Tam [@fehguy](https://github.com/fehguy)
11 changes: 11 additions & 0 deletions versions/3.1.0-editors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Active
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller)
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
* Mike Ralphson [@MikeRalphson](https://github.com/MikeRalphson)
* Ron Ratovsky [@webron](https://github.com/webron)
* Uri Sarid [@usarid](https://github.com/usarid)

## Emeritus
* Jason Harmon [@jharmn](https://github.com/jharmn)
* Tony Tam [@fehguy](https://github.com/fehguy)
18 changes: 18 additions & 0 deletions versions/3.1.1-editors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# OpenAPI Specification Editors

## Active
* Darrel Miller [@darrelmiller](https://github.com/darrelmiller)
* Henry Andrews [@handrews](https://github.com/handrews)
* Jeremy Whitlock [@whitlockjc](https://github.com/whitlockjc)
* Lorna Mitchell [@lornajane](https://github.com/lornajane)
* Marsh Gardiner [@earth2marsh](https://github.com/earth2marsh)
* Miguel Quintero [@miqui](https://github.com/miqui)
* Mike Kistler [@mikekistler](https://github.com/mikekistler)
* Ralf Handl [@ralfhandl](https://github.com/ralfhandl)
* Ron Ratovsky [@webron](https://github.com/webron)

## Emeritus
* Mike Ralphson [@MikeRalphson](https://github.com/MikeRalphson)
* Uri Sarid [@usarid](https://github.com/usarid)
* Jason Harmon [@jharmn](https://github.com/jharmn)
* Tony Tam [@fehguy](https://github.com/fehguy)

0 comments on commit 9c02f33

Please sign in to comment.