Skip to content

Commit

Permalink
#171 Migrate repository (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam authored Jan 27, 2024
1 parent 848d687 commit 8db8a92
Show file tree
Hide file tree
Showing 15 changed files with 41 additions and 127 deletions.
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Default code owner
# Default code owner

* @Senzing/g2-python
* @senzing-garage/senzing-g2-python-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.

22 changes: 9 additions & 13 deletions .github/workflows/add-to-project-g2-python.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
# Based on
# - https://github.com/srggrs/assign-one-project-github-action

name: Auto Assign issue to project
name: 'add to project g2 python'

on:
issues:
types:
- reopened
- opened
env:
GITHUB_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
- reopened

jobs:
assign_one_project:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- name: Assign issues to project
uses: Senzing/github-action-add-issue-to-project@main
with:
project: 'https://github.com/orgs/Senzing/projects/8'
column_name: 'Backlog'
- 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_G2_PYTHON }}
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
13 changes: 0 additions & 13 deletions PULL_REQUEST_TEMPLATE.md

This file was deleted.

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

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

Senzing Software Development Kit (SDK) for Python.
Expand All @@ -12,12 +24,12 @@ To obtain a version of the Senzing Python SDK that *is* covered, see
[Install Senzing API](https://hub.senzing.com/knowledge-base/senzingapi/install).

More information at
[github.com/Senzing/g2-sdk-python](https://github.com/Senzing/g2-sdk-python)
[github.com/senzing-garage/g2-sdk-python](https://github.com/senzing-garage/g2-sdk-python)

## Overview

The git repository at
[github.com/Senzing/g2-sdk-python](https://github.com/Senzing/g2-sdk-python)
[github.com/senzing-garage/g2-sdk-python](https://github.com/senzing-garage/g2-sdk-python)
contains the Senzing SDK for Python files in `src/senzing`.

It also contains:
Expand Down Expand Up @@ -53,7 +65,7 @@ It also contains:
```

1. More information at
[github.com/Senzing/g2-sdk-python](https://github.com/Senzing/g2-sdk-python)
[github.com/senzing-garage/g2-sdk-python](https://github.com/senzing-garage/g2-sdk-python)

## Develop

Expand All @@ -65,9 +77,9 @@ The following instructions are used when modifying and building the Docker image
These are "one-time tasks" which may already have been completed.

1. The following software programs need to be installed:
1. [git](https://github.com/Senzing/knowledge-base/blob/main/WHATIS/git.md)
1. [make](https://github.com/Senzing/knowledge-base/blob/main/WHATIS/make.md)
1. [pip](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-pip.md)
1. [git](https://github.com/senzing-garage/knowledge-base/blob/main/WHATIS/git.md)
1. [make](https://github.com/senzing-garage/knowledge-base/blob/main/WHATIS/make.md)
1. [pip](https://github.com/senzing-garage/knowledge-base/blob/main/HOWTO/install-pip.md)

1. :pencil2: Make a `~/.pypirc` file.
Example:
Expand All @@ -85,7 +97,7 @@ These are "one-time tasks" which may already have been completed.
### Clone repository

For more information on environment variables,
see [Environment Variables](https://github.com/Senzing/knowledge-base/blob/main/lists/environment-variables.md).
see [Environment Variables](https://github.com/senzing-garage/knowledge-base/blob/main/lists/environment-variables.md).

1. Set these environment variable values:

Expand All @@ -96,7 +108,7 @@ see [Environment Variables](https://github.com/Senzing/knowledge-base/blob/main/
export GIT_REPOSITORY_DIR="${GIT_ACCOUNT_DIR}/${GIT_REPOSITORY}"
```

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.

### Install dependencies

Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ description = Python SDK for Senzing API
license = Apache 2
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/Senzing/g2-sdk-python
url = https://github.com/senzing-garage/g2-sdk-python
project_urls =
Bug Tracker = https://github.com/Senzing/g2-sdk-python/issues
Bug Tracker = https://github.com/senzing-garage/g2-sdk-python/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: Apache Software License
Expand Down
2 changes: 1 addition & 1 deletion src/senzing/G2Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .G2Exception import TranslateG2ModuleException, G2NotInitializedException, G2Exception

__all__ = ['G2Config']
SENZING_PRODUCT_ID = "5040" # See https://github.com/Senzing/knowledge-base/blob/main/lists/senzing-component-ids.md
SENZING_PRODUCT_ID = "5040" # See https://github.com/senzing-garage/knowledge-base/blob/main/lists/senzing-component-ids.md


class MyBuffer(threading.local):
Expand Down
2 changes: 1 addition & 1 deletion src/senzing/G2ConfigMgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .G2Exception import TranslateG2ModuleException, G2NotInitializedException, G2Exception

__all__ = ['G2ConfigMgr']
SENZING_PRODUCT_ID = "5041" # See https://github.com/Senzing/knowledge-base/blob/main/lists/senzing-component-ids.md
SENZING_PRODUCT_ID = "5041" # See https://github.com/senzing-garage/knowledge-base/blob/main/lists/senzing-component-ids.md


class MyBuffer(threading.local):
Expand Down
2 changes: 1 addition & 1 deletion src/senzing/G2Diagnostic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .G2Exception import TranslateG2ModuleException, G2NotInitializedException, G2Exception

__all__ = ['G2Diagnostic']
SENZING_PRODUCT_ID = "5042" # See https://github.com/Senzing/knowledge-base/blob/main/lists/senzing-component-ids.md
SENZING_PRODUCT_ID = "5042" # See https://github.com/senzing-garage/knowledge-base/blob/main/lists/senzing-component-ids.md


class MyBuffer(threading.local):
Expand Down
2 changes: 1 addition & 1 deletion src/senzing/G2Engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from .G2EngineFlags import G2EngineFlags

__all__ = ['G2Engine']
SENZING_PRODUCT_ID = "5043" # See https://github.com/Senzing/knowledge-base/blob/main/lists/senzing-component-ids.md
SENZING_PRODUCT_ID = "5043" # See https://github.com/senzing-garage/knowledge-base/blob/main/lists/senzing-component-ids.md


class MyBuffer(threading.local):
Expand Down
2 changes: 1 addition & 1 deletion src/senzing/G2Exception.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"TranslateG2ModuleException",
]

# See https://github.com/Senzing/knowledge-base/blob/main/lists/senzing-component-ids.md
# See https://github.com/senzing-garage/knowledge-base/blob/main/lists/senzing-component-ids.md
SENZING_PRODUCT_ID = "5044"

# -----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/senzing/G2Hasher.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .G2Exception import TranslateG2ModuleException, G2NotInitializedException, G2Exception

__all__ = ['G2Hasher']
SENZING_PRODUCT_ID = "5045" # See https://github.com/Senzing/knowledge-base/blob/main/lists/senzing-component-ids.md
SENZING_PRODUCT_ID = "5045" # See https://github.com/senzing-garage/knowledge-base/blob/main/lists/senzing-component-ids.md


class MyBuffer(threading.local):
Expand Down
2 changes: 1 addition & 1 deletion src/senzing/G2Product.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .G2Exception import TranslateG2ModuleException, G2NotInitializedException, G2Exception

__all__ = ['G2Product']
SENZING_PRODUCT_ID = "5046" # See https://github.com/Senzing/knowledge-base/blob/main/lists/senzing-component-ids.md
SENZING_PRODUCT_ID = "5046" # See https://github.com/senzing-garage/knowledge-base/blob/main/lists/senzing-component-ids.md


class MyBuffer(threading.local):
Expand Down

0 comments on commit 8db8a92

Please sign in to comment.