Coder Social home page Coder Social logo

homebrew / formulae.brew.sh Goto Github PK

View Code? Open in Web Editor NEW
1.4K 51.0 497.0 3.68 MB

🏎 An online formulae browser for Homebrew

Home Page: https://formulae.brew.sh

License: BSD 2-Clause "Simplified" License

Ruby 22.08% HTML 77.92%
formulae homebrew github-pages jekyll

formulae.brew.sh's Introduction

Homebrew (Legacy)

This repository was deprecated and split into two repositories:

formulae.brew.sh's People

Contributors

apainintheneck avatar bevanjkay avatar bo98 avatar branchvincent avatar brewtestbot avatar carlocab avatar cmbernard333 avatar dawidd6 avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar ericfromcanada avatar issyl0 avatar jasonkarns avatar jonchang avatar koraktor avatar leoheitmannruiz avatar mikemcquaid avatar nandahkrishna avatar nihaals avatar p-linnane avatar reitermarkus avatar rylan12 avatar samford avatar sidharthv96 avatar skyzh avatar smillerdev avatar traviscibot avatar vladimyr avatar zhongruoyu 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  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

formulae.brew.sh's Issues

Idea: Copy install command to clipboard button

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

install a cask

What happened (include screenshots)

I wasted some time waiting for brew update to finish and tell me that it was a cask and not a formula

What you expected to happen

A button which copies the install command to clipboard, so all a user has to do is Cmd + V

This was discussed in #270

Bottle list table is confusing for some users

I've already seen two instances of users mistakenly interpreting the fact that the bottle list table says "Apple Silicon" as an indicator that Apple Silicon is supported. (e.g. Homebrew/discussions#925, Homebrew/discussions#878)

It would be nice if the table were easier to interpret for readers who aren't paying attention. I'm not sure about what the best way to do this would be, but some ideas I had were:

  1. Put a strike through "Apple Silicon" (e.g. Apple Silicon) when no bottle is available.
  2. Add the 🍾 emoji in the table somewhere when that architecture/OS version has a bottle.

I may be partial to the second one because I do miss the 🍾 emoji a little. That said, it may not be obvious enough for the readers I'm thinking of.

Cf. #408

No Apple Silicon bottles available: pdftk-java, pandoc

What you were trying to do (and why)

Trying to install formulae pdftk-java and pandoc.
Other formulae were installed without any problem.

What happened (include screenshots)

Error message "no bottle available!" appeared.

Log:

% brew install pdftk-java
Error: pdftk-java: no bottle available!
You can try to install from source with:
brew install --build-from-source pdftk-java
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
% brew install pandoc
Error: pandoc: no bottle available!
You can try to install from source with:
brew install --build-from-source pandoc
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
% sw_vers
ProductName: macOS
ProductVersion: 11.3.1
BuildVersion: 20E241

What you expected to happen

Proper installation.

Bottles seem to be available for macOS Big Sur (= macOS 11) for Intel only, not for Apple Silicon which I have:

For example, this formula provides bottle (binary package) installation support for Apple Silicon Big Sur and is installed without any problem:

#

Please note we will close your issue without comment if you

delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

What happened (include screenshots)

What you expected to happen

Idea: display the path for executables installed by formulae

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

Install 7zip https://formulae.brew.sh/formula/sevenzip

What happened (include screenshots)

I couldn't find the binary path that'd be installed. I had to go to the sourcecode to see it's 7zz.
https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/sevenzip.rb#L32
Screenshot 2022-03-24 at 11 38 22

What you expected to happen

It would be really helpful to display the path for executables installed by formulae. e.g.
Screenshot 2022-03-24 at 11 41 38

Problem setting up ssl

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

sett up a secure LAMP stack with SSL using a self-signed certificate

What happened (include screenshots)

Server can be reached via tomcloud.ddns.net:8080 from the computer it selv or via external devices

Server cannot be reached via https://tomcloud.ddns.net, tomcloud.ddns.net:443 or https://tomcloud.ddns.net:443 from the computer it selv or via external devices

