Giter Club home page Giter Club logo

brew.sh's Introduction

brew.sh

The webpage uses Jekyll. The template for the index is at _layouts/index.html.

Translations

GitHub Pull Request

If you want to add a new translation, follow these steps:

  1. Copy index_fr.html to index_{langcode}.html and update its lang and permalink values.
  2. Copy _data/locales/en.yml to _data/locales/{langcode}.yml and update its initial language code.
  3. Change the values of the English strings to the new, translated language strings.

You can see the translated webpage by running bundle install and bundler exec jekyll serve, after executing it open http://localhost:4000/ and switch to your language.

brew.sh's People

Contributors

65hz avatar asantarissy avatar avivrosenberg avatar bo98 avatar brewtestbot avatar carlocab avatar colindean avatar denpatin avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar ericfromcanada avatar jacknagel avatar joeygroves avatar jonchang avatar kbdharun avatar mikemcquaid avatar mxcl avatar octopus1348 avatar p-linnane avatar reitermarkus avatar remi avatar rylan12 avatar sadikkuzu avatar samford avatar sidharthv96 avatar sjackman avatar smillerdev avatar xu-cheng 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

brew.sh's Issues

Display available packages with download statistics and discovery

Currently, it is difficult when new Formula have been released, or to know what are popular (and thus likely to be useful). If simple download statistics were collected (are they already?), the website could show most popular, trending, and newest more like atom or grunt or bower. The github page allows you to search, but since we exceeded 1000, you can't even browse them all.

redcarpet vulnerability

The risk is very minimal to Homebrew's site, but there's a vulnerability disclosed in Redcarpet and labelled OSVDB-120415.

Once Github-Pages and Jeykll have new releases up, we should probably bump.

Discussion upstream at Jeykll is here: jekyll/jekyll#3652.
Discussion upstream at Github is here: github/pages-gem#128

Side-note: The latest Github pages requires Ruby >2.0.0.

zsh: command not found: brew

image

I installed homebrew on macOS with this command and it shows that brew not found.

Please, add additional steps to installation guide on homepage.

There is "NEXT STEPS shown on command line, it should show something like this

==> Next steps:

  • Add Homebrew to your PATH in /Users/$USER/.zprofile:
    echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile
    eval $(/opt/homebrew/bin/brew shellenv)

" (https://stackoverflow.com/questions/36657321/after-installing-homebrew-i-get-zsh-command-not-found-brew).

The problem is that users don't read command line. I clear my command line after installation immediately

Acknowledge /opt/homebrew for macOS on ARM

how: Homebrew installs packages to their own directory and then symlinks their files into <code>/usr/local</code> (on macOS Intel).
only includes the Intel path. I think it'd be a good idea to do one or more of:

  1. include /opt/homebrew in there for macOS ARM
  2. remove the Intel path from there and call it "the Homebrew installation prefix"
  3. put the paths in a table behind a <details> or something, consider including Linuxbrew default path, too

Hard this is that this may require updating many translations files. I can probably handle a handful of them or any that are obvious, but I'd prefer to go the table route because that could eliminate the need for a localized string to be added.

Search opens a flashing modal

  1. open https://formulae.brew.sh/
  2. Click the search bar, type search terms
  3. The results open in a modal.
  4. The modal flashes 3 times, 1 as it loads without results, 2 as a long list appears, 3 as some results disappear.
  5. The modal also flashes as users key up or down the list.
Screen.Recording.2023-08-13.at.6.11.27.PM.mov

Screen recording in Firefox in Troubleshoot Mode.

SSL Support and short install script URL.

