From 8479762c101c385125cd66ecb907817ed6bdd231 Mon Sep 17 00:00:00 2001 From: Ravi Prakash Date: Fri, 16 Jun 2023 12:04:53 +0530 Subject: [PATCH 1/4] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 38 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..dd84ea78 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**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/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..bbcbbe7d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**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. From b21c1a3a2c7a6e10734dcdde4c35ec2c738c412e Mon Sep 17 00:00:00 2001 From: Bharath Ganapathy <92024178+bharath-ganapathy@users.noreply.github.com> Date: Mon, 3 Jul 2023 13:39:38 +0530 Subject: [PATCH 2/4] Update CONTRIBUTION.md Changed the Open Community section in Contribution process, replacing Slack with Discord, and substituting the Discord invite link. Removed Contribution flow image - source URL was not reachable. --- CONTRIBUTION.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTION.md b/CONTRIBUTION.md index b4bab842..00c7a478 100644 --- a/CONTRIBUTION.md +++ b/CONTRIBUTION.md @@ -90,18 +90,14 @@ Not all feedback can be accommodated as a change and there may be solid argument # Contribution Process -![Flow](http://13.235.139.60/dev-docs-images/PR%20Flowchart.png) - - - ## 1. Review the specification All contributors are expected to review the specification before submitting a proposal. If there is anything that a contributor does not understand, they are free to pose questions to the beckn open community of developers. -## 2. Join the Beckn Open Community on Slack +## 2. Join the Beckn Open Community on Discord -Joining the open community on Slack is a simple process. Click [here](https://join.slack.com/t/beckn/shared_invite/zt-ucfhmyow-5XuHdRpFrqO2sh4gzcnuQw) to join the developer community on Slack. This is useful to have quick real-time interactions with the developers in the community. +Joining the open community on Discord is a simple process. Click [here]( https://bit.ly/bocWebInvite) to join the developer community on Discord. This is useful to have quick real-time interactions with the members of the community. ## 3. Initiate / participate in discussion threads on Github @@ -241,4 +237,4 @@ Not all future new features will be introduced in this way. Some new features im While governance of the specification is the role of the CWG, the evolution of the specification happens through the participation of members of the developer community at large. Any person willing to contribute to the effort is welcome, and contributions may include filing or participating in issues, creating pull requests, or helping others with such activities. -However, during any interaction with the community or its members, there is a code of conduct and a set of community guidelines that everyone is expected to adhere to. Please find the details [here](https://becknprotocol.io/community-guidelines/). \ No newline at end of file +However, during any interaction with the community or its members, there is a code of conduct and a set of community guidelines that everyone is expected to adhere to. Please find the details [here](https://becknprotocol.io/community-guidelines/). From 99a6f599301424a8d027df5686577d41044408c9 Mon Sep 17 00:00:00 2001 From: deekshith Date: Thu, 20 Jul 2023 18:42:16 +0530 Subject: [PATCH 3/4] added GHA to validate meta.yaml, transaction.yaml, registry.yaml --- .github/workflows/openapi_validation.yml | 49 ++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/openapi_validation.yml diff --git a/.github/workflows/openapi_validation.yml b/.github/workflows/openapi_validation.yml new file mode 100644 index 00000000..f1279049 --- /dev/null +++ b/.github/workflows/openapi_validation.yml @@ -0,0 +1,49 @@ +name: Validate OpenAPI Schema + +on: + pull_request: + branches: + - master + +jobs: + validate_openapi_schema_meta: + name: Validate OpenAPI Schema for Meta + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Validate OpenAPI schema for meta.yaml + id: validate_meta + uses: thiyagu06/openapi-validator-action@v1 + with: + filepath: "./api/meta/build/meta.yaml" + + validate_openapi_schema_registry: + name: Validate OpenAPI Schema for registry + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Validate OpenAPI schema for registry.yaml + id: validate_registry + uses: thiyagu06/openapi-validator-action@v1 + with: + filepath: "./api/registry/build/registry.yaml" + + validate_openapi_schema_transaction: + name: Validate OpenAPI Schema for transaction + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Validate OpenAPI schema for transaction.yaml + id: validate_transaction + uses: thiyagu06/openapi-validator-action@v1 + with: + filepath: "./api/transaction/build/transaction.yaml" From 6e5348dc4bf76b4c5a016f9066dbe7d84e62e841 Mon Sep 17 00:00:00 2001 From: deekshith Date: Tue, 26 Sep 2023 07:01:18 +0530 Subject: [PATCH 4/4] added draft branch to the branches to observe pull_request on --- .github/workflows/openapi_validation.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/openapi_validation.yml b/.github/workflows/openapi_validation.yml index f1279049..794bb3d4 100644 --- a/.github/workflows/openapi_validation.yml +++ b/.github/workflows/openapi_validation.yml @@ -4,6 +4,7 @@ on: pull_request: branches: - master + - draft jobs: validate_openapi_schema_meta: @@ -27,7 +28,7 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - + - name: Validate OpenAPI schema for registry.yaml id: validate_registry uses: thiyagu06/openapi-validator-action@v1 @@ -41,7 +42,7 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - + - name: Validate OpenAPI schema for transaction.yaml id: validate_transaction uses: thiyagu06/openapi-validator-action@v1