GithubHelp home page GithubHelp logo

zedtux / brewformulas.org Goto Github PK

View Code? Open in Web Editor NEW
556.0 15.0 16.0 64.75 MB

A website to search and discover formulas from Homebrew for Mac

Home Page: brewformulas.org

homebrew brewformulas discover-formulas macos macosx search

brewformulas.org's Introduction

brewformulas.org's People

Contributors

dependabot[bot] avatar gabe565 avatar itaisteinherz avatar jlduran avatar napcae avatar solidkalium avatar syndbg avatar z3t1 avatar zedtux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brewformulas.org's Issues

s3cmd formula error

While trying to install s3cmd using brew install s3cmd, I had the following error:

==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/s3cmd-1

curl: (60) SSL certificate problem: Invalid certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
Error: Failed to download resource "s3cmd"
Download failed: https://downloads.sf.net/project/machomebrew/Bottles/s3cmd-1.5.0.yosemite.bottle.2.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://downloads.sourceforge.net/project/s3tools/s3cmd/1.5.

curl: (60) SSL certificate problem: Invalid certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
Error: Failed to download resource "s3cmd"
Download failed: https://downloads.sourceforge.net/project/s3tools/s3cmd/1.5.0/s3cmd-1.5.0.tar.gz

Did the website stop working?

Hello,
The website says there’s “No new formula this week” but there have been 13 new ones in the past week:

$ git -C $(brew --repo)/Library/Taps/homebrew/homebrew-core diff --name-only --diff-filter=A @{1.week.ago}..|grep -c Formula
13

21 out of 100 formulae from a random sample of the core tap don’t exist on the website.

# the sample
["bokken", "platypus", "minio-mc", "vim", "amqp-cpp", "lzlib", "dtc", "appledoc",
 "memcache-top", "opencolorio", "ddrescue", "blitz", "evince", "calcurse", "libplist",
 "iperf", "wolfssl", "nomad", "snappy", "ical-buddy", "autocode", "lasi", "libmodbus",
 "sipcalc", "libmemcached", "ezstream", "pyenv-pip-migrate", "gdub", "mp3unicode",
 "randomize-lines", "quazip", "gpsim", "crf++", "libnfs", "idnits", "mmv", "dex2jar",
 "nodebrew", "sisc-scheme", "yacas", "newlisp", "picoc", "terraform", "colordiff", "sl",
 "nrg2iso", "antiword", "skipfish", "hh", "gtkglext", "proxychains-ng", "dbxml", "libiodbc",
 "ired", "gprof2dot", "ucommon", "dvd+rw-tools", "tomcat-native", "zbackup", "pgpdump",
 "objc-run", "jenkins", "scriptcs", "tor", "vaulted", "pcap_dnsproxy", "git-tf", "xsw", "pmd",
 "dockward", "mp3splt", "bgpq3", "mytop", "pgbadger", "lifelines", "libdrawtext",
 "docbook-xsl", "compose2kube", "colorsvn", "libpano", "ghex", "arp-scan", "epstool",
 "elixir", "tpl", "rsstail", "hardlink-osx", "zint", "fasd", "hornetq", "qpdf", "json-glib", "collectd",
 "crosstool-ng", "pastebinit", "radamsa", "gputils", "libmaxminddb", "vorbisgain", "swftools"]

# Formulae that returned {} for a GET http://brewformulas.org/<name>.json
["minio-mc", "amqp-cpp", "memcache-top", "ical-buddy", "pyenv-pip-migrate",
 "randomize-lines", "crf++", "sisc-scheme", "proxychains-ng", "dvd+rw-tools",
 "tomcat-native", "objc-run", "vaulted", "pcap_dnsproxy", "git-tf", "docbook-xsl",
 "compose2kube", "arp-scan", "hardlink-osx", "crosstool-ng", "gputils"]

Some of them have been available for a while (e.g. gputils has been added in 2010). Did the recent changes on the Homebrew repo location and/or the brew/homebrew-core separation break something here?

iftop issue

