From 54d6583098ceca6b740f30ee75a0cbd377c3c27d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20G=C3=B3rny?= Date: Thu, 19 Nov 2020 11:56:22 +0100 Subject: [PATCH] test --- .github/workflows/google_sheet_update.yml | 16 ++--- applications/workflow_testing_10.md | 82 +++++++++++++++++++++++ 2 files changed, 90 insertions(+), 8 deletions(-) create mode 100644 applications/workflow_testing_10.md diff --git a/.github/workflows/google_sheet_update.yml b/.github/workflows/google_sheet_update.yml index 287f5065de9..dc7960b03aa 100644 --- a/.github/workflows/google_sheet_update.yml +++ b/.github/workflows/google_sheet_update.yml @@ -1,7 +1,7 @@ name: Google Sheet Update -on: push - # pull_request_target: - # types: [closed] +on: + pull_request_target: + types: [closed] jobs: fetch: @@ -15,16 +15,16 @@ jobs: - uses: actions/checkout@master if: github.event.pull_request.merged == true name: Checkout - # with: - # ref: ${{ github.event.pull_request.head.sha }} + with: + ref: ${{ github.event.pull_request.head.sha }} - name: 'parse files' - # if: github.event.pull_request.merged == true + if: github.event.pull_request.merged == true id: grant_parser uses: mmagician/read-file-action@v0.1.2 with: - # path: "${{ github.workspace }}/${{ steps.files.outputs.added }}" - path: 'applications/workflow_testing_8.md' + path: "${{ github.workspace }}/${{ steps.files.outputs.added }}" + # path: 'applications/workflow_testing_8.md' - name: Pull Request URL if: github.event.pull_request.merged == true diff --git a/applications/workflow_testing_10.md b/applications/workflow_testing_10.md new file mode 100644 index 00000000000..346901ba2d7 --- /dev/null +++ b/applications/workflow_testing_10.md @@ -0,0 +1,82 @@ +# Open Grant Proposal + +* **Project Name:** Workflow Testing +* **Team Name:** Marcinosososos +* **Contact Name:** Marcin +* **Contact Email:** marcin@web3.foundation +* **Registered Address:** Swiss Alps, CH 8123 +* **Payment Address:** 1NKWsqRaWZDNX17cuzfyykcAA317njqzSn + +## Project Overview :page_facing_up: + +sup is a substrate package manager using git, it allows developer new node-template +and upgrade substrate dependencies in one comamnd. + +Hope this project can help more and more developers to join the ecosystem. + +## Team :busts_in_silhouette: + +* **Members:** Mercury Fletcher +* **LinkedIn Profiles:** https://www.linkedin.com/in/mercury-fletcher-2277191a3/ +* **Code Repos:** https://github.com/clearloop/sup +* **Website:** https://github.com/clearloop/sup +* **Legal Structure:** Pensonal +* **Team's Experience:** Author of [ElvisJS](https://github.com/elvisjs/elvis), [leetcode-cli](https://github.com/clearloop/leetcode-cli) + + +## Development Roadmap :nut_and_bolt: + +* **Total Estimated Duration:** 2 days +* **Full-time equivalent (FTE):** 0.285 +* **Total Costs:** 0.1 BTC + +### Milestone 1 — Generate Node-Template in one command + +* **Estimated Duration:** 1 day +* **FTE:** 0.285 +* **Costs:** 0.05 BTC + +Just run: + +``` +$ cargo install sup +$ sup new +$ cd && cargo build +``` + +And it will work. + +| Number | Deliverable | Specification | +|--------|--------------------------------|-------------------------------------------| +| 0 | `sup new ` | New node-template in one command | +| 1 | `sup update` | Update sup registry | +| 2 | `sup source --query ` | List substrate dependencies with versions | +| 3 | `sup tag --limit ` | List avaiable registry tags | + + +### Milestone 2 — Upgrading Substrate depencidencies in one command + +* **Estimated Duration:** 1 day +* **FTE:** 0.285 +* **Costs:** 0.05 BTC + +Run: + +``` +$ sup upgrade --tag --registry +``` + ++ Upgrades the registry of substrate by tag for the current project. ++ Supports customize subtrate registry(including substrate-based registry) + +| Number | Deliverable | Specification | +| ------ | -------------------------------------------------- | ------------------------------------------------------------ | +| 0 | `sup new --tag --registry ` | New node-template with specified tag and registry | +| 1 | `sup update --registry ` | Update target registry | +| 2 | `sup source --tag --registry ` | List substrate dependencies with versions | +| 3 | `sup tag --registry ` | List avaiable tags of target registry | +| 4 | `sup upgrade --tag --registry ` | Upgrade current project to the target or latest tag of the current or target registry | + +### Community engagement + +The tutorials and Documentation that we provide will be published as articles in Medium, [rust.cc](rust.cc) and other social media platforms with due mention about Web3 grant.