From 72bde844cea89c26fdd7543915b0c9c64fdb0852 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 22 Nov 2023 16:06:22 +0000 Subject: [PATCH] Deprecate repository Delete files and update README. --- .editorconfig | 9 --- .gitattributes | 1 - .github/ISSUE_TEMPLATE/01_bug_report.yml | 48 -------------- .github/ISSUE_TEMPLATE/config.yml | 15 ----- .github/PULL_REQUEST_TEMPLATE.md | 18 ----- .github/config.yml | 6 -- .github/dependabot.yml | 10 --- .github/workflows/cache.yml | 46 ------------- .github/workflows/ci.yml | 23 ------- .github/workflows/dispatch-command.yml | 22 ------- .github/workflows/rebase.yml | 38 ----------- .github/workflows/rerun-workflow.yml | 44 ------------- .github/workflows/triage-issues.yml | 83 ------------------------ .github/workflows/triage.yml | 50 -------------- .gitignore | 13 ---- CONTRIBUTING.md | 14 ---- LICENSE | 24 ------- README.md | 30 +-------- 18 files changed, 3 insertions(+), 491 deletions(-) delete mode 100644 .editorconfig delete mode 100644 .gitattributes delete mode 100644 .github/ISSUE_TEMPLATE/01_bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md delete mode 100644 .github/config.yml delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/cache.yml delete mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/dispatch-command.yml delete mode 100644 .github/workflows/rebase.yml delete mode 100644 .github/workflows/rerun-workflow.yml delete mode 100644 .github/workflows/triage-issues.yml delete mode 100644 .github/workflows/triage.yml delete mode 100644 .gitignore delete mode 100644 CONTRIBUTING.md delete mode 100644 LICENSE diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index c6c8b3621938..000000000000 --- a/.editorconfig +++ /dev/null @@ -1,9 +0,0 @@ -root = true - -[*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 176a458f94e0..000000000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* text=auto diff --git a/.github/ISSUE_TEMPLATE/01_bug_report.yml b/.github/ISSUE_TEMPLATE/01_bug_report.yml deleted file mode 100644 index 2cb82cc3e079..000000000000 --- a/.github/ISSUE_TEMPLATE/01_bug_report.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Reproducible Bug Report -description: If you’re sure it’s reproducible and not just your machine, submit an issue so we can investigate -body: - - type: checkboxes - attributes: - label: Verification - description: Please verify that you’ve followed these steps - options: - - label: I understand that [if I ignore these instructions, my issue may be closed without review](https://github.com/Homebrew/homebrew-cask/blob/master/doc/faq/closing_issues_without_review.md). - required: true - - label: I have retried my command with `--force`. - required: false - - label: I ran `brew update-reset && brew update` and retried my command. - required: false - - label: I ran `brew doctor`, fixed as many issues as possible and retried my command. - required: false - - label: I have checked the instructions for [reporting bugs](https://github.com/Homebrew/homebrew-cask#reporting-bugs). - required: true - - label: I made doubly sure this is not a [checksum does not match](https://docs.brew.sh/Common-Issues#cask---checksum-does-not-match) error. - required: true - - type: textarea - attributes: - label: Description of issue - validations: - required: true - - type: input - attributes: - label: Command that failed - validations: - required: true - - type: textarea - attributes: - label: Output of command with `--verbose --debug` - render: shell - validations: - required: true - - type: textarea - attributes: - label: Output of `brew doctor` and `brew config` - render: shell - validations: - required: true - - type: textarea - attributes: - label: Output of `brew tap` - render: shell - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 58e723a4ed8a..000000000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,15 +0,0 @@ -blank_issues_enabled: false - -contact_links: - - name: Get help in GitHub Discussions - url: https://github.com/orgs/Homebrew/discussions - about: Have a question? Not sure if your issue affects everyone reproducibly? The quickest way to get help is on Homebrew's GitHub Discussions! - - name: New issue on Homebrew/brew - url: https://github.com/Homebrew/brew/issues/new/choose - about: Having a `brew` problem that's not from a `brew install` or `brew upgrade` of a single cask? Report it to Homebrew/brew (the Homebrew package manager) - - name: New issue on Homebrew/homebrew-core - url: https://github.com/Homebrew/homebrew-core/issues/new/choose - about: Having a Homebrew formula problem? Report it to Homebrew/homebrew-core (the formula tap/repository) - - name: Ideas for a new feature - url: https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request - about: If you have an idea for a new feature here's how to add it to Brew diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index d18c51c69799..000000000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,18 +0,0 @@ -**Important:** *Do not tick a checkbox if you haven’t performed its action.* Honesty is indispensable for a smooth review process. - -_In the following questions `` is the token of the cask you're submitting._ - -After making any changes to a cask, existing or new, verify: - -- [ ] The submission is for [a stable version](https://docs.brew.sh/Acceptable-Casks#stable-versions) or [documented exception](https://docs.brew.sh/Acceptable-Casks#but-there-is-no-stable-version). -- [ ] `brew audit --cask --online ` is error-free. -- [ ] `brew style --fix ` reports no offenses. - -Additionally, **if adding a new cask**: - -- [ ] Named the cask according to the [token reference](https://docs.brew.sh/Cask-Cookbook#token-reference). -- [ ] Checked the cask was not [already refused](https://github.com/Homebrew/homebrew-cask-drivers/search?q=is%3Aclosed&type=Issues). -- [ ] Checked the cask is submitted to [the correct repo](https://docs.brew.sh/Acceptable-Casks#finding-a-home-for-your-cask). -- [ ] `brew audit --new-cask ` worked successfully. -- [ ] `brew install --cask ` worked successfully. -- [ ] `brew uninstall --cask ` worked successfully. diff --git a/.github/config.yml b/.github/config.yml deleted file mode 100644 index 9589d5005976..000000000000 --- a/.github/config.yml +++ /dev/null @@ -1,6 +0,0 @@ -requestInfoUserstoExclude: - - bevanjkay - - miccal - - ran-dall - - reitermarkus - - vitorgalvao diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 76008e1a56ee..000000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,10 +0,0 @@ -version: 2 -updates: - - package-ecosystem: github-actions - directory: / - schedule: - interval: weekly - # The actions in triage-issues.yml are updated in the Homebrew/.github repo - ignore: - - dependency-name: actions/stale - - dependency-name: dessant/lock-threads diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml deleted file mode 100644 index 49e00dbacb1f..000000000000 --- a/.github/workflows/cache.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Cache - -on: - push: - paths: - - .github/workflows/cache.yml - schedule: - - cron: "0 */6 * * *" # every 6 hours - -concurrency: - group: cache - cancel-in-progress: true - -permissions: - contents: read - -jobs: - update: - if: startsWith(github.repository, 'Homebrew/') - strategy: - matrix: - runner: - - macos-11 - - macos-12 - - macos-13 - - ubuntu-latest - runs-on: ${{ matrix.runner }} - steps: - - name: Set up Homebrew - id: set-up-homebrew - uses: Homebrew/actions/setup-homebrew@master - with: - test-bot: false - - - name: Cache Homebrew Gems - id: cache - uses: actions/cache@v3 - with: - path: ${{ steps.set-up-homebrew.outputs.gems-path }} - key: ${{ matrix.runner }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} - restore-keys: ${{ matrix.runner }}-rubygems- - - - name: Install Homebrew Gems - id: gems - run: brew install-bundler-gems - if: steps.cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index ddab1f839038..000000000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: CI - -on: pull_request - -env: - HOMEBREW_DEVELOPER: 1 - HOMEBREW_NO_AUTO_UPDATE: 1 - HOMEBREW_NO_INSTALL_FROM_API: 1 - HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }} - -concurrency: - group: "${{ github.ref }}" - cancel-in-progress: ${{ github.event_name == 'pull_request' }} - -permissions: - contents: read - -jobs: - conclusion: - name: conclusion - runs-on: ubuntu-latest - steps: - - run: 'true' diff --git a/.github/workflows/dispatch-command.yml b/.github/workflows/dispatch-command.yml deleted file mode 100644 index c1e243275d35..000000000000 --- a/.github/workflows/dispatch-command.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Dispatch Command - -on: - issue_comment: - types: [created] - -permissions: - contents: read - -jobs: - dispatch-command: - if: startsWith(github.repository, 'Homebrew/') - runs-on: ubuntu-latest - steps: - - name: Dispatch /rebase Command - uses: peter-evans/slash-command-dispatch@a28ee6cd74d5200f99e247ebc7b365c03ae0ef3c - with: - token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }} - reaction-token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }} - commands: rebase - permission: triage - issue-type: pull-request diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml deleted file mode 100644 index 49d5c170364b..000000000000 --- a/.github/workflows/rebase.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Rebase Pull Request - -on: - repository_dispatch: - types: [rebase-command] - -permissions: - contents: read - -jobs: - rebase_pull_request: - name: Rebase Pull Request - runs-on: ubuntu-latest - steps: - - name: Rebase Pull Request - uses: peter-evans/rebase@56c359b35ff7ba8426d0fdb842958b35b1db8277 - id: rebase - with: - token: ${{ secrets.HOMEBREW_CASK_REBASE_TOKEN }} - head: ${{ github.event.client_payload.pull_request.head.label }} - - - name: Add 👍 Reaction - if: always() && steps.rebase.outputs.rebased-count == 1 - uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 - with: - token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }} - repository: ${{ github.event.client_payload.github.payload.repository.full_name }} - comment-id: ${{ github.event.client_payload.github.payload.comment.id }} - reactions: '+1' - - - name: Add 👎 Reaction - if: always() && steps.rebase.outputs.rebased-count != 1 - uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 - with: - token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }} - repository: ${{ github.event.client_payload.github.payload.repository.full_name }} - comment-id: ${{ github.event.client_payload.github.payload.comment.id }} - reactions: '-1' diff --git a/.github/workflows/rerun-workflow.yml b/.github/workflows/rerun-workflow.yml deleted file mode 100644 index badf593a077d..000000000000 --- a/.github/workflows/rerun-workflow.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Re-run Workflow - -on: - workflow_run: - workflows: - - CI - types: - - completed - pull_request_target: - types: - - closed - - labeled - - unlabeled - schedule: - - cron: '30 */3 * * *' # every 3 hours (30 minutes past the hour) - -permissions: - contents: read - -jobs: - rerun-workflow: - if: > - startsWith(github.repository, 'Homebrew/') && - ( - github.event.label.name == 'ci-requeue' || - github.event.label.name == 'ci-retry' || - github.event.label.name == 'ci-skip-appcast' || - github.event.label.name == 'ci-skip-install' || - github.event.label.name == 'ci-skip-livecheck' || - github.event.label.name == 'ci-skip-livecheck-min-os' || - github.event.label.name == 'ci-skip-repository' || - github.event.label.name == 'ci-syntax-only' || - !github.event.label.name - ) - runs-on: ubuntu-latest - steps: - - name: Re-run CI workflow - uses: reitermarkus/rerun-workflow@a5db91f022cc936bf2d7a9d5b635f3d410e8e197 - with: - token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }} - once-label: ci-requeue - continuous-label: ci-retry - trigger-labels: ci-skip-appcast,ci-skip-install,ci-skip-livecheck,ci-syntax-only,ci-skip-repository,ci-skip-livecheck-min-os - workflow: ci.yml diff --git a/.github/workflows/triage-issues.yml b/.github/workflows/triage-issues.yml deleted file mode 100644 index 69f338379419..000000000000 --- a/.github/workflows/triage-issues.yml +++ /dev/null @@ -1,83 +0,0 @@ -# This file is synced from the `.github` repository, do not modify it directly. -name: Triage issues - -on: - push: - paths: - - .github/workflows/triage-issues.yml - branches-ignore: - - dependabot/** - schedule: - # Once every day at midnight UTC - - cron: "0 0 * * *" - issue_comment: - -permissions: - issues: write - pull-requests: write - -concurrency: - group: triage-issues - cancel-in-progress: ${{ github.event_name != 'issue_comment' }} - -jobs: - stale: - if: > - startsWith(github.repository, 'Homebrew/') && ( - github.event_name != 'issue_comment' || ( - contains(github.event.issue.labels.*.name, 'stale') || - contains(github.event.pull_request.labels.*.name, 'stale') - ) - ) - runs-on: ubuntu-latest - steps: - - name: Mark/Close Stale Issues and Pull Requests - uses: actions/stale@v8 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-stale: 21 - days-before-close: 7 - stale-issue-message: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. - stale-pr-message: > - This pull request has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. - exempt-issue-labels: "gsoc-outreachy,help wanted,in progress" - exempt-pr-labels: "gsoc-outreachy,help wanted,in progress" - - bump-pr-stale: - if: > - startsWith(github.repository, 'Homebrew/') && ( - github.event_name != 'issue_comment' || ( - contains(github.event.issue.labels.*.name, 'stale') || - contains(github.event.pull_request.labels.*.name, 'stale') - ) - ) - runs-on: ubuntu-latest - steps: - - name: Mark/Close Stale `bump-formula-pr` and `bump-cask-pr` Pull Requests - uses: actions/stale@v8 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-stale: 2 - days-before-close: 1 - stale-pr-message: > - This pull request has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. To keep this - pull request open, add a `help wanted` or `in progress` label. - exempt-pr-labels: "help wanted,in progress" - any-of-labels: "bump-formula-pr,bump-cask-pr" - - lock-threads: - if: startsWith(github.repository, 'Homebrew/') && github.event_name != 'issue_comment' - runs-on: ubuntu-latest - steps: - - name: Lock Outdated Threads - uses: dessant/lock-threads@be8aa5be94131386884a6da4189effda9b14aa21 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - issue-inactive-days: 30 - add-issue-labels: outdated - pr-inactive-days: 30 - add-pr-labels: outdated diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml deleted file mode 100644 index e49c0e907c61..000000000000 --- a/.github/workflows/triage.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: Triage tasks - -on: pull_request_target - -concurrency: - group: "triage-${{ github.event.number }}" - cancel-in-progress: true - -permissions: - contents: read - -jobs: - triage: - runs-on: ubuntu-latest - steps: - - name: Check commit format - uses: Homebrew/actions/check-commit-format@master - with: - token: ${{secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN}} - - name: Label pull request - uses: Homebrew/actions/label-pull-requests@master - if: always() - with: - token: ${{secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN}} - def: | - - label: new cask - status: added - path: Casks/.+ - - - label: marked for removal/rejection - status: removed - path: Casks/.+ - - - label: documentation - path: (.*\.md|\.github/ISSUE_TEMPLATE/.*\.yml) - - - label: bump-cask-pr - pr_body_content: Created with `brew bump-cask-pr` - - - label: missing description - path: Casks/.+ - missing_content: \n desc .+\n - - - label: appcast migration needed - path: Casks/.+ - content: \n appcast .+\n - - - label: missing zap - path: Casks/.+ - missing_content: zap .+\n diff --git a/.gitignore b/.gitignore deleted file mode 100644 index fc19d45ef7b7..000000000000 --- a/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -# toplevel -/.bundle/ -/.idea/ -/bin/ -/vendor/ -/venv/ - -# anywhere in the tree -*~ -*.iml -.DS_Store -.ruby-version -coverage diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 7e8d19e59ed7..000000000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,14 +0,0 @@ -# How to Contribute - -[Instructions from the main repository](https://github.com/Homebrew/homebrew-cask/blob/master/CONTRIBUTING.md) apply. Exceptions are documented on the [README](README.md) and this document. - -## Naming Driver Casks - -All Cask names and tokens should be of the form `-`. - -### Driver Token Examples - -Cask Token | `-` | Filename ---------------------|-----------------------|------------------------ -`logic` | `saleae-logic` | `saleae-logic.rb` -`razer-synapse` | `razer-synapse` | `razer-synapse.rb` diff --git a/LICENSE b/LICENSE deleted file mode 100644 index fdddb29aa445..000000000000 --- a/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -This is free and unencumbered software released into the public domain. - -Anyone is free to copy, modify, publish, use, compile, sell, or -distribute this software, either in source code form or as a compiled -binary, for any purpose, commercial or non-commercial, and by any -means. - -In jurisdictions that recognize copyright laws, the author or authors -of this software dedicate any and all copyright interest in the -software to the public domain. We make this dedication for the benefit -of the public at large and to the detriment of our heirs and -successors. We intend this dedication to be an overt act of -relinquishment in perpetuity of all present and future rights to this -software under copyright law. - -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 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. - -For more information, please refer to diff --git a/README.md b/README.md index eeb2770740e4..2ee8b66c0c56 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,5 @@ -# homebrew-cask-drivers -Casks of drivers +# Homebrew/cask-drivers (deprecated) -# Usage +Formerly contained Casks of drivers. -After you install Homebrew, run the following command: - -```sh -brew tap homebrew/cask-drivers -``` - -You can now install the casks in this repo. - -```sh -brew install xbox360-controller-driver-unofficial -``` - -## Submitting a Cask to this repository - -See [CONTRIBUTING.md](CONTRIBUTING.md). - -## On macOS version compatibility - -Drivers have strict requirements regarding which versions of an operating system they can run on. If you wish to expand the OS support for a driver cask, *you need to provide a link to the upstream page that verifies said support*. This is to say that “I’ve tried it on my machine and it worked” is not sufficient reasoning. For all we know, the software may break on the next point release, or it may just be your specific configuration that allows it to run even though your OS version is not officially supported. - -If you believe the upstream requirements are incorrect, please contact *them* and get them to correct the information on their page, at which point the cask requirements can also be updated. - -## License -[The Unlicense](https://unlicense.org/) +These have mostly been migrated to [Homebrew/homebrew-cask](https://github.com/Homebrew/homebrew-cask)