James-MacBook-Pro:blog user$ sudo brew install iftop
Password:
==> Downloading http://www.ex-parrot.com/pdw/iftop/download/iftop-1.0pre4.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/iftop/1.0pre4 --mandir=/usr/local/Cellar/iftop/1.0pre4/share/man
==> make install
==> Caveats
iftop requires root privileges so you will need to run `sudo iftop`.
You should be certain that you trust any software you grant root privileges.
==> Summary
🍺  /usr/local/Cellar/iftop/1.0pre4: 9 files, 102.2K, built in 9 seconds
James-MacBook-Pro:blog user$ sudo iftop
sudo: iftop: command not found

Optimise the homepage

The homepage is showing the entire list of formulae. This page could take almost a second (which is not acceptable).

Add an API description page

Following the implementation done in the issue #9, a page describing the API should be implemented with an entry in the menu.

Markdown will be used in order to render in HTML.

libmemcached formula description fetching should work

The formula libmemcached is missing the description.

Looking at the regular expression, it would work if changing it like the following:

(^.*(?:Libmemcached|libmemcached)(?:\)|\s\u2122|\s[\d\.]+|\scodec)?\s(?:is\s(?:an?|the)|(?:project\s)?provides)[\s\w\'\(\)\,\-\+\/\.\:]+\.(?:\s|$))

The updated part is added \: in the [\s\w\'\(\)\,\-\+\/\.\:]+ part of the regular expression.

Add "screenshot" / icon feature.

Might be nice to have / accumulate a "visual" representation of the packages, via their "Icon"s (if available), and maybe a screenie (if available).. obvs not appropos for *, but for some... would be a cool addition.

500 exception before first succes import

When deploying brewformulas.org on a new server, and no import has been performed yet, it's working, but as soon as the first formula is created in DB, a 500 exception occur on the home page.

This is due to the fact that the DateTime of the last import finished on success is used to calculate the percentage (using this DateTime to fetch 'active' formula, meaning formulas which have been touched after the last import finished on success).

Add support for taps

In particular https://github.com/Homebrew/homebrew-science

A todo list for the cask implementation:

  • Add an administration part where to configure the scanned Git repo
  • Add in the administration part the import statuses
  • Update the app in order to iterate over the homebrew and the homebrew-cask Git repo
  • Update the source file link URL host based on the formula's repo URL
  • Update the formula show page in order to show the source (Official or Cask)
  • Update the search feature in order to include/exclude the formula from the Casks

“an Homebrew” → “a Homebrew”

“Homebrew” should be preceded by “a”, not “an”; or is it a regionalism? Do you say “an (H)omebrew” like one might say “an (h)istorian”?

Formula analytics

In order to know which are the most popular formula an analytics widget will be added to the show page of a formula.

Let's use sublime graphics 😄

JSON API for formula infos

Given route...

curl http://brewformulas.org/json/a52dec

return JSON like..

{
  "formula": "a52dec",
  "description": "a52dec is a test program for liba52. It decodes ATSC A/52 streams, and also includes a demultiplexer for mpeg-1 and mpeg-2 program streams.",
  "reference": "Extracted automatically from A52dec homepage",
  "homepage": "http://liba52.sourceforge.net/",
  "version": "",
  "dependencies": [
  ],
  "dependents": [
    "GstPluginsUgly",
    "GPac"
  ]
}

I'd put together a scraper... but the HTML output is pretty busy.. and it'd be nicer if the info came straight from the "official" backend. Who knows... maybe with a solid API this could even be forked into homebrew's functionality...

Thoughts?

Bootstrap container class on mobile

On the left and right sides of the page, the content of the body is directly touching the edge of the screen.

b64967db-9a19-4c1f-923a-08c44d0f8550

This can be fixed by adding <div class="container"> before the body elements (not including the navbar).

“Mac” is not all caps

The repo’s description is “A site web to search and discover formulas from Homebrew for MAC http://brewformulas.org”. But Mac is short for Macintosh, so it should not be spelled MAC.

I don’t think I can submit a pull request for this one, because it’s not part of the code.

Footer 'Company 2013'

In the footer, the 'Company' should be something like 'Homebrew Formulas' and it's not 2013 anymore. :)

1fdd3098-98ab-40bf-af39-05e451a48e71

Search by Description

The Formula search box only allows name of filename so if I search for music I only get GameMusicEmu and Libmusicbrainz. Why not search by any term present in the description so I can add a custom URL search to LaunchBar, eg. http://brewformulas.org/search?utf8=✓&search%5Bterm%5D=*&commit=Search (* = search term)?

Build on wercker failing, because of an old API call.

The build will always fail, because the call to https://coveralls.io/api/v1 fails, since it throws a HTTP 404.

[Coveralls] Submitting to https://coveralls.io/api/v1
Coveralls encountered an exception:
RestClient::UnprocessableEntity
422 Unprocessable Entity
/pipeline/cache/bundle-install/ruby/2.2.0/gems/rest-client-1.8.0/lib/restclient/abstract_response.rb:74:in `return!'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:495:in `process_result'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:421:in `block in transmit'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/webmock-1.21.0/lib/webmock/http_lib_adapters/net_http.rb:123:in `start_without_connect'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/webmock-1.21.0/lib/webmock/http_lib_adapters/net_http.rb:150:in `start'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:413:in `transmit'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:176:in `execute'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/rest-client-1.8.0/lib/restclient/request.rb:41:in `execute'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/coveralls-0.8.1/lib/coveralls/api.rb:23:in `post_json'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/coveralls-0.8.1/lib/coveralls/simplecov.rb:72:in `format'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/simplecov-0.10.0/lib/simplecov/formatter/multi_formatter.rb:15:in `block in format'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/simplecov-0.10.0/lib/simplecov/formatter/multi_formatter.rb:13:in `map'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/simplecov-0.10.0/lib/simplecov/formatter/multi_formatter.rb:13:in `format'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/simplecov-0.10.0/lib/simplecov/result.rb:46:in `format!'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/simplecov-0.10.0/lib/simplecov/configuration.rb:159:in `block in at_exit'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/simplecov-0.10.0/lib/simplecov/defaults.rb:60:in `call'
/pipeline/cache/bundle-install/ruby/2.2.0/gems/simplecov-0.10.0/lib/simplecov/defaults.rb:60:in `block in <top (required)>'
{"message":"Couldn't find a repository matching this job.","error":true}

I suggest removing coveralls, or updating the settings.

Update1:
Probably has something todo with rest client and malformed data(?) I'm looking into this.

Update2:
Is this the solution for /app/controllers/application_controller.rb?

home page on pkg-config is wrong; can't figure out how to fix it

I wish I could offer a PR to fix this but I can't figure out where this bad info is coming from.
Is the homepage link coming directly from the brew formula? If so I apologize for wasting your time.

The pkg-config formula has a bad link for the homepage.

Homepage https://wiki.freedesktop.org/www/Software/pkg-config/
should be something like
Homepage https://www.freedesktop.org/wiki/Software/pkg-config/

Looks like freedesktop.org reorganized their site without forwarding.

Show all dependents formulas

When a formula is a dependency for other formulas, it is shown in the show page of the formula.

As of today, the 3 first dependent formulas are shown and then the amount of dependent formulas. (For example: http://brewformulas.org/Autoconf).

It would be nice to be able to click this amount in order to see then all.

terraform from brew fails to read private certs

Steps to reproduce:
brew install terraform
terraform remote state against a backend with a private certificate.

Expected results:
Process would work normally if I've brought the cert into my cert keychain

Observed results:
Process fails with cert validation.

Workaround:
Compile terraform from source on OS X directly, rather than cross-compiling, or downloading from Terraform.io

qt5 webkit

hi,

im not sure if this is the place to report issue,
latest brew install qt5, does not seems to allow me to install capybara-webkit,
throwing
Project ERROR: Unknown module(s) in QT: webkitwidgets

ive tried all qt5 and qt55,
gem uninstall capybara-webkit (all)
brew linkapps qt5
brew link --force qt5

and run bundle
even tried QMAKE=/usr/local/Cellar... bundle install
still fails

osx 10.11.5
ruby 1.9.3
gem 2.6.6

Provide link to actual formula

The Homebrew homepage says "homebrew formulae are simple Ruby scripts", and when I saw some instructions providing an extra command line option to one of them I thought I'd look at the script to see what that option did before installing.

Unfortunately, contrary to the brew docs, brew edit <packagename> won't work for formulas that aren't already installed, so I did a search for brew formula <packagename>, which took me to your site.

Unfortunately, despite being named "Homebrew formulas", I can't find any way to actually see the formula for the package in question. Please provide a way of seeing the formula!

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.