From d9e97819de80b788457edba795dc50526b028c4b Mon Sep 17 00:00:00 2001 From: earnest ma Date: Mon, 23 Nov 2020 19:34:39 -0500 Subject: [PATCH] Customize template --- .appveyor.yml | 8 ++++- .github/CODEOWNERS | 2 +- .github/ISSUE_TEMPLATE/hash_check_fail.md | 7 ++-- .github/ISSUE_TEMPLATE/manifest_request.md | 14 ++++---- ...{issue_comment.yml => issue_commented.yml} | 6 ++-- .github/workflows/{issue.yml => issues.yml} | 10 +++--- .github/workflows/pull_request.yml | 6 ++-- .github/workflows/schedule.yml | 33 ++++++++++--------- .gitignore | 3 +- README.template.md | 3 -- 10 files changed, 49 insertions(+), 43 deletions(-) rename .github/workflows/{issue_comment.yml => issue_commented.yml} (73%) rename .github/workflows/{issue.yml => issues.yml} (65%) delete mode 100644 README.template.md diff --git a/.appveyor.yml b/.appveyor.yml index 6760537..c7027cc 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,3 +1,10 @@ +version: "{build}-{branch}" +branches: + except: + - gh-pages +build: off +deploy: off +clone_depth: 2 skip_commits: files: - '**/*.md' @@ -6,7 +13,6 @@ cache: - '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> .appveyor.yml' matrix: fast_finish: true -build: 'off' image: Visual Studio 2019 environment: SCOOP: C:\projects\scoop diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0f2c7cd..f405f75 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @Ash258 +* @earnestma diff --git a/.github/ISSUE_TEMPLATE/hash_check_fail.md b/.github/ISSUE_TEMPLATE/hash_check_fail.md index d4bb4b8..4b49da3 100644 --- a/.github/ISSUE_TEMPLATE/hash_check_fail.md +++ b/.github/ISSUE_TEMPLATE/hash_check_fail.md @@ -1,11 +1,12 @@ --- name: Hash check fail about: Installation failed due to hash check. -title: '%%manifest%%@%%version%%: Hash check failed' +title: '%%manifestName%%@%%version%%: Hash check failed' --- - - +1. Please replace the title placeholders with information. +2. If needed, copy terminal output and paste it into code fence block. +3. Delete these 3 steps :) ```powershell diff --git a/.github/ISSUE_TEMPLATE/manifest_request.md b/.github/ISSUE_TEMPLATE/manifest_request.md index 44d2cd0..f7aa664 100644 --- a/.github/ISSUE_TEMPLATE/manifest_request.md +++ b/.github/ISSUE_TEMPLATE/manifest_request.md @@ -5,14 +5,14 @@ title: '[Request] Add %%applicationName%%' labels: request, help wanted --- - - +Please keep in mind that this is my personal bucket and I likely will not add things I don't use. Please fill out the title and include relevant information below! + - **URL to application**: <> - **Latest version**: - **Graphical interface**: Yes/No -- **Portable version**: Yes/No +- **Portable version**: Yes/No *(if yes, please specify if portable mode needs to be enabled and list files/folders needed to be handled on update)* - - - - +Is there anything else contributors need to know? + +- Files, folders to persist across updates +- Installation requirements diff --git a/.github/workflows/issue_comment.yml b/.github/workflows/issue_commented.yml similarity index 73% rename from .github/workflows/issue_comment.yml rename to .github/workflows/issue_commented.yml index fdb746c..50b546f 100644 --- a/.github/workflows/issue_comment.yml +++ b/.github/workflows/issue_commented.yml @@ -5,12 +5,12 @@ name: Commented Pull Request jobs: pullRequestHandler: name: Pull Request Validator - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@main - name: Pull Request Validation - uses: Ash258/Scoop-GithubActions@stable + uses: Ash258/Scoop-GithubActions@stable-win if: startsWith(github.event.comment.body, '/verify') env: - GITH_EMAIL: youremail@email.com + GITH_EMAIL: earnestma@hotmail.com GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/issue.yml b/.github/workflows/issues.yml similarity index 65% rename from .github/workflows/issue.yml rename to .github/workflows/issues.yml index b6a883e..4311695 100644 --- a/.github/workflows/issue.yml +++ b/.github/workflows/issues.yml @@ -4,13 +4,13 @@ on: name: Issues jobs: issueHandler: - runs-on: ubuntu-latest - name: Issue Verification + name: Issue Handler + runs-on: windows-latest steps: - uses: actions/checkout@main - - name: Verify Issue - uses: Ash258/Scoop-GithubActions@stable + - name: Issue Handler + uses: Ash258/Scoop-GithubActions@stable-win if: github.event.action == 'opened' || (github.event.action == 'labeled' && contains(github.event.issue.labels.*.name, 'verify')) env: - GITH_EMAIL: youremail@email.com + GITH_EMAIL: earnestma@hotmail.com GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 265cca2..5987bec 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -8,8 +8,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@main - - name: Pull Request Validation - uses: Ash258/Scoop-GithubActions@stable + - name: Pull Request Validator + uses: Ash258/Scoop-GithubActions@stable-win env: - GITH_EMAIL: youremail@email.com + GITH_EMAIL: earnestma@hotmail.com GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index c379875..5d9b9b4 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -1,16 +1,17 @@ -on: - schedule: - - cron: '0 * * * *' -name: Excavator -jobs: - excavate: - name: Excavator - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@main - - name: Excavate - uses: Ash258/Scoop-GithubActions@stable - env: - GITH_EMAIL: youremail@email.com - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SKIP_UPDATED: '1' +# I will look into this more later. +#on: +# schedule: +# - cron: '*/30 * * * *' +#name: Excavator +#obs: +# excavate: +# name: Excavator +# runs-on: windows-latest +# steps: +# - uses: actions/checkout@main +# - name: Excavator +# uses: Ash258/Scoop-GithubActions@stable-win +# env: +# GITH_EMAIL: earnestma@hotmail.com +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# SKIP_UPDATED: '1' diff --git a/.gitignore b/.gitignore index 41a7452..b9a8a36 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /checkver* /.cache/ -/.vagrant/ +/.earne/ +*.ignore diff --git a/README.template.md b/README.template.md deleted file mode 100644 index 2b12514..0000000 --- a/README.template.md +++ /dev/null @@ -1,3 +0,0 @@ -# Scoop %%BUCKET_NAME%% Bucket %%SAMPLE_MARKDOWN_BADGE_CODE%% - -`scoop bucket add %%NICE_NAME_TO_BE_SHOWN_TO_USER%% '%%HTTPS_GITHUB_REPOSITORY_URL.git%%'`