Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#123 Migrate repository #128

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/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.

This file was deleted.

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

This file was deleted.

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

on:
pull_request:
branches: [main]

jobs:

add-to-project-dependabot:
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_G2_PYTHON }}
18 changes: 18 additions & 0 deletions .github/workflows/add-to-project-g2-python.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'add to project g2 python'

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/[email protected]
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 }}
3 changes: 1 addition & 2 deletions .github/workflows/dependabot-approve-and-merge.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: dependabot-approve-and-merge.yaml

on:
Expand All @@ -10,6 +9,6 @@ jobs:
permissions:
contents: write
pull-requests: write
uses: Senzing/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main
uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main
secrets:
SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Build docker image
uses: Senzing/github-action-docker-buildx-build@latest
uses: senzing-factory/github-action-docker-buildx-build@latest
with:
image-repository: senzing/g2configtool
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Build docker image and push to DockerHub
uses: Senzing/github-action-docker-buildx-build@latest
uses: senzing-factory/github-action-docker-buildx-build@latest
with:
build-options: "--push"
image-repository: senzing/g2configtool
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/move-pr-to-done.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added to 2.0.1

- Migrate Dockerfile from [docker-g2configtool](https://github.com/Senzing/docker-g2command) to this repository
- Migrate Dockerfile from [docker-g2configtool](https://github.com/senzing-garage/docker-g2command) to this repository

## [2.0.0] - 2022-05-04

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

This file was deleted.

24 changes: 18 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# g2configtool

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!

## Overview

This Dockerfile is a wrapper over Senzing's G2ConfigTool.py.
Expand Down Expand Up @@ -27,15 +39,15 @@ This Dockerfile is a wrapper over Senzing's G2ConfigTool.py.
- **Space:** This repository and demonstration require 1 GB free disk space.
- **Time:** Budget 40 minutes to get the demonstration up-and-running, depending on CPU and network speeds.
- **Background knowledge:** This repository assumes a working knowledge of:
- [Docker](https://github.com/Senzing/knowledge-base/blob/main/WHATIS/docker.md)
- [Docker](https://github.com/senzing-garage/knowledge-base/blob/main/WHATIS/docker.md)

## Demonstrate using Docker

### Configuration

Configuration values specified by environment variable or command line parameter.

- **[SENZING_DEBUG](https://github.com/Senzing/knowledge-base/blob/main/lists/environment-variables.md#senzing_debug)**
- **[SENZING_DEBUG](https://github.com/senzing-garage/knowledge-base/blob/main/lists/environment-variables.md#senzing_debug)**

### Volumes

Expand All @@ -47,10 +59,10 @@ Configuration values specified by environment variable or command line parameter
```

1. :warning:
**macOS** - [File sharing](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/share-directories-with-docker.md#macos)
**macOS** - [File sharing](https://github.com/senzing-garage/knowledge-base/blob/main/HOWTO/share-directories-with-docker.md#macos)
must be enabled for `SENZING_VOLUME`.
1. :warning:
**Windows** - [File sharing](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/share-directories-with-docker.md#windows)
**Windows** - [File sharing](https://github.com/senzing-garage/knowledge-base/blob/main/HOWTO/share-directories-with-docker.md#windows)
must be enabled for `SENZING_VOLUME`.

1. Identify the `data_version`, `etc`, `g2`, and `var` directories.
Expand All @@ -66,10 +78,10 @@ Configuration values specified by environment variable or command line parameter
For other databases, these steps may be skipped.

1. **Db2:** See
[Support Db2](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/support-db2.md)
[Support Db2](https://github.com/senzing-garage/knowledge-base/blob/main/HOWTO/support-db2.md)
instructions to set `SENZING_OPT_IBM_DIR_PARAMETER`.
1. **MS SQL:** See
[Support MS SQL](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/support-mssql.md)
[Support MS SQL](https://github.com/senzing-garage/knowledge-base/blob/main/HOWTO/support-mssql.md)
instructions to set `SENZING_OPT_MICROSOFT_DIR_PARAMETER`.

### Run docker container
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# template-repository
# g2configtool

Placeholder for [GitHub pages](https://pages.github.com/).

Expand Down
12 changes: 6 additions & 6 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

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. [docker](https://github.com/Senzing/knowledge-base/blob/main/WHATIS/docker.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. [docker](https://github.com/senzing-garage/knowledge-base/blob/main/WHATIS/docker.md)

## 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 @@ -22,14 +22,14 @@ see [Environment Variables](https://github.com/Senzing/knowledge-base/blob/main/
export GIT_REPOSITORY_DIR="${GIT_ACCOUNT_DIR}/${GIT_REPOSITORY}"
```

1. Follow steps in [clone-repository](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/clone-repository.md) to install the Git repository.
1. Follow steps in [clone-repository](https://github.com/senzing-garage/knowledge-base/blob/main/HOWTO/clone-repository.md) to install the Git repository.

## Build docker image for development

1. **Option #1:** Using `docker` command and GitHub.

```console
sudo docker build --tag senzing/g2configtool https://github.com/senzing/g2configtool.git#main
sudo docker build --tag senzing/g2configtool https://github.com/senzing-garage/g2configtool.git#main
```

1. **Option #2:** Using `docker` command and local repository.
Expand Down