Skip to content

Commit

Permalink
#140 Migrate repository (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam authored Jan 25, 2024
1 parent 55af648 commit 3866f08
Show file tree
Hide file tree
Showing 21 changed files with 230 additions and 331 deletions.
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Default code owner

* @Senzing/go-developers
* @senzing-garage/senzing-go-developers

/.github/ @Senzing/senzing-devsecops
/.github/ @senzing-garage/senzing-devsecops
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.

14 changes: 14 additions & 0 deletions .github/workflows/add-to-project-garage-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'add to project garage dependabot'

on:
pull_request:
branches: [main]

jobs:

add-issue-labels:
secrets:
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@main
with:
project: ${{ vars.SENZING_PROJECT_GARAGE }}
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'

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 .github/workflows/go-test-darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
go-version: ${{ matrix.go }}
- name: Install Senzing API
uses: Senzing/github-action-install-senzing-api@latest
uses: senzing-factory/github-action-install-senzing-api@latest
with:
senzingapi-version: ${{ matrix.senzingapi-version }}
- name: Copy /etc files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-test-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
go-version: ${{ matrix.go }}
- name: Install Senzing API
uses: Senzing/github-action-install-senzing-api@latest
uses: senzing-factory/github-action-install-senzing-api@latest
with:
senzingapi-version: ${{ matrix.senzingapi-version }}
- name: Copy /etc files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
go-version: ${{ matrix.go }}
- name: Install Senzing API
uses: Senzing/github-action-install-senzing-api@latest
uses: senzing-factory/github-action-install-senzing-api@latest
with:
senzingapi-version: ${{ matrix.senzingapi-version }}
- name: Add to "Path" environment variable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gosec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Checkout Source
uses: actions/checkout@v4
- name: Install Senzing API
uses: Senzing/github-action-install-senzing-api@latest
uses: senzing-factory/github-action-install-senzing-api@latest
with:
senzingapi-version: latest
- run: |
Expand Down
13 changes: 0 additions & 13 deletions PULL_REQUEST_TEMPLATE.md

This file was deleted.

32 changes: 22 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# g2-sdk-go-base

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-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!

## :warning: WARNING: g2-sdk-go-base is still in development :warning: _

At the moment, this is "work-in-progress" with Semantic Versions of `0.n.x`.
Expand All @@ -15,31 +27,31 @@ Senzing C SDK APIs.

[![Go Reference](https://pkg.go.dev/badge/github.com/senzing/g2-sdk-go-base.svg)](https://pkg.go.dev/github.com/senzing/g2-sdk-go-base)
[![Go Report Card](https://goreportcard.com/badge/github.com/senzing/g2-sdk-go-base)](https://goreportcard.com/report/github.com/senzing/g2-sdk-go-base)
[![License](https://img.shields.io/badge/License-Apache2-brightgreen.svg)](https://github.com/Senzing/g2-sdk-go-base/blob/main/LICENSE)
[![License](https://img.shields.io/badge/License-Apache2-brightgreen.svg)](https://github.com/senzing-garage/g2-sdk-go-base/blob/main/LICENSE)

[![gosec.yaml](https://github.com/Senzing/g2-sdk-go-base/actions/workflows/gosec.yaml/badge.svg)](https://github.com/Senzing/g2-sdk-go-base/actions/workflows/gosec.yaml)
[![go-test-linux.yaml](https://github.com/Senzing/g2-sdk-go-base/actions/workflows/go-test-linux.yaml/badge.svg)](https://github.com/Senzing/g2-sdk-go-base/actions/workflows/go-test-linux.yaml)
[![go-test-darwin.yaml](https://github.com/Senzing/g2-sdk-go-base/actions/workflows/go-test-darwin.yaml/badge.svg)](https://github.com/Senzing/g2-sdk-go-base/actions/workflows/go-test-darwin.yaml)
[![go-test-windows.yaml](https://github.com/Senzing/g2-sdk-go-base/actions/workflows/go-test-windows.yaml/badge.svg)](https://github.com/Senzing/g2-sdk-go-base/actions/workflows/go-test-windows.yaml)
[![gosec.yaml](https://github.com/senzing-garage/g2-sdk-go-base/actions/workflows/gosec.yaml/badge.svg)](https://github.com/senzing-garage/g2-sdk-go-base/actions/workflows/gosec.yaml)
[![go-test-linux.yaml](https://github.com/senzing-garage/g2-sdk-go-base/actions/workflows/go-test-linux.yaml/badge.svg)](https://github.com/senzing-garage/g2-sdk-go-base/actions/workflows/go-test-linux.yaml)
[![go-test-darwin.yaml](https://github.com/senzing-garage/g2-sdk-go-base/actions/workflows/go-test-darwin.yaml/badge.svg)](https://github.com/senzing-garage/g2-sdk-go-base/actions/workflows/go-test-darwin.yaml)
[![go-test-windows.yaml](https://github.com/senzing-garage/g2-sdk-go-base/actions/workflows/go-test-windows.yaml/badge.svg)](https://github.com/senzing-garage/g2-sdk-go-base/actions/workflows/go-test-windows.yaml)

## Overview

The Senzing `g2-sdk-go-base` packages enable Go programs to call Senzing library functions.
Under the covers, Golang's CGO is used by the g2-sdk-go-base packages to make calls
to the functions in the Senzing C libraries.
The `g2-sdk-go-base` implementation of the
[g2-sdk-go](https://github.com/Senzing/g2-sdk-go)
[g2-sdk-go](https://github.com/senzing-garage/g2-sdk-go)
interface is used to call the Senzing C SDK APIs directly using Go's CGO.

Other implementations of the
[g2-sdk-go](https://github.com/Senzing/g2-sdk-go)
[g2-sdk-go](https://github.com/senzing-garage/g2-sdk-go)
interface include:

- [g2-sdk-go-mock](https://github.com/Senzing/g2-sdk-go-mock) - for
- [g2-sdk-go-mock](https://github.com/senzing-garage/g2-sdk-go-mock) - for
unit testing calls to the Senzing Go SDK
- [g2-sdk-go-grpc](https://github.com/Senzing/g2-sdk-go-grpc) - for
- [g2-sdk-go-grpc](https://github.com/senzing-garage/g2-sdk-go-grpc) - for
calling Senzing SDK APIs over [gRPC](https://grpc.io/)
- [go-sdk-abstract-factory](https://github.com/Senzing/go-sdk-abstract-factory) - An
- [go-sdk-abstract-factory](https://github.com/senzing-garage/go-sdk-abstract-factory) - An
[abstract factory pattern](https://en.wikipedia.org/wiki/Abstract_factory_pattern)
for switching among implementations

Expand Down
4 changes: 2 additions & 2 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Since the Senzing library is a prerequisite, it must be installed first.
1. `/etc/opt/senzing`

1. If not installed, see
[How to Install Senzing for Go Development](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-senzing-for-go-development.md).
[How to Install Senzing for Go Development](https://github.com/senzing-garage/knowledge-base/blob/main/HOWTO/install-senzing-for-go-development.md).

## Install Git repository

Expand All @@ -29,7 +29,7 @@ Since the Senzing library is a prerequisite, it must be installed first.
```

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.
[clone-repository](https://github.com/senzing-garage/knowledge-base/blob/main/HOWTO/clone-repository.md) to install the Git repository.

## Test using SQLite database

Expand Down
Loading

0 comments on commit 3866f08

Please sign in to comment.