Mike McQuaid e3a1a9dccf
Improve locking UX
My experience recently playing around with our locking behaviour is
that, while mostly seamless and not seen by users, it's leaks
implementation details a bit too heavily.

As a result, the following improvements are in this commit:
- Ensure that, whenever possible, we tell the user the actual command
  that is holding a given lock instead of the lock name (an internal
  implementation detail)
- Make the locking error output a little more consistent and user
  friendly
- Add a `DownloadLock` class to simplify locking downloads
- Add a `HOMEBREW_LOCK_CONTEXT` variable to allow adding additional
  context for logging error messages
- Lock paths and leave deciding how this translates to lock names up
  to the locking code itself
- Lock the Cellar/Caskroom paths explicitly rather than implicitly

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-07-30 17:51:02 +01:00
..
2024-07-02 20:44:51 -04:00
2024-05-01 11:35:21 +02:00
2024-03-31 21:46:25 +02:00
2024-06-13 09:55:31 +01:00
2024-06-13 09:55:31 +01:00
2021-12-02 22:58:31 -05:00
2024-06-13 12:31:47 +01:00
2024-06-14 12:22:02 +01:00
2019-01-08 19:13:46 +00:00
2017-01-04 10:53:21 +00:00
2024-05-17 12:38:16 +09:00
2024-06-12 19:17:17 +01:00
2024-05-19 14:01:29 +02:00
2024-06-13 09:55:31 +01:00
2024-05-01 11:35:21 +02:00
2024-05-13 14:09:44 -04:00
2024-07-30 17:51:02 +01:00
2024-06-13 09:55:31 +01:00
2017-07-02 15:09:26 +01:00
2024-05-01 11:35:21 +02:00

Homebrew Docs

These are the source files for the Homebrew documentation site.

A GitHub Action is run to validate each change before the site is deployed to GitHub Pages.

Usage

Open https://docs.brew.sh in your web browser.

To instead generate the site locally to http://localhost:4000, run:

cd `brew --repository`/docs
bundle install
bundle exec jekyll serve --watch