-
-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
help wantedWe want help addressing thisWe want help addressing this
Description
Currently update-database.yml
is run on a schedule which automatically commits changes to executables.txt
.
Instead, we should move this logic into https://github.com/Homebrew/formulae.brew.sh and consider using the path_exec_files
from the bottle manifest rather than needing to download the bottles for this.
Edits from @Rylan12:
Steps:
- Start pushing
executables.txt
to GitHub Packages - Serve
executables.txt
on formulae.brew.sh - Modify
brew which-formula
to download from formulae.brew.sh instead of the local file- Download
executables.txt
from theformulae.brew.sh
API #273 - Download new versions of
executables.txt
withbrew update
if a user has runbrew which-formula
before - Use
brew which-formula --skip-update
in the shell integration - Refactor
Homebrew::API::fetch_json_api_file
to be able to be used inbrew which-formula
, maybe use astale_file
helper as proposed in Downloadexecutables.txt
from theformulae.brew.sh
API #273 (comment)
- Download
- Stop auto-committing and remove
executables.txt
from this repository - Remove
brew which-update
and all automated jobs in this repo - Migrate
brew which-formula
toHomebrew/brew
- Convert
executables.txt
to a JSON file - Keep track of executables during bottle creation, and store in OCI manifest file
- Update
executables.txt
in formulae.brew.sh by downloading the OCI manifest files and pulling the executable list from there
EricFromCanada
Metadata
Metadata
Assignees
Labels
help wantedWe want help addressing thisWe want help addressing this