Yes, this has been brought up multiple times. (e.g. Homebrew/legacy-homebrew#33491). Recently, I do find an easy solution. Sort of?

Heroku supports SSL custom domain and offers Github integration. If we host https://brew.sh in that platform, we will have the same experience as Github Page and a custom server.

Using Jekyll and Sinatra to write a small server should be a piece of cake. (I can do this) The only problem would be money. We need to purchase a SSL certificate and I wonder whether Herkuo's free quotas will satisfy our need. (Unless someone can ask for free discount or find other similar free platform. )

Translations for Serbian

Hello,
this isn't actually a bug report, but a question. I'm hoping there won't be any problem. :)

I just found that https://brew.sh is having translations in Serbian language.
Current translation is on Cyrillic, but Serbian language is having Cyrillic and Latin script.

How I can create translations on Serbian Latin as well?

Thank you for your understanding!

Best regards,
Zoran

Dependabot can't resolve your Ruby dependency files

Dependabot can't resolve your Ruby dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "jekyll-paginate":
  In Gemfile:
    github-pages was resolved to 193, which depends on
      jekyll-paginate (= 1.1.0)

Could not find gem 'jekyll-paginate (= 1.1.0)', which is required by gem 'github-pages', in any of the sources.

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

Font mess

Kind of preface

I just decided to open an issue concerning the mess with fonts but it already exists (#41). Though my remarks are a bit different so I open a new issue report.

Issues core

The issues touch only the titles. There are three cases of representing them:

  • Latin script without diacritics (English, (in our case) French, German, etc.) — that's all OK.
  • Latin script with diacritics (Polish, Turkish, Spanish, and especially Vietnamese), some cyrillic-script languages (Ukrainian), and neither-latin-nor-cyrillic-script languages (Hebrew, Arabic, etc.) — here, the standard latin letters are in the ChunkFiveRegular font, and the rest ones, which are with diacritics, are of serif family. It looks very awful:
    polish-bug
    turkce-bug
    spanish-bug
    vietnamese-bug
    ukrainian-bug
    japanese-bug
  • Some cyrillic-script languages (Russian) and, for some reason, Azerbaijani language — here, helvetica is used. It totally differs from the ChunkFiveRegular font. No consistency!
    russian-bug
    azeri-bug

Summarizing

For some reason (I haven't yet looked through the HTML/CSS code), different fonts are used.

Generally speaking, my suggestion is the only:

  1. Replace the ChunkFiveRegular font with some really unicode font so that each character looks identically.

Installation instructions no longer valid on latest macOS

What you were trying to do (and why)

Install brew according to instructions on brew.sh

What happened (include command output)

On macOS Catalina, /usr/local requires sudo. I believe this has been the case since High Sierra, so the installation instructions are no longer valid.

What you expected to happen

Installation happens without sudo (according to the docs)

Step-by-step reproduction instructions

  1. cd ~/usr/local
  2. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Set up brew.sh locally

I just tried to set up brew.sh on localhost by following the instructions on the README file of this project.

Unfortunately, I got a few errors even though I followed the instructions:

[websnke@fedora Downloads]$ git clone https://github.com/Homebrew/brew.sh.git
Cloning into 'brew.sh'...
remote: Enumerating objects: 6224, done.
remote: Counting objects: 100% (358/358), done.
remote: Compressing objects: 100% (215/215), done.
remote: Total 6224 (delta 130), reused 321 (delta 119), pack-reused 5866
Receiving objects: 100% (6224/6224), 8.34 MiB | 7.08 MiB/s, done.
Resolving deltas: 100% (3593/3593), done.
[websnke@fedora Downloads]$ history -c
[websnke@fedora Downloads]$ ls
brew.sh
[websnke@fedora Downloads]$ cd brew.sh
[websnke@fedora brew.sh]$ ls
analytics        index_az.html  index_fi.html  index_ku.html     index_sr.html     _posts
analytics-linux  index_be.html  index_fr.html  index_lb.html     index_sv.html     Rakefile
assets           index_bg.html  index_gl.html  index_nb.html     index_th.html     README.md
blog             index_ca.html  index_he.html  index_nl.html     index_tr.html     robots.txt
CNAME            index_cs.html  index_hi.html  index_nn.html     index_uk.html     _sass
_config.yml      index_da.html  index.html     index_pl.html     index_vi.html     security.txt
_data            index_de.html  index_id.html  index_pt-br.html  index_zh-cn.html
Gemfile          index_el.html  index_it.html  index_pt.html     index_zh-tw.html
_includes        index_es.html  index_ja.html  index_ro.html     _layouts
index_ar.html    index_fa.html  index_ko.html  index_ru.html     LICENSE.txt
[websnke@fedora brew.sh]$ jekyll serve
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/resolver.rb:290:in `raise_not_found!': Could not find gem 'github-pages' in locally installed gems. (Bundler::GemNotFound)
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/resolver.rb:343:in `block in prepare_dependencies'
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/resolver.rb:328:in `each'
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/resolver.rb:328:in `map'
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/resolver.rb:328:in `prepare_dependencies'
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/resolver.rb:53:in `setup_solver'
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/resolver.rb:28:in `start'
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/definition.rb:554:in `start_resolution'
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/definition.rb:289:in `resolve'
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/definition.rb:507:in `materialize'
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/definition.rb:197:in `specs'
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/definition.rb:254:in `specs_for'
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/runtime.rb:18:in `setup'
	from /home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler.rb:171:in `setup'
	from /usr/share/gems/gems/jekyll-4.3.2/lib/jekyll/plugin_manager.rb:52:in `require_from_bundler'
	from /usr/share/gems/gems/jekyll-4.3.2/exe/jekyll:11:in `<top (required)>'
	from /home/websnke/bin/jekyll:25:in `load'
	from /home/websnke/bin/jekyll:25:in `<main>'
[websnke@fedora brew.sh]$ bundle install
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Fetching rake 13.0.6

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/rake-13.0.6.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/rake-13.0.6.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/rake-13.0.6.gem`. It is likely that you need to grant write permissions for that path.

Fetching Ascii85 1.1.0
Using minitest 5.18.0
Fetching afm 0.2.2
Using concurrent-ruby 1.2.2
Using public_suffix 4.0.7
Fetching fiber-local 1.0.0
Fetching io-event 1.1.7

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/Ascii85-1.1.0.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/afm-0.2.2.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/fiber-local-1.0.0.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/Ascii85-1.1.0.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/io-event-1.1.7.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/afm-0.2.2.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/fiber-local-1.0.0.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/Ascii85-1.1.0.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/io-event-1.1.7.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/afm-0.2.2.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/fiber-local-1.0.0.gem`. It is likely that you need to grant write permissions for that path.

Fetching timers 4.3.5

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/io-event-1.1.7.gem`. It is likely that you need to grant write permissions for that path.


Using bundler 2.4.12
Fetching coffee-script-source 1.11.1
Fetching execjs 2.8.1

Using colorator 1.1.0
Fetching commonmarker 0.23.9

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/timers-4.3.5.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/execjs-2.8.1.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/timers-4.3.5.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/coffee-script-source-1.11.1.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/timers-4.3.5.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/execjs-2.8.1.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/coffee-script-source-1.11.1.gem`. It is likely that you need to grant write permissions for that path.

Fetching unf_ext 0.0.8.2

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/commonmarker-0.23.9.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/execjs-2.8.1.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/coffee-script-source-1.11.1.gem`. It is likely that you need to grant write permissions for that path.


Using eventmachine 1.2.7
Using ffi 1.15.5
Using faraday-net_http 3.0.2
Using ruby2_keywords 0.0.5
Using forwardable-extended 2.6.0
Using gemoji 3.0.1
Using rb-fsevent 0.11.2
Using rexml 3.2.5
Using liquid 4.0.4
Using mercenary 0.3.6

Using rouge 3.26.0
Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/commonmarker-0.23.9.gem`. It is likely that you need to grant write permissions for that path.
Using safe_yaml 1.0.5
Fetching racc 1.6.2

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/commonmarker-0.23.9.gem`. It is likely that you need to grant write permissions for that path.
Installing http_parser.rb 0.8.0 with native extensions
Using jekyll-paginate 1.1.0
Using rubyzip 2.3.2
Using jekyll-swiss 1.0.0
Using unicode-display_width 1.8.0
Fetching hashery 2.1.2

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/unf_ext-0.0.8.2.gem`. It is likely that you need to grant write permissions for that path.

Fetching ruby-rc4 0.1.5


Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/racc-1.6.2.gem`. It is likely that you need to grant write permissions for that path.
Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/unf_ext-0.0.8.2.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/hashery-2.1.2.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/ruby-rc4-0.1.5.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/racc-1.6.2.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/hashery-2.1.2.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/ruby-rc4-0.1.5.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/unf_ext-0.0.8.2.gem`. It is likely that you need to grant write permissions for that path.


Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/racc-1.6.2.gem`. It is likely that you need to grant write permissions for that path.
Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/hashery-2.1.2.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/ruby-rc4-0.1.5.gem`. It is likely that you need to grant write permissions for that path.

Fetching ttfunk 1.7.0



Using rainbow 3.1.1
Using zeitwerk 2.6.8
Using yell 2.2.2

Retrying download gem from https://rubygems.org/ due to error (2/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/ttfunk-1.7.0.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (3/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/ttfunk-1.7.0.gem`. It is likely that you need to grant write permissions for that path.

Retrying download gem from https://rubygems.org/ due to error (4/4): Bundler::PermissionError There was an error while trying to write to `/usr/share/gems/cache/ttfunk-1.7.0.gem`. It is likely that you need to grant write permissions for that path.

Bundler::PermissionError: There was an error while trying
to write to `/usr/share/gems/cache/rake-13.0.6.gem`. It is
likely that you need to grant write permissions for that
path.
 
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/shared_helpers.rb:105:in
`rescue in filesystem_access'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/shared_helpers.rb:102:in
`filesystem_access'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/rubygems_integration.rb:483:in
`block in download_gem'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/retry.rb:40:in
`run'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/retry.rb:30:in
`attempt'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/rubygems_integration.rb:474:in
`download_gem'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/source/rubygems.rb:481:in
`download_gem'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/source/rubygems.rb:443:in
`fetch_gem'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/source/rubygems.rb:427:in
`fetch_gem_if_possible'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/source/rubygems.rb:156:in
`install'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/installer/gem_installer.rb:54:in
`install'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/installer/parallel_installer.rb:156:in
`do_install'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/installer/parallel_installer.rb:84:in
`call'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/installer/parallel_installer.rb:67:in
`call'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/installer.rb:244:in
`install_in_parallel'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/installer.rb:201:in
`install'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/installer.rb:89:in
`block in run'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/process_lock.rb:19:in
`rescue in lock'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/process_lock.rb:15:in
`lock'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/installer.rb:71:in
`run'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/installer.rb:23:in
`install'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/cli/install.rb:62:in
`run'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/cli.rb:261:in
`block in install'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/settings.rb:131:in
`temporary'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/cli.rb:260:in
`install'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/vendor/thor/lib/thor/command.rb:27:in
`run'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
`invoke_command'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/vendor/thor/lib/thor.rb:392:in
`dispatch'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/cli.rb:34:in
`dispatch'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/vendor/thor/lib/thor/base.rb:485:in
`start'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/cli.rb:28:in
`start'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/exe/bundle:45:in
`block in <top (required)>'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/lib/bundler/friendly_errors.rb:117:in
`with_friendly_errors'
/home/websnke/.local/share/gem/ruby/gems/bundler-2.4.12/exe/bundle:33:in
`<top (required)>'
  /home/websnke/bin/bundle:25:in `load'
  /home/websnke/bin/bundle:25:in `<main>'

An error occurred while installing rake (13.0.6),
and Bundler cannot continue.

In Gemfile:
  rake

I think that the instructions are missing a few steps and it would be great if the README could be more descriptive.

Error: Unknown command: formula-analytics

How to run this command myself?

$ brew formula-analytics --days-ago=365 --json --build-error
Error: Unknown command: formula-analytics

The real thing I'm looking for is getting export of more than 1000 items.

You have already activated i18n 1.8.11, but your Gemfile requires i18n 0.9.5. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)

/Users/chengli.zou/.gem/ruby/3.0.0/gems/bundler-2.3.4/lib/bundler/runtime.rb:309:in check_for_activated_spec!': You have already activated i18n 1.8.11, but your Gemfile requires i18n 0.9.5. Prepending bundle execto your command may solve this. (Gem::LoadError) from /Users/chengli.zou/.gem/ruby/3.0.0/gems/bundler-2.3.4/lib/bundler/runtime.rb:25:inblock in setup'
from /Users/chengli.zou/.gem/ruby/3.0.0/gems/bundler-2.3.4/lib/bundler/spec_set.rb:136:in each' from /Users/chengli.zou/.gem/ruby/3.0.0/gems/bundler-2.3.4/lib/bundler/spec_set.rb:136:in each'
from /Users/chengli.zou/.gem/ruby/3.0.0/gems/bundler-2.3.4/lib/bundler/runtime.rb:24:in map' from /Users/chengli.zou/.gem/ruby/3.0.0/gems/bundler-2.3.4/lib/bundler/runtime.rb:24:in setup'
from /Users/chengli.zou/.gem/ruby/3.0.0/gems/bundler-2.3.4/lib/bundler.rb:151:in setup' from /Users/chengli.zou/.gem/ruby/3.0.0/gems/jekyll-4.2.1/lib/jekyll/plugin_manager.rb:52:in require_from_bundler'
from /Users/chengli.zou/.gem/ruby/3.0.0/gems/jekyll-4.2.1/exe/jekyll:11:in <top (required)>' from /Users/chengli.zou/.gem/ruby/3.0.0/bin/jekyll:25:in load'
from /Users/chengli.zou/.gem/ruby/3.0.0/bin/jekyll:25:in `

'

Links on 'blog page, to individual posts, are not visually apparent

On https://brew.sh/blog/ there are a series of post titles and abstracts, where the post titles link to the full text of each 'blog post.

However, there are no visual affordances that the posts' titles are actually links to the full posts, or that there is any more of the post to read than the initial paragraph. An example of this is the post announcing v1.0.0 - it contains quite a bit of detail about the release, but it's not clear that all that information is there, because the heading of the post is not visually styled like a link, and there's no ~"read the full v1.0.0 article" link below the first paragraph.

Just having a "read more" link below each article's abstract would not be good for accessibility, because people using assistive technologies to browse the web often navigate through the links in a page (e.g. using Tab, or via a list of all links on the page) and in that case they'd just be presented with a series of identical "read more" links, rather than "read more about the v1.0.0 release" and so-on. It is possible to include extra text in links to give such users the context of the link, without having it appear visually, as per Example 1 in the Web Content Accessibility Guidelines (WCAG) Technique for hiding some link text with CSS.

If you would like to address this, then a good simple approach would be to include such "read more about X" links (with sufficient context for users of assistive technologies, as above) rather than having the headers for each post as links, as doing so overloads their purpose (generally, heading elements are for navigation within the current page; links are for navigation to other pages). However, if the heading links are to be kept, styling them in the same way as the other links on the site would be appropriate, so at least users know they're links.

A further, related issue [if you like I can file this separately] is that the contrast between link text and the page background is only 4.3:1, whereas 4.5:1 is recommended by WCAG as a minimum, and the contrast between body (non-link) text and link text is only 2.3:1, whereas at least 3:1 is a good minimum (and 4.5:1 is preferable if possible). One solution to this would be to lighten the link text a bit to get it to 4.5:1 and also have links visually underlined, so that even people who can't distinguish them from the body text by colour will still be able to tell they're links, due to the underline.

Incorrect zsh completions instructions

Instructions under Configuring Completions in zsh correctly prompt users to load zsh/site-functions path into FPATH and calling compinit at ~/.zshrc.
image

However, for Oh My Zsh users, since completions are automatically initialized by OMZ (when sourcing oh-my-zsh.sh), users are INSTEAD instructed to update FPATH at ~/.zprofile as to make completions available before compinit is called.
image

This won't work on non-login shells, as $ZDOTDIR/.zprofile is only sourced for login shells by default: Zsh Startup/Shutdown Files

Commands are then read from $ZDOTDIR/.zshenv. If the shell is a login shell, commands are read from /etc/zprofile and then $ZDOTDIR/.zprofile. Then, if the shell is interactive, commands are read from /etc/zshrc and then $ZDOTDIR/.zshrc.

For completions to work for non-login interactive Zshells FPATH should be updated at $ZDOTDIR/.zshrc, before OMZ is initialized (source $ZSH/oh-my-zsh.sh). Instructions should be corrected to reflect this. Install script Next steps instructions should also be corrected.

Guidance notes and script require update

The release notes for 2.6.0 explain the following regarding /opt dir.

Screenshot 2021-03-22 at 16 10 45

The script on your homepage installs to /usr/local and the guidance there is still discussing /usr/local as the dir of choice.

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

Preloading HSTS for `brew.sh`

Given that brew.sh is a user-facing site, I think it would be great to send an HSTS header to preload the site (and all subdomains) for HTTPS enforcement in browsers: https://hstspreload.org/?domain=brew.sh

Assuming all subdomains are already using HTTPS, brew.sh can send a header of Strict-Transport-Security: max-age=63072000; includeSubDomains; preload to enable preloading (at which point it can be submitted to the link above).

Since brew.sh is hosted via GitHub Pages, HSTS support is available — but at the moment it would need to be enabled by GitHub staff. We can arrange that internally.

Copy Homebrew command

Create a button next to the homebrew install command to automatically copy the command to the clipboard.

Grammar error in German search box

The search window on this page on the German page looks like this:

image

"Suchen Homebrew" is grammatically incorrect though.
I therefore suggest removing "Homebrew" in that string, therefore in base.html.

I would love to be assigned this issue and resolve it.

Index layout

Is it possible to reorder this part as (Donation first, and Footer last)?

brew.sh/_layouts/index.html

Lines 206 to 219 in d2e7e89

<li>
<div class="group row credits">
<p>{{ t.pagecontent.foot.code }} {{ t.pagecontent.foot.page }}<br>{{ t.pagecontent.foot.translation }}</p>
</div>
</li>
<li>
<div class="group row">
<h2 id="homebrew-donate">{{ t.pagecontent.doc.donate }}</h2>
<div class="button">
<p><a href="https://github.com/homebrew/brew#donations">Homebrew/brew#donations</a></p>
</div>
</div>
</li>

image

Implement CSP, says Moz Observatory

Quoth Mozilla Observatory, which gives brew.sh a D rating as of d60d598:

Test Pass Score Reason Info
Content Security Policy -25 Content Security Policy (CSP) header not implemented  Content Security Policy (CSP) can prevent a wide range of cross-site scripting (XSS) and clickjacking attacks against your website.

Docs on CSP: https://infosec.mozilla.org/guidelines/web_security#content-security-policy

Looks like we might be able to achieve this with the simple addition of this to the first child node of head:

<meta http-equiv="Content-Security-Policy" content="default-src https:">

This may take some finagling to ensure it's set right.

We cannot set the HTTP Headers since we're using GitHub Pages.

The search field doesn't work Spanish

The following pictures explain it. First one, in Spanish, second one in English. This behaviour is consistent. It happens with most searches I've performed.

Captura de Pantalla 2022-10-10 a las 16 19 45

Captura de Pantalla 2022-10-10 a las 16 19 58

Better homebrew-cask landing page

If you search "homebrew cask", the ad-laden caskroom.io shows up as the top result. (NB for those who are unaware: caskroom.io is now controlled by an unaffiliated third-party.)

Two observations/questions:

  • Is there something that can be done to take that site down? They don't do anything super malicious but that doesn't mean it will stay that way. For example, is there anything we can claim based on the fact that they are misrepresenting themselves as the official project website?

  • Obviously one of the reasons why the site is ranked first is because it used to be the official site, but I think another reason why Google keeps it there is because it provides utility that brew.sh does not. For example, people who only want to use (and not contribute casks to) homebrew cask who land on brew.sh might have a hard time figuring out exactly what the tool is about.

I know it's easy to say "we can't do anything about this" and just close this issue. I'd like to request this issue remain open for a bit (ideally until the site is no longer the number 1 search result) to indicate that it is an issue that people will continue to run into -- perhaps someone will come along who has a solution to this, in which case this issue could be a centralized place to talk about it.

Suggestion: Clarify homepage, brew.sh

On the homepage, this text:

  Homebrew installs the stuff you need that Apple didn’t. $ brew install wget

appears to some non-unix-technical people who must use brew to mean brew install wget to install brew. I just got done helping someone through with that. This could be fixed by making the design of the page show that this is an example, not how to install Homebrew.

Note: Moved here per Homebrew/legacy-homebrew#29627

brew.sh does not use https

current behavior:
brew.sh does provide a link to download a script to install homebrew. It is not possible to connect to brew.sh using https, so the connection is not authenticated. This exposes anyone installing homebrew using the provided command to MITM attacks.

desirable behavior:
brew.sh is only accessible by https, making it possible to trust the given command to install homebrew.

Let brew.sh website support `curl https://brew.sh | sh` paradigm

We can detect curl's UA and respond install script, or use a path or subdomain to respond install script. We have already a fairly short domain, why should users waste their time typing the GitHub content URL (or visiting the website and copying the command)?

homebrew.sh is serving ads and possibly phishing pages

I accidentally typed homebrew.sh in my browser address bar instead of brew.sh and found out you don't own that domain. It is currently serving ads and phishing pages (fake "your computer is infected" kind of messages).

# whois.nic.sh

Domain Name: HOMEBREW.SH
Registry Domain ID: D503300000040323248-LRMS
Registrar WHOIS Server: whois.dynadot.com
Registrar URL: http://www.dynadot.com
Updated Date: 2020-12-07T17:13:33Z
Creation Date: 2016-12-27T16:43:27Z
Registry Expiry Date: 2021-12-27T16:43:27Z
Registrar Registration Expiration Date:
Registrar: Dynadot, LLC
Registrar IANA ID: 472
Registrar Abuse Contact Email: [email protected]
Registrar Abuse Contact Phone: +1.6502620100
Reseller:
Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
Registrant Organization:
Registrant State/Province: California
Registrant Country: US
Name Server: NS1.MILESMX.COM
Name Server: NS2.MILESMX.COM
DNSSEC: unsigned

>>> Last update of WHOIS database: 2021-01-06T18:10:45Z <<<

# whois.dynadot.com

No match for domain 'homebrew.sh'.

The WHOIS page from dynadot gives the same results.

IPv6 Connectivity

On IPv6-only networks it is impossible to access brew.sh due to lack of IPv6 address.

dig brew.sh @1.1.1.1 AAAA +short # returns nothing

Would it be possible to provide IPv6 connectivity for brew?

(If not opposed to using it for any reason, cloudflare is a good quick-fix)

Symlink Location is Platform-Dependent

On the brew homepage, the text states:

how: Homebrew installs packages to their own directory and then symlinks their files into <code>/usr/local</code>.

However, per the man page, the prefix for the location where symlinks are created is platform dependent (i.e. not always /usr/local):

--prefix [--unbrewed] [--installed] [formula ...]
       Display Homebrew´s install path. Default:

       •   macOS Intel: /usr/local

       •   macOS ARM: /opt/homebrew

       •   Linux: /home/linuxbrew/.linuxbrew

This behavior is confirmed when installing on an M1 Mac.

Document how you spend donations and whether donations are tax-deductible

I am happy to support Homebrew. I think your "Contribute" link on the brew.sh homepage would be more effective, and more helpful, if it contained the following information:

  • Where does the money go? To a person, who distributes it? To a 501(c)(3)? To the maintainers according to some formula?
  • What would you be able to do with more funds?
  • Are donations tax deductible in the US? My guess is they are not. But it would be helpful to know for sure.

Link to the one-time donation option

The only link on the brew.sh website goes to Patreon, but it looks like Homebrew can also accept one-time donations through the Software Freedom Conservancy website.

That option might be more useful for people who want to do a one time gift and aren't looking for a one time subscription but it's not linked anywhere, I just found it when I was looking for Git donations.

Where are `brew` ENV vars explained in the docs?

Mini rant

(skip to problem below if you want)

I was just reading this HN thread and I'm having similar issues like the op. In my opinion (and it seems like I'm not the only one), Homebrew updates too much without asking for confirmation.

This in turn breaks things even though it's done in a good faith. And it's sooo complicated to install the previously working combination of packages. You "have to" install the latest package update. This is great for the end user, for someone who wants to install and use some app, like from the App Store. But there are plenty of Homebrew users who are power users aka developers and they might want to install specific software versions. For one: because those software versions used to work together just fine. Two, it's always good to have a stable system.

Problem

I saw in that HN thread people mentioning some ENV vars that I can set in my shell. I went to Homebrew homepage, but I couldn't find any mention of those. Even if they are on the page, maybe they should be more visible?

Thanks for all your hard work!
Viktor

EDIT: Found it under "Manpage", which is also the first link on the docs page.

This is where I went before deciding to open this issue:

  1. https://brew.sh/
  2. https://docs.brew.sh/
  3. Tips and Tricks

Google Analytics

Remove Google Analytics

If you must have an analytics system, might I suggest either:

Plausible: https://plausible.io (offers a 50% discount for FOSS projects)
Goatcounter: https://goatcounter.com
Matomo: https://matomo.org
Fathom: https://usefathom.org

These solutions are all well-tested and open-source. This, of course, means they
can be independently audited for privacy and security. Instead of using a proprietary
nonfree system such as Google Analytics, perhaps we could work together to replace
it with something slightly more ethical?

Furthermore, the majority of privacy features in evergreen browsers block Google
Analytics from being run. I can not say the same for solutions such as Plausible,
which suggests they are trusted for their privacy by independent persons.

If you need any more information, please contact me!

Use ChunkFive Ex font

With permission of Meredith Mandel, the original author of the ASCII-Font Chunk Five, I have extended Chunk Five Ex to a full featured unicode font with all figures used in latin and cyrillic writing. All latin and cyrillic extensions as well as a lot of letterlike symbols will make this to one of the most complete fonts I offer here.

http://www.dafont.com/chunkfive-ex.font

This should make international font support a lot better.

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.