Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbrightwell authored Apr 29, 2024
0 parents commit fb51d95
Show file tree
Hide file tree
Showing 33 changed files with 630 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: (e.g. iOS)
- Browser (e.g. chrome, safari)
- Version (e.g. 22)

**Smartphone (please complete the following information):**
- Device: (e.g. iPhone6)
- OS: (e.g. iOS8.1)
- Browser (e.g. stock browser, safari)
- Version (e.g. 22)

**Additional context**
Add any other context about the problem here.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels:
assignees: ''

---


20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when...

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/sample_issue_form.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Sample form
description: Create an issue.
title: "[Bug]: "
labels: [bug]
assignees:
- octocat
body:
- type: input
id: sample-input
attributes:
label: Sample Input
description: Write text here.
placeholder: Here will be text
validations:
required: true
11 changes: 11 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Lint
on: [push, pull_request, workflow_dispatch]
jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Use NMOS Lint
uses: docker://amwa/nmos-lint:latest
env:
GITHUB_BRANCH: ${{ github.ref_name }}
15 changes: 15 additions & 0 deletions .github/workflows/open_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Open Issue
on:
issues:
types:
- opened

jobs:
label_issue:
runs-on: ubuntu-latest
steps:
- env:
GITHUB_TOKEN: ${{ github.token }}
ISSUE_URL: ${{ github.event.issue.html_url }}
run: |
gh issue edit $ISSUE_URL --add-label "triage"
25 changes: 25 additions & 0 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Render
on:
workflow_dispatch:

push:
branches:
- 'v[0-9]+.[0-9]+-dev'
- 'v[0-9]+.[0-9]+.x'
- 'publish-*'
tags:
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+'
release:
jobs:
build:
runs-on: ubuntu-latest
name: Build
steps:
- name: Use NMOS Render
uses: docker://amwa/nmos-render:latest
env:
SSH_HOST: ${{ secrets.SSH_HOST }}
SSH_USER: ${{ secrets.SSH_USER }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SSH_KNOWN_HOSTS: ${{ secrets.SSH_KNOWN_HOSTS }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*#
*.swp
*~
.DS_Store
10 changes: 10 additions & 0 deletions .lint/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
*#
*.swp
*~
.DS_Store
.scripts/
node_modules/
npm-debug.log
package-lock.json
package.json
yarn.lock
6 changes: 6 additions & 0 deletions .lint/.init-scripts/make-build-tools.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

set -o errexit

git clone --single-branch --branch main https://${GITHUB_TOKEN:+${GITHUB_TOKEN}@}github.com/AMWA-TV/nmos-lint-scripts .scripts
.scripts/install-dependencies.sh
5 changes: 5 additions & 0 deletions .lint/.init-scripts/make-distclean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

set -o errexit

rm -rf package.json node_modules/ yarn.lock package-lock.json .scripts/
9 changes: 9 additions & 0 deletions .lint/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-include .scripts/scripts.mk

.PHONY: build-tools distclean

build-tools:
.init-scripts/make-build-tools.sh

distclean:
.init-scripts/make-distclean.sh
24 changes: 24 additions & 0 deletions .render/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
*#
*.swp
*~
.DS_Store
.layouts/
.sass-cache/
.scripts/
Gemfile.lock
/_layouts/
/_includes/
/assets/
/_data/
_site/
*.json
branches/
index.md
node_modules/
npm-debug.log
package-lock.json
package.json
releases/
raml2html-nmos-theme/
source-repo/
yarn.lock
6 changes: 6 additions & 0 deletions .render/.init-scripts/make-build-tools.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

set -o errexit

git clone --single-branch --branch "${NMOS_DOC_BUILD_SCRIPTS_BRANCH:-main}" https://${GITHUB_TOKEN:+${GITHUB_TOKEN}@}github.com/AMWA-TV/nmos-render-scripts .scripts
.scripts/install-dependencies.sh
9 changes: 9 additions & 0 deletions .render/.init-scripts/make-distclean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

set -o errexit

rm -f index.md index-contents.md
rm -rf source-repo/ branches/ releases/
rm -rf .scripts/ .layouts/ _layouts/ assets/ raml2html-nmos-theme/ _site/ .ssh/
rm -rf node_modules/
rm -f yarn.lock package.json package-lock.json Gemfile.lock
3 changes: 3 additions & 0 deletions .render/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
gem 'faraday', '~>0'
9 changes: 9 additions & 0 deletions .render/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-include .scripts/scripts.mk

.PHONY: build-tools distclean

build-tools:
.init-scripts/make-build-tools.sh

distclean:
.init-scripts/make-distclean.sh
18 changes: 18 additions & 0 deletions .render/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Don't change these
remote_theme: pages-themes/primer
plugins:
- jekyll-remote-theme
spec_server: specs.amwa.tv

# AMWA ID
amwa_id: BCP-TEMPLATE

# Base name for site (typically lower case version of AMWA ID, or the repo name)
baseurl: /bcp-template

# Which release or branch appears in header links and on the home page
default_tree: branches/v1.0-dev # alternatively e.g. releases/v1.0

# Regex patterns of releases and branches to show
show_releases: ^v[0-9]+\.[0-9]+$|^v[0-9]+\.[0-9]+\.[0-9]+$
show_branches: ^v[0-9]+\.[0-9]+-dev$|^v[0-9]+\.[0-9]+\.x$|^publish-
4 changes: 4 additions & 0 deletions .render/spec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

{{ site.data.spec | jsonify }}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog
This document provides an overview of changes between released versions of this specification.

## Release v1.0
* Initial release
33 changes: 33 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Contributing

Thanks for your interest in this AMWA NMOS Specification.

AMWA Specifications (including Best Current Practices) are developed and ratified in accordance with
AMWA's Specification Process. See BCP-001 on the [AMWA Specifications page](https://www.amwa.tv/specifications)

They are created and updated in AMWA working groups, requiring AMWA membership for participation.

AMWA member contributions to this Specification are made subject to AMWA's [IPR Policy](https://www.amwa.tv/about/policies/AMWA_IPR_Policy_V3.0.pdf).
Contributions should be accompanied by the form in an appendix of that policy.

For more information for those wishing to develop or contribute to AMWA NMOS Specifications,
please see the NMOS [Wiki Page](https://github.com/amwa-tv/nmos/wiki/Maintainers) for maintainers.

## Reporting Issues

AMWA members and non-members are welcome to raise issues via the GitHub Issues tab.

## Pull Requests

We accept Pull Requests from AMWA members participating in relevant workgroups. These are subject to the IPR Policy.

Please read about our [GitHub Workflow](https://github.com/amwa-tv/nmos/wiki/GitHub-Workflow) before creating a pull request,
in particular the 'Maintaining a Specification' section, as we try to maintain a consistent approach to branches and releases.
This should indicate which branch it is most appropriate to create your pull request against.

Each NMOS workgroup has a number of members that will review a PR.

## Suggesting Improvements or Enhancements

We are interested in hearing of suggestions, both for the spec itself and the accompanying documentation.
Please use the issue tracker or [contact AMWA](https://www.amwa.tv/contact).
Loading

0 comments on commit fb51d95

Please sign in to comment.