What you expected to happen

Establish a secure connection with ssl to the server

Hi

I would like to host a nextcloud instance on my Mac, how ever I am stuck while setting up a secure LAMP stack. Everything works fine, until i try to set up ssl on the server. After setting up ssl, I am able to connect to the server via tomcloud.ddns.net:8080 on the computer it selv and via external devices, How ever, I can't reach the Server via https://tomcloud.ddns.net, tomcloud.ddns.net:443 or https://tomcloud.ddns.net:443. I couldn't solve the problem while reading the documentations, investigating the error codes from the command line or the log files. I think it doesn't work because I use the wrong type of certifikats, but I've no cloo how to create the apropriate certifikats. I've tryed to document my steps from start to the end as acurate as possible. Ive also listed all the configuration documents, the used certifikats, keys and the log files. The "ssl_request_log" and the "tomcloud.ddns.net-error_log" are emty.

To narrow down the problem, I don't have nextcloud in the DocumentRoot folder yet. I copied the index.html document from the www folder to the DocumentRoot folder (nextcloud).

I am very grateful for help, solutions and tips.

thank you

Tom

device informations

Computer: MacBook Pro 13 2020

Processor: 2 GHz Quad-Core Intel Core i5

Operating system: macOS Monterey 12.2.1

description of the steps

Stop and uninstall native apache

sudo apachectl stop

sudo launchctl unload -w /Systems/Library/LaunchDaemons/org.apache.httpd.plist

Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Customize homebrew settings

Brew analytics off

Install httpd (apache) with Homebrew

brew install httpd

Configure httpd

Path to httpd.conf document:

/usr/local/etc/httpd/httpd.conf

Configurations in the httpd.conf document

In section β€žOptions Indexes FollowSymLinksβ€œ of the httpd.conf document

AllowOverride None -> AllowOverride All

Modules in the httpd.conf document

#LoadModule rewrite_module lib/httpd/modules/mod_rewrite.so -> LoadModule rewrite_module lib/httpd/modules/mod_rewrite.so

In section β€ž# Dynamic Shared Object (DSO) Supportβ€œ hunter β€žLoadModule rewrite_module lib/httpd/modules/mod_rewrite.soβ€œ insert the following:

LoadModule php_module /usr/local/opt/[email protected]/lib/httpd/modules/libphp.so

<FilesMatch \.php$>
    SetHandler application/x-httpd-php
</FilesMatch>

Customize user and group in httpd.conf document

User _www -> User tomgoetz

Group _www -> Group staff

Enable php in the httpd.conf document

DirectoryIndex index.html -> DirectoryIndex index.php index.html

Enable virtual hosts in the httpd.conf dokument

#Include /usr/local/etc/httpd/extra/httpd-vhosts.conf -> Include /usr/local/etc/httpd/extra/httpd-vhosts.conf

Change server name

#ServerName www.example.com:8080 -> ServerName localhost

Install php with homebrew

Brew install [email protected]

Change [email protected] settings

echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.zshrc

echo 'export PATH="/usr/local/opt/[email protected]/sbin:$PATH"' >> ~/.zshrc

export LDFLAGS="-L/usr/local/opt/[email protected]/lib"

export CPPFLAGS="-I/usr/local/opt/[email protected]/include"

Install mysql with homebrew

brew install mysql

Start mysql

brew services start mysql

Set up mysql

mysql_secure_installation to start configuring MySQL

Terminal output

tomgoetz@MacBook-Pro-von-Tom ~ % mysql_secure_installation to start configuring MySQL

Securing the MySQL server deployment.

Connecting to MySQL using a blank password.

VALIDATE PASSWORD COMPONENT can be used to test passwords
and improve security. It checks the strength of password
and allows the users to set only those passwords which are
secure enough. Would you like to setup VALIDATE PASSWORD component?

Press y|Y for Yes, any other key for No: n
Please set the password for root here.

New password:

