Skip to content

Commit

Permalink
refactor(all): rename base to core (#18)
Browse files Browse the repository at this point in the history
Because

- Instill Base is going to be promoted to Instill Core

This commit

- refactor and rename all base to core
  • Loading branch information
pinglin authored Oct 19, 2023
1 parent 874e57a commit 6c9884b
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 165 deletions.
133 changes: 0 additions & 133 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

7 changes: 0 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

3 changes: 0 additions & 3 deletions .github/SECURITY.md

This file was deleted.

2 changes: 2 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
instill core:
- "**"
14 changes: 0 additions & 14 deletions .github/workflows/add-issue-to-prj.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/add-label-to-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Add Label to PR

on:
pull_request_target:
types:
- opened
- synchronize

jobs:
triage:
uses: instill-ai/.github/.github/workflows/add-label-to-pr.yml@main
secrets:
botGitHubToken: ${{ secrets.botGitHubToken }}
4 changes: 2 additions & 2 deletions .github/workflows/add-pr-to-prj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:

jobs:
track_pr:
uses: instill-ai/meta/.github/workflows/add-pr-to-prj.yml@main
uses: instill-ai/.github/.github/workflows/add-to-prj.yml@main
with:
project_number: 12 # Instill Base project
project_number: 5
secrets:
botGitHubToken: ${{ secrets.botGitHubToken }}
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/instill-ai/usage-client/reporter"

usagePB "github.com/instill-ai/protogen-go/base/usage/v1alpha"
usagePB "github.com/instill-ai/protogen-go/core/usage/v1alpha"
)

// InitReporter creates a usage reporter
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ retract v0.2.0-alpha

require (
github.com/catalinc/hashcash v0.0.0-20220723060415-5e3ec3e24f67
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20230814104042-37ca0356defc
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231019182557-81fbc5e1710e
google.golang.org/protobuf v1.30.0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 h1:YBftPWNWd4WwGqtY2yeZL2ef8rH
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20230622154941-b51cc4cf49d0 h1:dgp/7h66FUQwMoWsFZC/auRKJlBHQ2aACdfskl2W6RA=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20230622154941-b51cc4cf49d0/go.mod h1:qsq5ecnA1xi2rLnVQFo/9xksA7I7wQu8c7rqM5xbIrQ=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20230814104042-37ca0356defc h1:1akaOOUCsVU2yzFIb5KwVw5GRy7v+hyNmNmJD+2x+l8=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20230814104042-37ca0356defc/go.mod h1:qsq5ecnA1xi2rLnVQFo/9xksA7I7wQu8c7rqM5xbIrQ=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231019182557-81fbc5e1710e h1:LxRhHQb0dWRWUKYwNTE/wLnV0Bd/pRasg5J0XILBoJw=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231019182557-81fbc5e1710e/go.mod h1:z/L84htamlJ4QOR4jtJOaa+y3Hihu7WEqOipW0LEkmc=
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
Expand Down
2 changes: 1 addition & 1 deletion reporter/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/instill-ai/usage-client/internal/logger"
"github.com/instill-ai/usage-client/session"

usagePB "github.com/instill-ai/protogen-go/base/usage/v1alpha"
usagePB "github.com/instill-ai/protogen-go/core/usage/v1alpha"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion session/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"encoding/json"
"time"

usagePB "github.com/instill-ai/protogen-go/base/usage/v1alpha"
usagePB "github.com/instill-ai/protogen-go/core/usage/v1alpha"
)

// Session is a new type of usagePB.session
Expand Down

0 comments on commit 6c9884b

Please sign in to comment.