Skip to content

Commit

Permalink
finalize initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
fogfish committed Oct 25, 2022
1 parent ef72f6b commit 346eb66
Show file tree
Hide file tree
Showing 19 changed files with 704 additions and 312 deletions.
21 changes: 21 additions & 0 deletions .github/labeler.yml
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/**/*'
147 changes: 147 additions & 0 deletions .github/labels.yml
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

26 changes: 26 additions & 0 deletions .github/workflows/check-code.yml
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
39 changes: 39 additions & 0 deletions .github/workflows/check-test.yml
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
22 changes: 22 additions & 0 deletions .github/workflows/check-triage.yml
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
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 fogfish
Copyright (c) 2022 Dmitry Kolesnikov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# hexagon

Hexastore: Sextuple Indexing for Semantic Web Data Management
8 changes: 8 additions & 0 deletions encoding/json/json.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
//
// Copyright (C) 2022 Dmitry Kolesnikov
//
// This file may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
// https://github.com/fogfish/hexagon
//

package json

import (
Expand Down

0 comments on commit 346eb66

Please sign in to comment.