Re-enter new password:
By default, a MySQL installation has an anonymous user,
allowing anyone to log into MySQL without having to have
a user account created for them. This is intended only for
testing, and to make the installation go a bit smoother.
You should remove them before moving into a production
environment.

Remove anonymous users? (Press y|Y for Yes, any other key for No) : y
Success.

Normally, root should only be allowed to connect from
'localhost'. This ensures that someone cannot guess at
the root password from the network.

Disallow root login remotely? (Press y|Y for Yes, any other key for No) : y
Success.

By default, MySQL comes with a database named 'test' that
anyone can access. This is also intended only for testing,
and should be removed before moving into a production
environment.

Remove test database and access to it? (Press y|Y for Yes, any other key for No) : y

  • Dropping test database...
    Success.

  • Removing privileges on test database...
    Success.

Reloading the privilege tables will ensure that all changes
made so far will take effect immediately.

Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y
Success.

All done!
tomgoetz@MacBook-Pro-von-Tom ~ %

Set up virtual hosts

Path to vhosts.conf document:

/usr/local/etc/httpd/extra/httpd-vhosts.conf

Content of the vhosts.conf document:

<VirtualHost *:8080>
ServerAdmin
DocumentRoot "/usr/local/var/www/nextcloud"
ServerName tomcloud.ddns.net
ServerAlias www.tomcloud.ddns.net
ErrorLog "/usr/local/var/log/httpd/tomcloud.ddns.net-error_log"
CustomLog "/usr/local/var/log/httpd/tomcloud.ddns.net-access_log" common

Create DocumentRoot folder

DocumentRoot folder path:

/usr/local/var/www/nextcloud

Set rights for DocumentRoot

Sudo chown -R tomgoetz:staff /usr/local/var/www

Sudo chown -R tomgoetz:staff /usr/local/var/www/nextcloud

Close httpd.conf and vhosts.conf document and save changes

Restart httpd, php and mysql

Sudo Brew services stop httpd

Sudo Brew services stop [email protected]

Brew services stop mysql

Brew services start httpd

Brew services start [email protected]

Brew services start mysql

Reboot computer

tomcloud.ddns.net:8080 is online but without ssl

Enable ssl

Configure httpd.conf document

Enable httpd-ssl.conf in the httpd.conf document

#Include /usr/local/etc/httpd/extra/httpd-ssl.conf -> Include /usr/local/etc/httpd/extra/httpd-ssl.conf

Enable required modules in httpd.conf document

#LoadModule ssl_module lib/httpd/modules/mod_ssl.so -> LoadModule ssl_module lib/httpd/modules/mod_ssl.so

#LoadModule socache_shmcb_module lib/httpd/modules/mod_socache_shmcb.so -> LoadModule socache_shmcb_module lib/httpd/modules/mod_socache_shmcb.so

Create certs folder

Path of certs folder:

/usr/local/etc/httpd/certs

Create required documents

openssl genrsa -out key.pem 2048

openssl req -new -sha256 -key key.pem -out csr.csr

openssl req -x509 -sha256 -days 365 -key key.pem -in csr.csr -out certificate.pem

Terminal output

tomgoetz@MacBook-Pro-von-Tom ~ % openssl genrsa -out key.pem 2048
Generating RSA private key, 2048 bit long modulus
...................................................+++
.......................................+++
e is 65537 (0x10001)
tomgoetz@MacBook-Pro-von-Tom ~ % openssl req -new -sha256 -key key.pem -out csr.csr
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.

Country Name (2 letter code) []:
State or Province Name (full name) []:
Locality Name (eg, city) []:
Organization Name (eg, company) []:
Organizational Unit Name (eg, section) []:
Common Name (eg, fully qualified host name) []:tomcloud.ddns.net
Email Address []:

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
tomgoetz@MacBook-Pro-von-Tom ~ % openssl req -x509 -sha256 -days 365 -key key.pem -in csr.csr -out certificate.pem
tomgoetz@MacBook-Pro-von-Tom ~ %

Copy certificate.pem, key.pem and csr.csr documents to the certs folder

Configure httpd-ssl.conf document

Path of httpd-ssl.conf document:

