-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
704 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"[#] ci/cd": | ||
- '.github/*' | ||
- '.github/**/*' | ||
|
||
"[#] deps": | ||
- 'go.mod' | ||
- 'go.sum' | ||
|
||
"[#] doc": | ||
- '*.md' | ||
- 'doc/*' | ||
- 'doc/**/*' | ||
- 'examples/**/*' | ||
|
||
"[#] hexagon": | ||
- '*.go' | ||
- 'internal/**/*' | ||
|
||
"[#] codec": | ||
- 'encoding/*' | ||
- 'encoding/**/*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
## | ||
## Inspired by Same GitHub Labels | ||
## https://medium.com/@dave_lunny/sane-github-labels-c5d2e6004b63 | ||
## | ||
## [T] - Type prefix | ||
## [P] - Priority prefix | ||
## [@] - State prefix | ||
## [A] - Automation prefix | ||
## [#] - package / category prefix | ||
## | ||
## How To Use: | ||
## https://github.com/Financial-Times/github-label-sync | ||
## | ||
## npm install -g github-label-sync | ||
## github-label-sync --access-token xxxxxx --labels .github/labels.yml fogfish/hexagon | ||
## | ||
|
||
## | ||
## [T] Type labels | ||
- name: "[T] bug" | ||
color: "ee0701" | ||
aliases: [] | ||
description: the bug report | ||
|
||
- name: "[T] epic" | ||
color: "fbca04" | ||
aliases: [] | ||
description: the epic | ||
|
||
- name: "[T] feature" | ||
color: "7057ff" | ||
aliases: [] | ||
description: the feature, enabler epic or other tech activity | ||
|
||
- name: "[T] security" | ||
color: "cc317c" | ||
aliases: [] | ||
description: security issues or concerns within the software | ||
|
||
- name: "[T] resilience" | ||
color: "660033" | ||
aliases: [] | ||
description: resilience concerns within the software | ||
|
||
- name: "[T] user story" | ||
color: "fef2c0" | ||
aliases: [] | ||
description: user story | ||
|
||
- name: "[T] enabler" | ||
color: "7c5d91" | ||
aliases: [] | ||
description: enabler activities | ||
|
||
## | ||
## [P] Priority labels | ||
- name: "[P] critical" | ||
color: "b30408" | ||
aliases: [] | ||
description: critical issue, immediate fix is required | ||
|
||
- name: "[P] high" | ||
color: "f4AA3e" | ||
aliases: [] | ||
description: high priority issue | ||
|
||
- name: "[P] medium" | ||
color: "31689e" | ||
aliases: [] | ||
description: medium priority issue | ||
|
||
- name: "[P] low" | ||
color: "0a9203" | ||
aliases: [] | ||
description: low priority issue | ||
|
||
- name: "[P] release" | ||
color: "ed7655" | ||
aliases: [] | ||
description: required by upcoming release | ||
|
||
## | ||
## [@] State labels | ||
- name: "[@] blocked" | ||
color: "be1910" | ||
aliases: [] | ||
description: progress is blocked by other issue | ||
|
||
- name: "[@] help wanted" | ||
color: "128a0c" | ||
aliases: [] | ||
description: team or community help is wanted on the issue | ||
|
||
- name: "[@] on hold" | ||
color: "f9d0c4" | ||
aliases: [] | ||
description: development is on hold until further notice | ||
|
||
- name: "[@] wontfix" | ||
color: "e2e4e8" | ||
aliases: [] | ||
description: the issue would not be resolved due to the reason | ||
|
||
- name: "[@] review" | ||
color: "006666" | ||
aliases: [] | ||
description: the issue is under the review | ||
|
||
- name: "[@] require feedback" | ||
color: "333399" | ||
aliases: [] | ||
description: the feedback from author is required | ||
|
||
## | ||
## [A] Automation labels | ||
- name: "[A] deploy" | ||
color: "ffccf1" | ||
aliases: [] | ||
description: request GitHub Action to deploy | ||
|
||
## | ||
## [#] Package / Category labels | ||
- name: "[#] ci/cd" | ||
color: "3978e1" | ||
aliases: [] | ||
description: changes to CI/CD configuration | ||
|
||
- name: "[#] deps" | ||
color: "3978e1" | ||
aliases: [] | ||
description: changes to package dependencies | ||
|
||
- name: "[#] doc" | ||
color: "3978e1" | ||
aliases: [] | ||
description: changes to documentation | ||
|
||
- name: "[#] hexagon" | ||
color: "3978e1" | ||
aliases: [] | ||
description: changes to core library | ||
|
||
- name: "[#] codec" | ||
color: "3978e1" | ||
aliases: [] | ||
description: changes to codec | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## | ||
## Quality checks | ||
## | ||
name: check | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
jobs: | ||
|
||
code: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.18 | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- uses: dominikh/staticcheck-action@v1.2.0 | ||
with: | ||
version: "2022.1" | ||
install-go: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## | ||
## Unit Tests & Coverage | ||
## | ||
name: test | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
push: | ||
branches: | ||
- main | ||
- /refs/heads/main | ||
|
||
jobs: | ||
|
||
unit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.18 | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: go build | ||
run: | | ||
go build ./... | ||
- name: go test | ||
run: | | ||
go test -v -coverprofile=profile.cov $(go list ./... | grep -v /examples/) | ||
- uses: shogo82148/actions-goveralls@v1 | ||
continue-on-error: true | ||
with: | ||
path-to-profile: profile.cov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: triage | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
jobs: | ||
label: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
sync-labels: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# hexagon | ||
|
||
Hexastore: Sextuple Indexing for Semantic Web Data Management |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.