Skip to content

Commit 7bbb4ad

Browse files
committed
Adding the basic stuff
1 parent 75bf84f commit 7bbb4ad

13 files changed

+421
-0
lines changed

.github/CODEOWNERS

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Code owners file.
2+
# This file controls who is tagged for review for any given pull request.
3+
4+
# For anything not explicitly taken by someone else:
5+
* @open-telemetry/demo-webstore-approvers

.github/ISSUE_TEMPLATE/bug_report.md

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve
4+
labels: bug
5+
---
6+
7+
# Bug Report
8+
9+
List of [all OpenTelemetry NuGet
10+
packages](https://www.nuget.org/profiles/OpenTelemetry) and version that you are
11+
using (e.g. `OpenTelemetry 1.0.2`):
12+
13+
* TBD
14+
15+
Runtime version (e.g. `net462`, `net48`, `netcoreapp3.1`, `net6.0` etc. You can
16+
find this information from the `*.csproj` file):
17+
18+
* TBD
19+
20+
## Symptom
21+
22+
A clear and concise description of what the bug is.
23+
24+
**What is the expected behavior?**
25+
26+
What did you expect to see?
27+
28+
**What is the actual behavior?**
29+
30+
What did you see instead?
31+
32+
## Reproduce
33+
34+
Create a self-contained project using the template of your choice, apply the
35+
minimum required code to result in the issue you're observing.
36+
37+
We will close this issue if:
38+
39+
* The repro project you share with us is complex. We can't investigate custom
40+
projects, so don't point us to such, please.
41+
* If we can not reproduce the behavior you're reporting.
42+
43+
## Additional Context
44+
45+
Add any other context about the problem here.
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this project
4+
labels: enhancement
5+
---
6+
7+
# Feature Request
8+
9+
Before opening a feature request against this repo, consider whether the feature
10+
should/could be implemented in the [other OpenTelemetry client
11+
libraries](https://github.com/open-telemetry/). If so, please [open an issue on
12+
opentelemetry-specification](https://github.com/open-telemetry/opentelemetry-specification/issues/new)
13+
first.
14+
15+
**Is your feature request related to a problem?**
16+
17+
If so, provide a concise description of the problem.
18+
19+
**Describe the solution you'd like:**
20+
21+
What do you want to happen instead? What is the expected behavior?
22+
23+
**Describe alternatives you've considered.**
24+
25+
Which alternative solutions or features have you considered?
26+
27+
## Additional Context
28+
29+
Add any other context about the feature request here.

.github/ISSUE_TEMPLATE/question.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: Question
3+
about: Create a question to help us improve our knowledge base and documentation
4+
labels: question
5+
---
6+
7+
# Question
8+
9+
Use [Github Discussions](https://github.com/open-telemetry/opentelemetry-dotnet/discussions/new).

.github/PULL_REQUEST_TEMPLATE.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Fixes #.
2+
3+
## Changes
4+
5+
Please provide a brief description of the changes here.
6+
7+
For significant contributions please make sure you have completed the following items:
8+
9+
* [ ] Appropriate `CHANGELOG.md` updated for non-trivial changes
10+
* [ ] Design discussion issue #

.github/dependabot.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
labels:
8+
- "infra"

.github/workflows/checks.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Checks
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
markdownlint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: check out code
12+
uses: actions/checkout@v2
13+
14+
- name: install dependencies
15+
run: npm install
16+
17+
- name: run markdownlint
18+
run: make markdownlint
19+
20+
yamllint:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: check out code
24+
uses: actions/checkout@v2
25+
26+
- uses: actions/setup-python@v2
27+
28+
- name: install yamllint
29+
run: make install-yamllint
30+
31+
- name: run yamllint
32+
run: yamllint . -f github
33+
34+
misspell:
35+
runs-on: ubuntu-latest
36+
steps:
37+
- name: check out code
38+
uses: actions/checkout@v2
39+
40+
- name: run misspell
41+
run: make misspell
42+
43+
docfx:
44+
runs-on: ubuntu-latest
45+
steps:
46+
- uses: actions/checkout@v2
47+
- uses: actions/setup-dotnet@v1
48+
with:
49+
dotnet-version: 6.0.x
50+
51+
- name: install docfx
52+
run: dotnet tool update -g docfx --version "3.0.0-*" --add-source https://docfx.pkgs.visualstudio.com/docfx/_packaging/docs-public-packages/nuget/v3/index.json
53+
54+
- name: run docfx
55+
run: docfx build --dry-run

.github/workflows/stale.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Syntax: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# Github Actions Stale: https://github.com/actions/stale
3+
4+
name: "Close stale pull requests"
5+
on:
6+
schedule:
7+
- cron: "12 3 * * *" # arbitrary time not to DDOS GitHub
8+
9+
jobs:
10+
stale:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/stale@v5
14+
with:
15+
stale-pr-message: 'This PR was marked stale due to lack of activity and will be closed in 7 days. Commenting or Pushing will instruct the bot to automatically remove the label. This bot runs once per day.'
16+
close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.'
17+
operations-per-run: 400
18+
days-before-pr-stale: 7
19+
days-before-issue-stale: -1
20+
days-before-pr-close: 7
21+
days-before-issue-close: -1

.markdownlint.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Default state for all rules
2+
default: true
3+
4+
# allow long lines for tables and code blocks
5+
MD013:
6+
code_blocks: false
7+
tables: false

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
Please update changelog as part of any significant pull request. Place short
4+
description of your change into "Unreleased" section. As part of release process
5+
content of "Unreleased" section content will generate release notes for the
6+
release.
7+
8+
## Unreleased

CONTRIBUTING.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Contributing
2+
3+
Welcome to OpenTelemetry Demo Webstore repository!
4+
5+
Before you start - see OpenTelemetry general
6+
[contributing](https://github.com/open-telemetry/community/blob/main/CONTRIBUTING.md)
7+
requirements and recommendations.
8+
9+
## Sign the CLA
10+
11+
Before you can contribute, you will need to sign the [Contributor License
12+
Agreement](https://identity.linuxfoundation.org/projects/cncf).
13+
14+
## Under Construction
15+
16+
TBD

0 commit comments

Comments
 (0)