Giter Club home page Giter Club logo

homebrew-ddev's Introduction

ddev/ddev Homebrew Formula

This formula can build the ddev package from source or pull from bottles.

This repo is automatically updated by goreleaser in github.com/ddev/ddev. It does not need to be manually fixed.

Updating (manual, obsolete):

  • Add the url and sha256 of the new release source-code tarball to the homebrew-ddev local version.
  • Create new bottles on linux and macOS (before pushing new formula:
   brew uninstall ddev
   cd homebrew-ddev  # directory with new source
   brew install --build-from-source Formula/ddev.rb
   brew uninstall ddev
   brew install --build-bottle Formula/ddev.rb
   brew bottle --force-core-tap Formula/ddev.rb
  • Add the bottles into the formula per the output of brew bottle above.
  • Add the bottles to the github release.
  • Create the PR for the new homebrew version.

I'm quite sure we'll automate most of this, but this is the documented process at this time.

You should be able to build from source any time using brew reinstall --build-from-source ddev

homebrew-ddev's People

Contributors

andrewfrench avatar cyberswat avatar goreleaserbot avatar rfay avatar tannerjfco avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

homebrew-ddev's Issues

"No space left on device" error

When trying to perform brew upgrade ddev the following error occurs:

Warning: Bottle installation failed: building from source.
==> make VERSION=v1.16.3 COMMIT=v1.16.3
Last 15 lines from /Users/oliverwand/Library/Logs/Homebrew/ddev/01.make:
fatal: not a git repository (or any of the parent directories): .git
building .gotmp/bin/darwin_amd64/ddev from ./cmd/... ./pkg/...
go build github.com/hashicorp/hcl/json/scanner: mkdir /tmp/go-build944387875/b257/: no space left on device
go build github.com/spf13/afero/mem: mkdir /tmp/go-build944387875/b265/: no space left on device
go build golang.org/x/text/unicode/norm: mkdir /tmp/go-build944387875/b267/: no space left on device
go build github.com/spf13/cast: mkdir /tmp/go-build944387875/b268/: no space left on device
go build github.com/spf13/jwalterweatherman: mkdir /tmp/go-build944387875/b269/: no space left on device
go build github.com/hashicorp/hcl/hcl/printer: mkdir /tmp/go-build944387875/b259/: no space left on device
go build net/http/httptrace: mkdir /tmp/go-build944387875/b121/: no space left on device
go build github.com/golang/protobuf/ptypes/any: mkdir /tmp/go-build944387875/b207/: no space left on device
go build github.com/golang/protobuf/ptypes/timestamp: mkdir /tmp/go-build944387875/b209/: no space left on device
go build github.com/golang/protobuf/ptypes/duration: mkdir /tmp/go-build944387875/b208/: no space left on device
go build github.com/spf13/cobra: mkdir /tmp/go-build944387875/b245/: no space left on device
go build github.com/docker/docker/api/types/swarm/runtime: mkdir /tmp/go-build944387875/b215/: no space left on device
make: *** [.gotmp/bin/darwin_amd64/ddev] Error 1

As there is close 478GB left on my MacBook Pro (Intel) the message "no space left on device" is quite confusing.

Any hint would be highly appreciated.

Error: No similarly named formulae found.

Unfortunately, the https://github.com/drud/homebrew-ddev gives instructions on updating ddev, but doesn't explain how to install it. So I've just run brew install ddev to get:

Updating Homebrew...
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
gnupg@2.2                                                                       lychee
==> Updated Formulae
Updated 52 formulae.

==> Tapping homebrew/cask
Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 566668, done.
remote: Total 566668 (delta 0), reused 0 (delta 0), pack-reused 566668
Receiving objects: 100% (566668/566668), 251.04 MiB | 11.09 MiB/s, done.
Resolving deltas: 100% (400185/400185), done.
Tapped 3900 casks (4,016 files, 269.2MB).
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "ddev".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

This is happening on a M1 chip MBP.

brew upgrade shows deprecation notices

This is what I receive sínce this morning when running brew upgrade:

Warning: Calling `cellar` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256` with a `cellar:` argument instead.
Please report this issue to the drud/ddev tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/drud/homebrew-ddev/Formula/ddev.rb:16

Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the drud/ddev tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/drud/homebrew-ddev/Formula/ddev.rb:17

Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the drud/ddev tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/drud/homebrew-ddev/Formula/ddev.rb:18

Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the drud/ddev tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/drud/homebrew-ddev/Formula/ddev.rb:19

brew config lists the following details:

HOMEBREW_VERSION: 3.0.11-160-g4145fab
ORIGIN: https://github.com/Homebrew/brew
HEAD: 4145fabc20a7151500a4e1df8657731dc4dde151
Last commit: 5 hours ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
Core tap HEAD: a62c450eefe5656feb5f55f1d58f7c5ff94d7125
Core tap last commit: 15 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: :0
HOMEBREW_EDITOR: vim
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: octa-core 64-bit skylake
Clang: N/A
Git: 2.25.1 => /usr/bin/git
Curl: 7.68.0 => /usr/bin/curl
Kernel: Linux 5.8.0-48-generic x86_64 GNU/Linux
OS: Ubuntu 20.04.2 LTS (focal)
Host glibc: 2.31
/usr/bin/gcc: 9.3.0
/usr/bin/ruby: 2.7.0
glibc: N/A
gcc@5: N/A
xorg: N/A

fatal: not a git repository (or any of the parent directories): .git

When upgrade 1.17.0 to. 1.17.1 then I got a error like:

==> Upgrading 1 outdated package:
drud/ddev/ddev 1.17.0 -> 1.17.1
==> Upgrading drud/ddev/ddev 1.17.0 -> 1.17.1
==> Downloading https://github.com/drud/ddev/archive/v1.17.1.tar.gz
==> Downloading from https://codeload.github.com/drud/ddev/tar.gz/v1.17.1
# -=#=- # #
==> make VERSION=v1.17.1 COMMIT=v1.17.1
Last 15 lines from /Users/js-sknk/Library/Logs/Homebrew/ddev/01.make:
COMMIT=v1.17.1

fatal: not a git repository (or any of the parent directories): .git
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: go: Command not found
make: *** No rule to make target _', needed by build'. Stop.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.