/usr/local/etc/httpd/extra/httpd-ssl.conf

Changes in the httpd-ssl.conf document

Customize path to documents

SSLCertificateFile "/usr/local/etc/httpd/server.crt" -> SSLCertificateFile "/usr/local/etc/httpd/certs/certificate.pem"

SSLCertificateKeyFile "/usr/local/etc/httpd/server.key" -> SSLCertificateKeyFile "/usr/local/etc/httpd/certs/key.pem"

Configure httpd-vhosts.conf document

Content of the httpd-vhosts.conf document:

<VirtualHost *:8080>
ServerAdmin x
DocumentRoot "/usr/local/var/www/nextcloud"
ServerName tomcloud.ddns.net
ServerAlias www.tomcloud.ddns.net
ErrorLog "/usr/local/var/log/httpd/tomcloud.ddns.net-error_log"
CustomLog "/usr/local/var/log/httpd/tomcloud.ddns.net-access_log" common

<VirtualHost *:443>
ServerAdmin x
DocumentRoot "/usr/local/var/www/nextcloud"
SSLEngine on
SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4:!3DES
SSLCertificateFile "/usr/local/etc/httpd/certs/certificate.pem"
SSLCertificateKeyFile "/usr/local/etc/httpd/certs/key.pem"
ServerName tomcloud.ddns.net
ServerAlias www.tomcloud.ddns.net
ErrorLog "/usr/local/var/log/httpd/tomcloud.ddns.net-error_log"
CustomLog "/usr/local/var/log/httpd/tomcloud.ddns.net-access_log" common

Close httpd.conf, httpd-ssl.conf and httpd-vhosts.conf documents and save changes

Reboot computer

Server can be reached via tomcloud.ddns.net:8080 from the computer it selv or via external devices

Server cannot be reached via https://tomcloud.ddns.net, tomcloud.ddns.net:443 or https://tomcloud.ddns.net:443 from the computer it selv or via external devices

Terminal output trying to find the error

Last login: Mon Feb 21 22:08:40 on ttys000
tomgoetz@MacBook-Pro-von-Tom ~ % brew services list
Name Status User File
httpd error 256 root ~/Library/LaunchAgents/homebrew.mxcl.httpd.plist
mysql started tomgoetz ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
[email protected] started tomgoetz ~/Library/LaunchAgents/[email protected]
tomgoetz@MacBook-Pro-von-Tom ~ % httpd -t
Syntax OK
tomgoetz@MacBook-Pro-von-Tom ~ % /usr/local/opt/httpd/bin/httpd -D FOREGROUND
(48)Address already in use: AH00072: make_sock: could not bind to address [::]:8080
(48)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:8080
no listening sockets available, shutting down
AH00015: Unable to open logs
tomgoetz@MacBook-Pro-von-Tom ~ %

Listed documents .zip

MacTeX cask shows empty dependencies

The MacTeX cask shows an empty dependencies section:

Screenshot_2020-01-24 12 02 49

However, the code shows that it depends on ghostscript:

depends_on formula: 'ghostscript'
depends_on macos: '>= :sierra'

Migrate to homebrew-core for Linux

We've now migrated Linux formulae from linuxbrew-core to homebrew-core. Unfortunately, this breaks a non-trivial number of assumptions in this codebase.

Things that need to be updated (in a rough order, combining/jumping steps is fine):

  • 1. the remote used for generating/describing/linking Linux formulae needs to be homebrew-core rather than linuxbrew-core
  • 2. the Linux formulae should share a formula page with macOS formulae and the Linux bottle used to detect Linux support
  • 3. the Linux/macOS dependencies (and perhaps: caveats, anything else?) should be separated when they differ between OSs (but still displayed on the same page)
    • this requires updating the formula API to differentiate between macOS and Linux dependencies, conflicting formulae, keg_only / deprecated / disabled status, and (possibly) caveat text
  • 4. the Linux analytics URLs should reference "homebrew-core" not "linuxbrew-core"
  • 5. use the Jekyll redirect_from plugin to ensure that we don't break any links that used to work (e.g. migrate API JSON, formula/analytics/index pages)

