From b0ef34134a1c893d0760f4b20f07ae60f1c9040a Mon Sep 17 00:00:00 2001 From: SeiyaKobayashi Date: Thu, 8 May 2025 14:14:08 +0900 Subject: [PATCH 1/5] Add a license --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5caab71 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 JPYCζ ͺ式会瀾 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 7675b1779caffadd444f6801f896e0a3ebba8607 Mon Sep 17 00:00:00 2001 From: SeiyaKobayashi Date: Thu, 8 May 2025 14:14:54 +0900 Subject: [PATCH 2/5] Add empty directories --- docs/.gitkeep | 0 src/core/.gitkeep | 0 tests/.gitkeep | 0 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 docs/.gitkeep create mode 100644 src/core/.gitkeep create mode 100644 tests/.gitkeep diff --git a/docs/.gitkeep b/docs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/core/.gitkeep b/src/core/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/tests/.gitkeep b/tests/.gitkeep new file mode 100644 index 0000000..e69de29 From 0b93740b140de6f85f3f6145dab278367d7ebae8 Mon Sep 17 00:00:00 2001 From: SeiyaKobayashi Date: Thu, 8 May 2025 14:15:22 +0900 Subject: [PATCH 3/5] Add github-related configs --- .github/.git-pr-release | 4 ++++ .github/CODEOWNERS | 1 + .github/ISSUE_TEMPLATE/bug_report.md | 20 +++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature_request.md | 24 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/task.md | 24 ++++++++++++++++++++ .github/actions/.gitkeep | 0 .github/pull_request_template.md | 16 ++++++++++++++ .github/release-drafter.yml | 6 +++++ .github/workflows/create-release-pr.yml | 27 +++++++++++++++++++++++ .gitignore | 2 ++ 11 files changed, 125 insertions(+) create mode 100644 .github/.git-pr-release create mode 100644 .github/CODEOWNERS create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/task.md create mode 100644 .github/actions/.gitkeep create mode 100644 .github/pull_request_template.md create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/create-release-pr.yml create mode 100644 .gitignore diff --git a/.github/.git-pr-release b/.github/.git-pr-release new file mode 100644 index 0000000..d1f36c1 --- /dev/null +++ b/.github/.git-pr-release @@ -0,0 +1,4 @@ +Release <%= Time.now %> +<% pull_requests.each do |pr| -%> +- #<%= pr.number %> <%= pr.title %> <%= pr.mention %> +<% end -%> diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..974115c --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @Mameta29 @SeiyaKobayashi diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..7c74e51 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,20 @@ +--- +name: Bug Report +about: Create a bug report +title: '' +labels: 'bug' +assignees: '' +--- + + + +## πŸ› Description + + + +## πŸ” How to Reproduce + + + +## πŸ“š References + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..5744726 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,24 @@ +--- +name: Feature Request +about: Submit a feature request +title: '' +labels: ['feature request'] +assignees: '' +--- + + + +## 🌈 Overview + + + +## ❓ Motivation + + + +## 🎨 Description + + + +## πŸ“š References + diff --git a/.github/ISSUE_TEMPLATE/task.md b/.github/ISSUE_TEMPLATE/task.md new file mode 100644 index 0000000..772be00 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/task.md @@ -0,0 +1,24 @@ +--- +name: Task +about: Create a new task +title: '' +labels: ['task'] +assignees: '' +--- + + + +## πŸ“ Overview + + + +## πŸ–‹ Details + + + +## 🍭 Sub-Tasks + +- + +## πŸ“š References + diff --git a/.github/actions/.gitkeep b/.github/actions/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..e57d9f0 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,16 @@ + + +## 🌈 Overview + + + +## 🎯 Issues + +- + +## 🎨 Details + + + +## πŸ“š References + diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..18468e1 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,6 @@ +template: | + ## What's Changed + + $CHANGES + + **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml new file mode 100644 index 0000000..f93c4cc --- /dev/null +++ b/.github/workflows/create-release-pr.yml @@ -0,0 +1,27 @@ +name: create release prs + +on: + push: + branches: + - develop + +jobs: + create-release-pr: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.3 + - name: Create a release PR + env: + GIT_PR_RELEASE_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GIT_PR_RELEASE_BRANCH_PRODUCTION: main + GIT_PR_RELEASE_BRANCH_STAGING: develop + GIT_PR_RELEASE_TEMPLATE: .github/.git-pr-release + GIT_PR_RELEASE_LABELS: release + TZ: Asia/Tokyo + run: | + gem install -N git-pr-release -v "2.2.0" + git-pr-release --no-fetch diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..228a386 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# misc +cspell.json From df54a44006081f7dc4837a41b05dd23724266356 Mon Sep 17 00:00:00 2001 From: SeiyaKobayashi Date: Thu, 8 May 2025 14:15:36 +0900 Subject: [PATCH 4/5] Add '.editorconfig' --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7ffd47f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{py}] +indent_style = space +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false From 6b09c3ceeeee27f9f5d0ac086350898eb666615a Mon Sep 17 00:00:00 2001 From: SeiyaKobayashi Date: Thu, 8 May 2025 14:15:57 +0900 Subject: [PATCH 5/5] Modify 'README's --- README-ja.md | 4 ++++ README.md | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 README-ja.md diff --git a/README-ja.md b/README-ja.md new file mode 100644 index 0000000..bbbb123 --- /dev/null +++ b/README-ja.md @@ -0,0 +1,4 @@ +# JPYC Python SDK + +> [!IMPORTANT] +> TODO: README in Japanese diff --git a/README.md b/README.md index 4f610d1..95953c4 100644 --- a/README.md +++ b/README.md @@ -1 +1,4 @@ -# python-sdk +# JPYC Python SDK + +> [!IMPORTANT] +> TODO: README in English