From 3e1e355c0a3b7ca7d9aebdf84f873ff0168cd79c Mon Sep 17 00:00:00 2001 From: Sam <109683132+kernelsam@users.noreply.github.com> Date: Sat, 27 Jan 2024 10:07:21 -0800 Subject: [PATCH] #25 Migrate repository --- .github/CODEOWNERS | 4 +- .github/ISSUE_TEMPLATE/bug_report.md | 38 ------------------- .../ISSUE_TEMPLATE/documentation_request.md | 26 ------------- .github/ISSUE_TEMPLATE/feature_request.md | 17 --------- .../add-dependabot-request-to-project.yaml | 26 ------------- .../add-to-project-g2-python-dependabot.yaml | 14 +++++++ .../workflows/add-to-project-g2-python.yaml | 18 +++++++++ .../workflows/add-to-project-t-g2-python.yaml | 22 ----------- PULL_REQUEST_TEMPLATE.md | 13 ------- README.md | 14 ++++++- 10 files changed, 47 insertions(+), 145 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/documentation_request.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 .github/workflows/add-dependabot-request-to-project.yaml create mode 100644 .github/workflows/add-to-project-g2-python-dependabot.yaml create mode 100644 .github/workflows/add-to-project-g2-python.yaml delete mode 100644 .github/workflows/add-to-project-t-g2-python.yaml delete mode 100644 PULL_REQUEST_TEMPLATE.md diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8a69b50..28f9136 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -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 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index d3a80d7..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - -- OS: [e.g. iOS] -- Browser [e.g. chrome, safari] -- Version [e.g. 22] - -**Smartphone (please complete the following information):** - -- Device: [e.g. iPhone6] -- OS: [e.g. iOS8.1] -- Browser [e.g. stock browser, safari] -- Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/documentation_request.md b/.github/ISSUE_TEMPLATE/documentation_request.md deleted file mode 100644 index c18a3fa..0000000 --- a/.github/ISSUE_TEMPLATE/documentation_request.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Documentation request -about: Identify an area for improvement in documentation - ---- - -**What is the URL of the documentation?** - -- **Example:** https://github.com/Senzing/template-docker#external-database - - *Note:* This URL includes the web page and the section of the documentation. - -**What can be improved?** - -A clear and concise description of what can be improved. -Examples: - -- "I don't understand where the ${XYZ} variable is set." -- "There seems to be a step missing between 'X' and 'Z'. I don't know how to get to 'Z'." -- "When I run `command sub-command ...` I get the following error:" -- "I don't know what is meant by 'gerble barb gazoink` in the instructions". - -**Additional context** - -Add any other context or screenshots to help describe the documentation improvement. -If you think the documentation improvement is operating system specific, -please indicate which operating system is being used. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 066b2d9..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/workflows/add-dependabot-request-to-project.yaml b/.github/workflows/add-dependabot-request-to-project.yaml deleted file mode 100644 index bf73f2b..0000000 --- a/.github/workflows/add-dependabot-request-to-project.yaml +++ /dev/null @@ -1,26 +0,0 @@ -# Based on -# - https://github.com/srggrs/assign-one-project-github-action - -name: Add dependabot pull requests to project - -on: - pull_request: - types: - - opened - - reopened - -env: - GITHUB_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} - CREATOR: ${{ github.event.pull_request.user.login }} - -jobs: - assign_one_project: - runs-on: ubuntu-latest - steps: - - name: Assign pull request to project - env: - BOOL: ${{ contains( env.CREATOR, 'dependabot' ) }} - uses: Senzing/github-action-add-issue-to-project@main - if: ${{ env.BOOL == 'true' }} - with: - project: 'https://github.com/orgs/Senzing/projects/8' diff --git a/.github/workflows/add-to-project-g2-python-dependabot.yaml b/.github/workflows/add-to-project-g2-python-dependabot.yaml new file mode 100644 index 0000000..b256f84 --- /dev/null +++ b/.github/workflows/add-to-project-g2-python-dependabot.yaml @@ -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 }} diff --git a/.github/workflows/add-to-project-g2-python.yaml b/.github/workflows/add-to-project-g2-python.yaml new file mode 100644 index 0000000..e50cf6d --- /dev/null +++ b/.github/workflows/add-to-project-g2-python.yaml @@ -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/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 }} diff --git a/.github/workflows/add-to-project-t-g2-python.yaml b/.github/workflows/add-to-project-t-g2-python.yaml deleted file mode 100644 index 3b3e1ce..0000000 --- a/.github/workflows/add-to-project-t-g2-python.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# Based on -# - https://github.com/srggrs/assign-one-project-github-action - -name: Auto Assign issue to project - -on: - issues: - types: - - reopened - - opened -env: - GITHUB_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} - -jobs: - assign_one_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' diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 0b11a2f..0000000 --- a/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,13 +0,0 @@ -# Pull request questions - -## Which issue does this address - -Issue number: #nnn - -## Why was change needed - -??? - -## What does change improve - -??? diff --git a/README.md b/README.md index 3f83c98..6f2c472 100644 --- a/README.md +++ b/README.md @@ -1 +1,13 @@ -# g2module \ No newline at end of file +# g2module + +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!