Skip to content

Commit 732d371

Browse files
authored
Merge pull request #3 from nats-io/readme-and-templates
Update readme and add Github templates
2 parents dc682f8 + 99e2ec3 commit 732d371

File tree

7 files changed

+87
-7
lines changed

7 files changed

+87
-7
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Chat
4+
url: https://slack.nats.io
5+
about: Ideal for short, one-off questions, general conversation, and meeting other NATS users!

.github/ISSUE_TEMPLATE/defect.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
name: Defect
3+
description: Report a defect, such as a bug or regression.
4+
labels:
5+
- defect
6+
body:
7+
- type: textarea
8+
id: observed
9+
attributes:
10+
label: Observed behavior
11+
description: Describe the unexpected behavior or performance regression you are observing.
12+
validations:
13+
required: true
14+
- type: textarea
15+
id: expected
16+
attributes:
17+
label: Expected behavior
18+
description: Describe the expected behavior or performance characteristics.
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: versions
23+
attributes:
24+
label: Server and client version
25+
description: |-
26+
Provide the versions you were using when the detect was observed.
27+
For the server, use `nats-server --version`, check the startup log output, or the image tag pulled from Docker.
28+
For the CLI client, use `nats --version`.
29+
For language-specific clients, check the version downloaded by the language dependency manager.
30+
validations:
31+
required: true
32+
- type: textarea
33+
id: environment
34+
attributes:
35+
label: Host environment
36+
description: |-
37+
Specify any relevant details about the host environment the server and/or client was running in,
38+
such as operating system, CPU architecture, container runtime, etc.
39+
validations:
40+
required: false
41+
- type: textarea
42+
id: steps
43+
attributes:
44+
label: Steps to reproduce
45+
description: Provide as many concrete steps to reproduce the defect.
46+
validations:
47+
required: true

.github/ISSUE_TEMPLATE/proposal.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Proposal
3+
description: Propose an enhancement or new feature.
4+
labels:
5+
- proposal
6+
body:
7+
- type: textarea
8+
id: change
9+
attributes:
10+
label: Proposed change
11+
description: This could be a behavior change, enhanced API, or a new feature.
12+
validations:
13+
required: true
14+
- type: textarea
15+
id: usecase
16+
attributes:
17+
label: Use case
18+
description: What is the use case or general motivation for this proposal?
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: contribute
23+
attributes:
24+
label: Contribution
25+
description: |-
26+
Are you intending or interested in contributing code for this proposal if accepted?
27+
validations:
28+
required: false

.github/workflows/build-main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
1919
steps:
2020
- name: Setup JDK 8
21-
uses: actions/setup-java@v3
21+
uses: actions/setup-java@v4
2222
with:
2323
java-version: '8'
2424
distribution: 'adopt'
2525
- name: Check out code
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
- name: Build and Test
2828
run: chmod +x gradlew && ./gradlew clean test jacocoTestReport coveralls
2929
- name: Verify Javadoc

.github/workflows/build-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
1313
steps:
1414
- name: Setup JDK 8
15-
uses: actions/setup-java@v3
15+
uses: actions/setup-java@v4
1616
with:
1717
java-version: '8'
1818
distribution: 'adopt'
1919
- name: Check out code
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
- name: Build and Test
2222
run: chmod +x gradlew && ./gradlew clean test jacocoTestReport coveralls
2323
- name: Verify Javadoc

.github/workflows/build-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
1919
steps:
2020
- name: Setup JDK 8
21-
uses: actions/setup-java@v3
21+
uses: actions/setup-java@v4
2222
with:
2323
java-version: '8'
2424
distribution: 'adopt'
2525
- name: Check out code
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
- name: Build and Test
2828
run: chmod +x gradlew && ./gradlew clean test
2929
- name: Verify Javadoc

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This library is a JSON Parser built specifically for JNATS to avoid any 3rd party library dependency.
66

7-
It works
7+
It has been extracted from the java library since it is also used by the [jwt.java](https://github.com/nats-io/jwt.java) library.
88

99
**Current Release**: 0.0.0   **Current Snapshot**: 1.5.0-SNAPSHOT
1010

0 commit comments

Comments
 (0)