Skip to content

Commit b3c3d73

Browse files
Reinitialize repository (#298)
This PR reinitializes the repository using the [internet-draft-template repo](https://github.com/martinthomson/internet-draft-template) to allow the usual actions to work
1 parent 759f529 commit b3c3d73

File tree

14 files changed

+285
-148
lines changed

14 files changed

+285
-148
lines changed

.editorconfig

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1+
# See http://editorconfig.org
2+
13
root = true
24

3-
[*]
5+
[*.{md,xml,org}]
46
charset = utf-8
5-
end_of_line = lf
6-
trim_trailing_whitespace = true
77
insert_final_newline = true
8-
indent_style = space
9-
indent_size = 2
10-
max_line_length = 80
11-
12-
[Makefile]
13-
indent_style = tab
8+
trim_trailing_whitespace = true

.github/workflows/LICENSE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This project is in the public domain.

.github/workflows/archive.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: "Archive Issues and Pull Requests"
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 0,2,4'
6+
repository_dispatch:
7+
types: [archive]
8+
workflow_dispatch:
9+
inputs:
10+
archive_full:
11+
description: 'Recreate the archive from scratch'
12+
default: false
13+
type: boolean
14+
15+
jobs:
16+
build:
17+
name: "Archive Issues and Pull Requests"
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: "Checkout"
21+
uses: actions/checkout@v2
22+
23+
# Note: No caching for this build!
24+
25+
- name: "Update Archive"
26+
uses: martinthomson/i-d-template@v1
27+
env:
28+
ARCHIVE_FULL: ${{ inputs.archive_full }}
29+
with:
30+
make: archive
31+
token: ${{ github.token }}
32+
33+
- name: "Update GitHub Pages"
34+
uses: martinthomson/i-d-template@v1
35+
with:
36+
make: gh-archive
37+
token: ${{ github.token }}
38+
39+
- name: "Save Archive"
40+
uses: actions/upload-artifact@v3
41+
with:
42+
path: archive.json

.github/workflows/deploy.yml

Lines changed: 0 additions & 68 deletions
This file was deleted.

.github/workflows/ghpages.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: "Update Editor's Copy"
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- README.md
7+
- CONTRIBUTING.md
8+
- LICENSE.md
9+
- .gitignore
10+
pull_request:
11+
paths-ignore:
12+
- README.md
13+
- CONTRIBUTING.md
14+
- LICENSE.md
15+
- .gitignore
16+
17+
jobs:
18+
build:
19+
name: "Update Editor's Copy"
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: "Checkout"
23+
uses: actions/checkout@v3
24+
25+
- name: "Setup"
26+
id: setup
27+
run: date -u "+date=%FT%T" >>"$GITHUB_OUTPUT"
28+
29+
- name: "Caching"
30+
uses: actions/cache@v3
31+
with:
32+
path: |
33+
.refcache
34+
.venv
35+
.gems
36+
node_modules
37+
.targets.mk
38+
key: i-d-${{ steps.setup.outputs.date }}
39+
restore-keys: i-d-
40+
41+
- name: "Build Drafts"
42+
uses: martinthomson/i-d-template@v1
43+
with:
44+
token: ${{ github.token }}
45+
46+
- name: "Update GitHub Pages"
47+
uses: martinthomson/i-d-template@v1
48+
if: ${{ github.event_name == 'push' }}
49+
with:
50+
make: gh-pages
51+
token: ${{ github.token }}
52+
53+
- name: "Archive Built Drafts"
54+
uses: actions/upload-artifact@v3
55+
with:
56+
path: |
57+
draft-*.html
58+
draft-*.txt

.github/workflows/publish.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: "Publish New Draft Version"
2+
3+
on:
4+
push:
5+
tags:
6+
- "draft-*"
7+
8+
jobs:
9+
build:
10+
name: "Publish New Draft Version"
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: "Checkout"
14+
uses: actions/checkout@v3
15+
16+
# See https://github.com/actions/checkout/issues/290
17+
- name: "Get Tag Annotations"
18+
run: git fetch -f origin ${{ github.ref }}:${{ github.ref }}
19+
20+
- name: "Setup"
21+
id: setup
22+
run: date -u "+date=%FT%T" >>"$GITHUB_OUTPUT"
23+
24+
- name: "Caching"
25+
uses: actions/cache@v3
26+
with:
27+
path: |
28+
.refcache
29+
.venv
30+
.gems
31+
node_modules
32+
.targets.mk
33+
key: i-d-${{ steps.setup.outputs.date }}
34+
restore-keys: i-d-
35+
36+
- name: "Build Drafts"
37+
uses: martinthomson/i-d-template@v1
38+
with:
39+
token: ${{ github.token }}
40+
41+
- name: "Upload to Datatracker"
42+
uses: martinthomson/i-d-template@v1
43+
with:
44+
make: upload
45+
46+
- name: "Archive Submitted Drafts"
47+
uses: actions/upload-artifact@v3
48+
with:
49+
path: "versioned/draft-*-[0-9][0-9].*"

.github/workflows/test.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/update.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: "Update Generated Files"
2+
# This rule is not run automatically.
3+
# It can be run manually to update all of the files that are part
4+
# of the template, specifically:
5+
# - README.md
6+
# - CONTRIBUTING.md
7+
# - .note.xml
8+
# - .github/CODEOWNERS
9+
# - Makefile
10+
#
11+
#
12+
# This might be useful if you have:
13+
# - added, removed, or renamed drafts (including after adoption)
14+
# - added, removed, or changed draft editors
15+
# - changed the title of drafts
16+
#
17+
# Note that this removes any customizations you have made to
18+
# the affected files.
19+
on: workflow_dispatch
20+
21+
jobs:
22+
build:
23+
name: "Update Files"
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: "Checkout"
27+
uses: actions/checkout@v2
28+
29+
- name: "Update Generated Files"
30+
uses: martinthomson/i-d-template@v1
31+
with:
32+
make: update-files
33+
token: ${{ github.token }}
34+
35+
- name: "Push Update"
36+
run: git push

.gitignore

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1-
.refcache
21
*.html
3-
*.xml
4-
*.xml.new
2+
*.pdf
3+
*.redxml
4+
*.swp
55
*.txt
6+
*.upload
7+
*~
8+
.tags
9+
/*-[0-9][0-9].xml
10+
/.gems/
11+
/.refcache
12+
/.targets.mk
13+
/.venv/
14+
/.vscode/
15+
/lib
16+
/node_modules/
17+
/versioned/
18+
Gemfile.lock
19+
archive.json
20+
draft-ietf-moq-transport.xml
21+
package-lock.json
22+
report.xml
23+
!requirements.txt

.note.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<note title="Discussion Venues" removeInRFC="true">
2+
<t>Discussion of this document takes place on the
3+
Media Over QUIC Working Group mailing list ([email protected]),
4+
which is archived at <eref target="https://mailarchive.ietf.org/arch/browse/moq/"/>.</t>
5+
<t>Source for this draft and an issue tracker can be found at
6+
<eref target="https://github.com/moq-wg/moq-transport"/>.</t>
7+
</note>

0 commit comments

Comments
 (0)