From 44ba92fe79d5e5a195839c93c6cd15be843d4efe Mon Sep 17 00:00:00 2001 From: Gleb Urvanov Date: Mon, 9 Nov 2020 15:15:43 +0100 Subject: [PATCH] repo cleaning --- .github/ISSUE_TEMPLATE/ask-a-question.md | 13 ------ .github/ISSUE_TEMPLATE/report-a-bug.md | 46 --------------------- .github/ISSUE_TEMPLATE/suggest-a-feature.md | 26 ------------ .github/workflows/build-push-template.yml | 19 --------- .gitignore | 3 +- .vscode/tasks.json | 37 ----------------- 6 files changed, 2 insertions(+), 142 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/ask-a-question.md delete mode 100644 .github/ISSUE_TEMPLATE/report-a-bug.md delete mode 100644 .github/ISSUE_TEMPLATE/suggest-a-feature.md delete mode 100644 .github/workflows/build-push-template.yml delete mode 100644 .vscode/tasks.json diff --git a/.github/ISSUE_TEMPLATE/ask-a-question.md b/.github/ISSUE_TEMPLATE/ask-a-question.md deleted file mode 100644 index 7687625b7d385..0000000000000 --- a/.github/ISSUE_TEMPLATE/ask-a-question.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -name: Ask a Question -about: Ask a question about this template. -title: "" -labels: question -assignees: "" ---- - -**Question** - -_Please include information such as the following: is your question to clarify an existing resource -or are you asking about something new? what are you trying to accomplish? where have you looked for -answers?_ diff --git a/.github/ISSUE_TEMPLATE/report-a-bug.md b/.github/ISSUE_TEMPLATE/report-a-bug.md deleted file mode 100644 index 31b2ea8acc1fb..0000000000000 --- a/.github/ISSUE_TEMPLATE/report-a-bug.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -name: Report a Bug -about: Report a problem with this template. -title: "" -labels: bug -assignees: "" ---- - -**Description** - -_Tell us what happened. In particular, be specific about any changes you made to this template. -Ideally, provide a link to your project's GitHub repository. Please note that we are not able to -support all conceivable changes to this template project, but the more information you are able to -provide the more equipped we will be to help._ - -**Steps to Reproduce** - -_Replace the example steps below with actual steps to reproduce the bug you're reporting._ - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected vs. Actual Behavior** - -_What did you expect to happen after you followed the steps you described in the last section? What -actually happened?_ - -**Environment** - -_Describe the environment in which you encountered this bug. Use the list below as a starting point -and add additional information if you think it's relevant._ - -- Operating system: -- Template version/tag: -- Rust version (run `rustup show`): - -**Logs, Errors or Screenshots** - -_Please provide the text of any logs or errors that you experienced; if -applicable, provide screenshots to help illustrate the problem._ - -**Additional Information** - -_Please add any other details that you think may help us solve your problem._ diff --git a/.github/ISSUE_TEMPLATE/suggest-a-feature.md b/.github/ISSUE_TEMPLATE/suggest-a-feature.md deleted file mode 100644 index 60c7678e9f7b2..0000000000000 --- a/.github/ISSUE_TEMPLATE/suggest-a-feature.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Suggest a Feature -about: Suggest a new feature or an improvement to an existing feature for this template. -title: "" -labels: enhancement -assignees: "" ---- - -**Motivation** - -_Describe the need or frustration that motivated you to make this suggestion. Please note that the -goal of this project is to provide a general-purpose template project, so please take care when -suggesting features that may be specific to a particular use case._ - -**Suggested Solution** - -_Describe your suggested solution to the need or frustration that you are experiencing._ - -**Alternatives** - -_Describe any alternative solutions or features you considered and why you believe your suggested -solution is preferable._ - -**Additional Information** - -_Provide any additional information that you believe may help us evaluate your suggestion._ diff --git a/.github/workflows/build-push-template.yml b/.github/workflows/build-push-template.yml deleted file mode 100644 index be8bf9218d7ac..0000000000000 --- a/.github/workflows/build-push-template.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Build and Push template - -on: - push: - branches: - - master - -jobs: - build-push-template: - if: ${{ github.repository == 'substrate-developer-hub/substrate-node-template' }} - runs-on: ubuntu-18.04 - steps: - - name: Trigger playground inclusion - uses: peter-evans/repository-dispatch@v1 - with: - token: ${{ secrets.REPO_ACCESS_TOKEN }} - repository: paritytech/substrate-playground - event-type: template-updated - client-payload: '{"id": "node-template"}' diff --git a/.gitignore b/.gitignore index 324f6535e0715..4603b53eec5bf 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,5 @@ .local # IDE files -.idea \ No newline at end of file +.idea +.vscode \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 55b38dbfb485d..0000000000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "label": "Run ", - "type": "shell", - "command": "cargo", - "args": ["run", "--release", "--", "--dev"], - "group": { - "kind": "build", - "isDefault": true - }, - "presentation": { - "reveal": "always", - "panel": "new" - }, - "problemMatcher": [ - { - "owner": "rust", - "fileLocation": ["relative", "${workspaceRoot}"], - "pattern": { - "regexp": "^(.*):(\\d+):(\\d+):\\s+(\\d+):(\\d+)\\s+(warning|error):\\s+(.*)$", - "file": 1, - "line": 2, - "column": 3, - "endLine": 4, - "endColumn": 5, - "severity": 6, - "message": 7 - } - } - ] - } - ] -} \ No newline at end of file