Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formula deprecations #409

Merged
merged 3 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
matrix:
macos: [ 'macos-12' ]
formula: [ 'relay', 'kubectl-ran' ]
formula: [ 'kubectl-ran' ]
runs-on: ${{ matrix.macos }}
steps:
- name: Checkout current PR
Expand Down
3 changes: 0 additions & 3 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
* @MikaelSmith
*/wash.* @puppetlabs/wash
*/puppet-bolt.* @puppetlabs/bolt
*/pdk.* @puppetlabs/devx
*/puppet-agent* @puppetlabs/phoenix
*/pe-client-tools* @puppetlabs/skeletor
*/relay.* @puppetlabs/relay-community
2 changes: 2 additions & 0 deletions Formula/relay.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ class Relay < Formula
:using => :nounzip
sha256 "ad75452b15b2c02dd6f16f45ed7c41a181cabb7f51232fd5a34ff757af12a85f"

deprecate! date: "2024-07-25", because: :repo_archived

def install
bin.install "relay-#{version}-darwin-amd64" => "relay"
end
Expand Down
2 changes: 2 additions & 0 deletions Formula/wash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ class Wash < Formula
option "with-coreutils", "Enables relative paths in the shell prompt using realpath"
depends_on "coreutils" => :recommended

deprecate! date: "2024-07-25", because: :repo_archived

def install
system "go build -ldflags='-w -s -X github.com/puppetlabs/wash/cmd/version.BuildVersion=#{version}'"
bin.install "wash" => "wash"
Expand Down
21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,27 +94,6 @@ Additionally we maintain versioned casks for each collection
- `puppetlabs/puppet/puppet-agent-6`
- `puppetlabs/puppet/puppet-agent-7`

### Wash

To install [Wash](https://github.com/puppetlabs/wash) with brew:

```bash
brew install puppetlabs/puppet/wash
```

This will build Wash (with Go) and install it to `/usr/local/bin/wash`.

### Relay

To install the CLI tool to interact with [Relay](https://relay.sh):

```bash
brew install puppetlabs/puppet/relay
```

This will install the relay CLI from the binary builds produced at
[@puppetlabs/relay](https://github.com/puppetlabs/relay) - no local build tools are required.

## Migrating from pre-tap installations

If you previously installed the PDK or Bolt from homebrew before this tap existed, you will see errors about the keg not existing or the cask already being installed.
Expand Down
Loading