Coder Social home page Coder Social logo

pact-foundation / homebrew-pact-ruby-standalone Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 3.0 130 KB

The Pact Ruby Standalone public homebrew tap for macos/linux homebrew formulae

License: MIT License

Ruby 41.34% Shell 58.66%
pact-ruby-standalone homebrew-tap homebrew-formulae

homebrew-pact-ruby-standalone's People

Contributors

bethesque avatar e3b0c442 avatar elgohr avatar github-actions[bot] avatar nudge avatar pact-dev avatar surpher avatar you54f avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

homebrew-pact-ruby-standalone's Issues

brew install fails on latest version (1.88.76)

brew install fails:

$  brew install pact-ruby-standalone

Error: pact-ruby-standalone: /usr/local/Homebrew/Library/Taps/pact-foundation/homebrew-pact-ruby-standalone/pact-ruby-standalone.rb:12: syntax error, unexpected tIDENTIFIER, expecting end
        puts "# Run "pact-mock-service help [COMMAND]"...
                     ^~~~
/usr/local/Homebrew/Library/Taps/pact-foundation/homebrew-pact-ruby-standalone/pact-ruby-standalone.rb:12: syntax error, unexpected tIDENTIFIER, expecting do or '{' or '('
... "# Run "pact-mock-service help [COMMAND]" (for more see htt...
...                           ^~~~
/usr/local/Homebrew/Library/Taps/pact-foundation/homebrew-pact-ruby-standalone/pact-ruby-standalone.rb:12: syntax error, unexpected tSTRING_BEG, expecting end
...ct-mock-service help [COMMAND]" (for more see https://github...
...                              ^

I opened PR #60 to fix the issue.

homebrew installation fails with SHA mismatch

Errors in verification step of installed formula during GitHub Actions CI run

There was some errors in the verification step when new releases are created.

See #83 (comment)

It's failing in CI, with the same error above.

I've changed to the following steps.

      - name: Verify tap (⚠️ experimental ⚠️)
        run: |
          hub checkout version/v${{ github.event.client_payload.version }}
          brew install --verbose --debug pact-ruby-standalone.rb
          brew audit --strict --online pact-ruby-standalone

I am not sure if installing the formula from the file is correct.

Once it is built, it complains that my gems aren't built correctly.

Screenshot 2023-03-22 at 18 36 21

There is also this audit issue appearing in CI

pact-ruby-standalone:
  * 2: col 3: Description is too long. It should be less than 80 characters. The current length is 94.
  * Stable: version 1.91.0 is redundant with version scanned from URL
  * Libraries were compiled with a flat namespace.
    This can cause linker errors due to name collisions, and
    is often due to a bug in detecting the macOS version.
      /opt/homebrew/Cellar/pact-ruby-standalone/1.91.0/lib/ruby/lib/libyaml-0.2.dylib

These weren't seen before, as the brew pull command has been deprecated for a couple of years.

It might be okay to merge the PR to master, but I'd like to test it out after, I was hoping I could build it locally and check it all works.

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.