Things that don't need updating:

  • analytics data: macOS and Linux are still (for now) using separate analytics data

CC @EricFromCanada @Rylan12 @issyl0 for folks who have done Linux work here previously and may be interested in volunteering ❀️

Incorrect formula for oracle-jdk

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

Trying to download and install Oracle-jdk - https://formulae.brew.sh/cask/oracle-jdk#default

What happened (include screenshots)

Error -

➜  ~ brew install --cask oracle-jdk
Error: Cask 'oracle-jdk' is unavailable: No Cask with this name exists.

Screen Shot 2020-12-02 at 7 13 22 PM

What you expected to happen

Expected oracle-jdk to be installed

Platform - MacBook Pro running macOS Catalina 10.15.7

Add support for bottles

Homebrew’s ”bottle” mechanism allows to install binary packages of a formula without compiling.

This should be reflected on the formula’s detail page.

(Imported from #23 CC @koraktor)

Rake task for linux is skipped when running build

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

I am trying to ensure both mac and linux rake tasks are run prior to build, to ensure all the data is generated successfully.

What happened (include screenshots)

When running rake build, it runs the rake task for generating mac formulae/analytics successfully, and then it runs the cask task. However, when it runs the linux task (linux_formula_and_analytics), the formulae and analytics are skipped because rake considers the tasks already run.

image

Note that script/generate.rb did not run for linux, despite the linux_formula_and_analytics task being a pre-req for build.

(And yes, the tasks here have an extra argument, the tap, which is from PR #266. But that is the only change to my rakefile.)

What you expected to happen

Personally, I expected build to run all three main tasks (formulae+analytics for mac, formulae+analytics for linux, and the cask task). However, it's possible that the build task is intentionally leveraging rake's behavior to only run either mac or linux tasks, and not both. But if that's the intention, it wasn't clear to me. (It's such a subtle rake 'gotcha' that I wouldn't be surprised if this is unexpected or intentional.)

If it is actually expected that both mac and linux tasks run for build, then I'd be happy to open a PR to make the linux task reenable both the formulae and analytics tasks prior to invoking them.

Formulae search broken

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

Searching for formulas and casks

What happened (include screenshots)

The exact match does not show in the drop-down list; only other matches show up, e.g.
image
image
image
image

What you expected to happen

formula/cask with exact name match shows at the top of the list.

Search Page

https://formulae.brew.sh has a JS search box for searching formula names, but not a dedicated page. This prevents users from linking directly to a search.

I encountered this trying to update DuckDuckGo's !bang for Homebrew (!brew). It's currently linking to:

http://brewformulas.org/search?search%5Bterm%5D={{{s}}}

This URL is no longer owned by Homebrew and there's no suitable replacement.

I suggest either having https://formulae.brew.sh?search=foo automatically populate the search box or having a dedicated search page https://formulae.brew.sh/search?q=foo

Add Casks

We should consider including Homebrew Casks into formulae.brew.sh. This would require generating an equivalent of brew info --json=v1 for Casks on a Linux machine.

(Imported from #117 CC @adidalal)

Setup for internal taps

I'm curious on how to set this project up on an internal tap I have within a Github Enterprise.

I've looked at:

So I have a general idea of how the site is generated via jekyll and deployed. But I'd love to see if there's a guide somewhere.

I'd also like to learn more about:

  • How to set this up using Github pages
  • Considerations on how to deploy on other CI. (I don't know if TravisCI is allowed at my company.)
  • How to set up analytics
    • looks like google analytics, but a lot of the details on it seem opaque

Add support for versioned formulae

Versioned formulae should be listed as a subsection of the main formula’s page. Overview and search should only list main formulae (with the exception of searches with explicit @s).

(Imported from #23 CC @koraktor)

Java Heap space: out of memory

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

MacOS:
installed openjdk@11, Compiled Audiveris opensource, and running either ./gradlew run or java -cp "Audiveris-5.3-alpha/lib/*" Audiveris

What happened (include screenshots)

Imported a pdf and eventually get the foolwing:
Exception: java.lang.OutOfMemoryError: Java heap space
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space

What you expected to happen

Completed output xml file

  1. How do i view the default heap size? i tried java -verbose:gc -version but did not see default setting for heap.
  2. where do I increase (ie., on the command line or property file) java heap using -Xms and Xmx options?

Links to versioned formulae are broken

It seems Jekyll is unable to resolve the data for versioned formulae:

{%- assign dep = site.data.formulae[dependency_name] -%}

fails for e.g. python@2. Probably because of the @. Does this get slugified in data indices?.

`strip` from binutils broken

[grazfather@mbp:~]$ gcc -o hello hello.c
[grazfather@mbp:~]$ ./hello
Hello, world
[grazfather@mbp:~]$ ls -l `which strip`
lrwxr-xr-x 33 grazfather 24 Oct 20:20 /usr/local/bin/strip -> ../Cellar/binutils/2.32/bin/strip
[grazfather@mbp:~]$ strip hello
[grazfather@mbp:~]$ ./hello
dyld: malformed mach-o image: missing LC_DYSYMTAB
Abort trap: 6
[grazfather@mbp:~]$ brew info binutils
binutils: stable 2.33.1 (bottled) [keg-only]
GNU binary tools for native development
https://www.gnu.org/software/binutils/binutils.html
/usr/local/Cellar/binutils/2.32 (134 files, 167.5MB) *
  Poured from bottle on 2019-10-24 at 20:20:50
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/binutils.rb
==> Caveats
binutils is keg-only, which means it was not symlinked into /usr/local,
because because Apple provides the same tools and binutils is poorly supported on macOS.

==> Analytics
install: 5,539 (30 days), 13,074 (90 days), 54,875 (365 days)
install-on-request: 4,767 (30 days), 11,559 (90 days), 46,150 (365 days)
build-error: 0 (30 days)

`/api/cask/${CASK_NAME}.json` is returning all zeros for the install count

Not sure if this is an issue with this code or some peculiarity that's just affecting the production site.

Anyway, you can see formulae.brew.sh is returning all zeros for the install stats of a particular cask:

> curl -s https://formulae.brew.sh/api/cask/dropbox.json | jq '.analytics'
{
  "install": {
    "30d": {
      "dropbox": 0
    },
    "90d": {
      "dropbox": 0
    },
    "365d": {
      "dropbox": 0
    }
  }

Whereas /api/analytics/cask-install/30d.json is returning the real stats

> curl -s  https://formulae.brew.sh/api/analytics/cask-install/30d.json  | jq '.items[] | select(.cask == "dropbox")'
{
  "number": 50,
  "cask": "dropbox",
  "count": "2,596",
  "percent": "0.36"
}

Deno 1.6.0_1 bottle 404 Not Found

What you were trying to do (and why)

routine brew update

What happened (include screenshots)

it tried to update from deno 1.5.3 to 1.6.0_1, and the 1.6.0_1 bottle URL 404s, so it had to build from source

==> Upgrading deno 1.5.3 -> 1.6.0_1 
==> Downloading https://homebrew.bintray.com/bottles/deno-1.6.0_1.big_sur.bottle.tar.gz
#=#=-#  #                                                                     
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "deno"
Download failed: https://homebrew.bintray.com/bottles/deno-1.6.0_1.big_sur.bottle.tar.gz
Warning: Bottle installation failed: building from source.

trying all these urls in the browser, they all 404

"files": {
"big_sur": {
"url": "https://homebrew.bintray.com/bottles/deno-1.6.0_1.big_sur.bottle.tar.gz",
"sha256": "f57ffbf236768e798bda681cf9d6809752fb53763469c37164ab7e5bf71d98ef"
},
"catalina": {
"url": "https://homebrew.bintray.com/bottles/deno-1.6.0_1.catalina.bottle.tar.gz",
"sha256": "6a100d4b0384eae1eec6bb8bd52587b99633d13a07ad8811759216aef45366db"
},
"mojave": {
"url": "https://homebrew.bintray.com/bottles/deno-1.6.0_1.mojave.bottle.tar.gz",
"sha256": "1bb8ada642868d8741e44316c3b7d69b6a2bd1741d4653d5b19f6c6749e5c07e"
}

whereas the urls from the previous commit do not 404

"files": {
"big_sur": {
"url": "https://homebrew.bintray.com/bottles/deno-1.6.0.big_sur.bottle.tar.gz",
"sha256": "f57ffbf236768e798bda681cf9d6809752fb53763469c37164ab7e5bf71d98ef"
},
"catalina": {
"url": "https://homebrew.bintray.com/bottles/deno-1.6.0.catalina.bottle.tar.gz",
"sha256": "6a100d4b0384eae1eec6bb8bd52587b99633d13a07ad8811759216aef45366db"
},
"mojave": {
"url": "https://homebrew.bintray.com/bottles/deno-1.6.0.mojave.bottle.tar.gz",
"sha256": "1bb8ada642868d8741e44316c3b7d69b6a2bd1741d4653d5b19f6c6749e5c07e"
}

What you expected to happen

it to use the prebuilt binary, as I am on an intel macbook

Display Apple Silicon support (or lack of support) in a clearer way

Several users have suggested that, with the Apple Silicon transition under way, it would be good to indicate more clearly the support for that new platform on our formula pages.

Right now, going at https://formulae.brew.sh/formula/llvm you need to know to look for arm64_big_sur in the bottles. Most people wouldn't know that, and the information is somewhat hidden for them.

We could instead have:

stable βœ… 11.0.0
Apple Silicon βœ… supported
head ⚑️ HEAD
bottle 🍾 big_sur, arm64_big_sur, catalina, mojave

Or some other way to display this status in a clearer way.

openshift-cli 4.6.0 installs oc version v4.2.0-alpha.0-657-g51011e4

When I install the openshift-cli formula using Homebrew, currently v4.6.0 (which is also the latest version of OpenShift), the oc CLI that gets installed says its version is v4.2.0. It looks like the formula is installing the wrong version of the CLI. My laptop is running macOS Catalina 10.15.7. Others on my team have reproduced this problem on their machines. I can reproduce it very reliably (as shown below), it happens every time I uninstall and reinstall.

Is the openshift-cli formula incorrectly installing an old version of the CLI? If I'm doing something wrong, please let me know how use the formula correctly. Thank you for your help.

Here's what I'm doing to install the openshift-cli formula and check the version of the oc CLI that's installed:

$ brew install openshift-cli
==> Downloading https://homebrew.bintray.com/bottles/openshift-cli-4.6.0.catalina.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/94c8c7573dd37d9fc9107e5ac2f5476913c567bd164522e6216f235ad43975fe?response-content-disposition=attachment%3Bfilename%3D%22openshift-cli-4.6.
######################################################################## 100.0%
==> Pouring openshift-cli-4.6.0.catalina.bottle.tar.gz
==> Caveats
zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/openshift-cli/4.6.0: 5 files, 75.4MB
$ /usr/local/Cellar/openshift-cli/4.6.0/bin/oc version
Client Version: v4.2.0-alpha.0-657-g51011e4
Server Version: 4.5.24
Kubernetes Version: v1.18.3+fa69cae

For comparison, I've downloaded the oc CLI for OCP 4.5 and 4.6. They show a more expected version:

$ ./oc-4.5/oc version
Client Version: openshift-clients-4.5.0-202006231303.p0-18-g6082e941e
Server Version: 4.5.24
Kubernetes Version: v1.18.3+fa69cae
$ ./oc-4.6/oc version
Client Version: 4.6.9
Server Version: 4.5.24
Kubernetes Version: v1.18.3+fa69cae

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

I'm trying to install the oc CLI by running brew install openshift-cli

What happened (include screenshots)

As shown above, it installs successfully. But the oc version is not 4.6.x, it says it's 4.2.0. This seems like a very old version, not the current version.

What you expected to happen

I expected the oc executable to be version 4.6.x. For example, a/the version for 4.5.x is openshift-clients-4.5.0-202006231303.p0-18-g6082e941e and for 4.6.x is 4.6.9 (as shown above).

Search does not find openjdk with "jdk"

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • [ x] your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

Search for "jdk" shows "openjdk@11"

What happened (include screenshots)

It only shows "oracle jdk" and some others

What you expected to happen

It also shows "openjdk" (which it does if one enters the full string "openjdk")

Add JavaScript-based search

https://yarnpkg.com/en/ is a package manager for node that uses Algolia for search. I think it would be great to replicate that experience for homebrew users. Go ahead and try out the search to see what I'm talking about. You just type and results against all of the packages on npm are delivered instantly with no noticeable lag.

Algolia is free for open source, for what it's worth.

This may require a different approach now this is using Jekyll/GitHub Pages.

(Imported from #23 CC @knpwrs @iam4x @pixelastic)

Focus search box when press `/`

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

Move cursor using keyboard to search box

What happened (include screenshots)

image

I should keep press tab until I find "Search Homebrew Formulae" input box.

What you expected to happen

image

Move focus to search box when press '/' or something just like Google. It's really useful.

I tried to fix this myself but I don't understand how this website's search box has been made and where to put some js file.

node 6.16.0 problems with toLocaleString

can i have ability to install node version 6.12.*? latest node 6.16.0 behaves strange, seems it doesn't have Intl inside, its just empty object, and my Jest tests fails because of this. can anyone suggest solution or workaround?

main problem is that (3500).toLocaleString() does nothing, it returns 3500 instead of 3,500 and Intl is just empty object

Autofocus the search bar

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

Visit https://formulae.brew.sh/ and start typing!

What happened (include screenshots)

Have to press tab twice, or click on the search field.

What you expected to happen

The search field is focused when the page loads.

It seems that this field is not constructed directly by the website code:
https://github.com/Homebrew/brew.sh/blob/72d238313b84962ba21c7afe344decb5daf3eec1/_layouts/base.html#L135-L140

One option would be to add this just before the end of loadSearch():

document.querySelector("#search-bar").autofocus = true;

However, I can't quite tell if that works. An alternative would be:

document.querySelector("#search-bar").focus();

Feature request for the site - show new, popular or just random formulae

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

I am looking at packages at your website. Discovering. I discovered there is JEnv. Discovering new packages can lead to a lot of saved time.

What happened (include screenshots)

Nothing happened.

What you expected to happen

I think it would be great if there was a "feeling lucky" type of a thing where it would show new, popular or just random formulae. It would help people discover great tools and try out new things.

Search: Can't find python

I'm trying to figure out what Homebrew packages there are for Python. In particular, I'm looking for Python header files in order to build a Boost::Python module.

However, the search doesn't appear to be useful. If I type in "python" and hit Enter, depending on where my mouse is I'm either taken to python-markdown or to another site on the page.

Additionally, the only python listed is python@2, however I can edit the URL to remove the @2 and go directly to https://formulae.brew.sh/formula/python#default so I know that package exists.

image

Where is the linuxbrew toggle?

Need it to see bottle info from linuxbrew.bintray.com instead of homebrew.bintray.com #45 .
And formulae from Homebrew/linuxbrew-core instead of Homebrew/homebrew-core .

Help someone is having my gmail account and wifi using my hacked email through gethup

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

What happened (include screenshots)

What you expected to happen

Way to see 'newest' formulas?

I used to use freshmeat to tell what the 'newest' software was. It used to be that I could 'query' brew for the newest formulas. How can this be done via api? Would be nice for a 'here are the newest formulas that have been added to brew'.

Spacing issue with Copy button

  • your issue is with the https://formulae.brew.sh website and not the (generated) contents of a given formula/cask page.

What you were trying to do (and why)

Install a formula

What happened (include screenshots)

image

What you expected to happen

No spacing around the install command.

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.