Skip to content

Commit

Permalink
#37 Migrate repository (#38)
Browse files Browse the repository at this point in the history
* #37 Migrate repository

* fix vars
  • Loading branch information
kernelsam authored Jan 10, 2024
1 parent 0d0fba6 commit a7cefad
Show file tree
Hide file tree
Showing 16 changed files with 74 additions and 170 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Default code owner

* @Senzing/go-developers
* @senzing-garage/senzing-go-developers
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/documentation_request.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/add-dependabot-request-to-project-t-comm.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/add-issue-to-project-t-comm.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
name: identify-customer.yaml
name: add-label-customer-submission.yaml

on:
issues:
types:
- opened

env:
GITHUB_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }}
MEMBER_LIST: ${{ secrets.SENZING_MEMBERS }}
CREATOR: ${{ github.actor }}

jobs:
identify-customer:
name: Add customer-submission label
add-label-customer-submission:
name: Add customer-submission label to issue
runs-on: ubuntu-latest
steps:
- name: initial labeling
- name: Add customer-submission label
env:
BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }}
if: ${{ env.BOOL == 'false' }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
# Based on
# - https://docs.github.com/en/actions/guides/adding-labels-to-issues
# - https://github.com/andymckay/labeler

name: add-triage-label.yaml
name: add-label-triage.yaml

on:
issues:
types:
- reopened
- opened
- reopened

jobs:
add-triage-label:
automate-issues-labels:
name: Add triage label to issue
runs-on: ubuntu-latest
steps:
- name: initial labeling
- name: Add triage label
uses: andymckay/labeler@1.0.4
with:
add-labels: "triage"
24 changes: 24 additions & 0 deletions .github/workflows/add-to-project-garage-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: add-to-project-garage-dependabot.yaml

on:
pull_request:
types:
- opened
- reopened

env:
CREATOR: ${{ github.event.pull_request.user.login }}

jobs:
add-to-project:
name: Add dependabot pull request to project
runs-on: ubuntu-latest
steps:
- name: Assign pull request to project
env:
BOOL: ${{ contains( env.CREATOR, 'dependabot' ) }}
if: ${{ env.BOOL == 'true' }}
uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}/projects/${{ vars.SENZING_PROJECT_GARAGE }}
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/add-to-project-garage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: add-to-project-garage.yaml

on:
issues:
types:
- opened
- reopened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- name: Assign issue to project
uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}/projects/${{ vars.SENZING_PROJECT_GARAGE }}
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed in 0.4.3

- Refactor to [template-go](https://github.com/Senzing/template-go)
- Refactor to [template-go](https://github.com/senzing-garage/template-go)

## [0.4.2] - 2023-10-13

Expand Down
13 changes: 0 additions & 13 deletions PULL_REQUEST_TEMPLATE.md

This file was deleted.

20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# g2-sdk-proto

If you are beginning your journey with
[Senzing](https://senzing.com/),
please start with
[Senzing Quick Start guides](https://docs.senzing.com/quickstart/).

You are in the
[Senzing Garage](https://github.com/senzing-garage)
where projects are "tinkered" on.
Although this GitHub repository may help you understand an approach to using Senzing,
it's not considered to be "production ready" and is not considered to be part of the Senzing product.
Heck, it may not even be appropriate for your application of Senzing!

## Synopsis

:warning:
Expand All @@ -9,7 +21,7 @@ Feel free to comment on it, but do not use it in production, yet.

The repository for Senzing's Protocol Buffer `.proto` files.
It also contains code generated by
[protoc](https://github.com/Senzing/knowledge-base/blob/main/WHATIS/protoc.md)
[protoc](https://github.com/senzing-garage/knowledge-base/blob/main/WHATIS/protoc.md)
for use in servers and clients of the Senzing engine.

## Overview
Expand All @@ -24,7 +36,7 @@ for use in servers and clients of the Senzing engine.
### Expectations

- **Background knowledge:** This repository assumes a working knowledge of:
- [gRPC](https://github.com/Senzing/knowledge-base/blob/main/WHATIS/grpc.md)
- [gRPC](https://github.com/senzing-garage/knowledge-base/blob/main/WHATIS/grpc.md)

## Generated source code

Expand All @@ -39,7 +51,7 @@ for use in servers and clients of the Senzing engine.

### Prerequisites

1. [protoc](https://github.com/Senzing/knowledge-base/blob/main/WHATIS/protoc.md)
1. [protoc](https://github.com/senzing-garage/knowledge-base/blob/main/WHATIS/protoc.md)

### Clone repository

Expand All @@ -53,7 +65,7 @@ for use in servers and clients of the Senzing engine.

```

1. Using the environment variables values just set, follow steps in [clone-repository](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/clone-repository.md) to install the Git repository.
1. Using the environment variables values just set, follow steps in [clone-repository](https://github.com/senzing-garage/knowledge-base/blob/main/HOWTO/clone-repository.md) to install the Git repository.

### Language

Expand Down
6 changes: 3 additions & 3 deletions go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ the recommendation is not to use it yet.
## Synopsis

The Senzing g2-sdk-proto/go packages provide code generated by
[protoc](https://github.com/Senzing/knowledge-base/blob/main/WHATIS/protoc.md)
[protoc](https://github.com/senzing-garage/knowledge-base/blob/main/WHATIS/protoc.md)
for use in creating Senzing gRPC clients and servers.

[![Go Reference](https://pkg.go.dev/badge/github.com/senzing/g2-sdk-proto/go.svg)](https://pkg.go.dev/github.com/senzing/g2-sdk-proto/go)
Expand All @@ -31,7 +31,7 @@ for use in creating Senzing gRPC clients and servers.
```

1. Examples of use:
1. Used in [server](https://github.com/Senzing/servegrpc/blob/main/g2engineserver/g2engineserver.go)
1. Used in [server](https://github.com/senzing-garage/serve-grpc/blob/main/g2engineserver/g2engineserver.go)
1. Used in [client](https://github.com/Senzing/g2-sdk-go-grpc/blob/main/g2engineclient/g2engineclient.go)

## Development
Expand All @@ -40,7 +40,7 @@ This section describes how the packages are generated.
For package use, see above.

The Senzing g2-sdk-proto/go packages are generated by the
[protoc](https://github.com/Senzing/knowledge-base/blob/main/WHATIS/protoc.md)
[protoc](https://github.com/senzing-garage/knowledge-base/blob/main/WHATIS/protoc.md)
command.

1. Set these environment variable values identifying the Git repository:
Expand Down
2 changes: 1 addition & 1 deletion python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Auto-generated python protobuf source for calling Senzing through grpc
## Overview

The git repository at
[github.com/Senzing/senzing-ce-grpc-protobuf](https://github.com/Senzing/g2-sdk-proto)
[github.com/Senzing/senzing-ce-grpc-protobuf](https://github.com/senzing-garage/g2-sdk-proto)
contains the .proto files and generated code for many languages

It also contains:
Expand Down
4 changes: 2 additions & 2 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ classifiers = [
]

[project.urls]
"Homepage" = "https://github.com/Senzing/g2-sdk-proto"
"Bug Tracker" = "https://github.com/Senzing/g2-sdk-proto/issues"
"Homepage" = "https://github.com/senzing-garage/g2-sdk-proto"
"Bug Tracker" = "https://github.com/senzing-garage/g2-sdk-proto/issues"

0 comments on commit a7cefad

Please sign in to comment.