Refactor of binary generation (#12218)

* Refactor crew upload to break out binary hash generation.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Suggested changes

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update rubygems on ruby install

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* formatting

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust rubygems...

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update rubygems from ruby postinstall.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
chromebrew-actions[bot]
2025-07-18 14:46:18 -05:00
committed by GitHub
parent 61b0df9252
commit 2a1afc3bc7
9 changed files with 292 additions and 118 deletions

View File

@@ -77,28 +77,29 @@ crew <command> <package1> [<package2> ...]
Where available commands are:
| Command | Description |
|:------------:|:------------|
| build | build package(s) from source and store the archive and checksum in the current working directory |
| check | check packages(s) |
| const | display constant(s) |
| deps | display dependencies of package(s) |
| download | download package(s) to CREW_BREW_DIR (/usr/local/tmp/crew by default), but don't install |
| files | display installed files of package(s) |
| help | get information about command usage |
| install | install package(s) along with dependencies after prompting for confirmation |
| list | available, compatible, incompatible, essential, installed packages |
| postinstall | display postinstall messages of package(s) |
| prop | display all package boolean properties |
| reinstall | remove and install package(s) |
| remove | remove package(s) |
| search | look for package(s) |
| sysinfo | show system information in markdown style |
| update | update crew itself |
| upgrade | update all or specific package(s) |
| upload | upload binaries for all or specific package(s) |
| upstream | check if an upstream version is available for package(s) |
| whatprovides | regex search for package(s) that contains file(s) |
| Command | Description |
|:-------------------:|:------------|
| build | build package(s) from source and store the archive and checksum in the current working directory |
| check | check packages(s) |
| const | display constant(s) |
| deps | display dependencies of package(s) |
| download | download package(s) to CREW_BREW_DIR (/usr/local/tmp/crew by default), but don't install |
| files | display installed files of package(s) |
| help | get information about command usage |
| install | install package(s) along with dependencies after prompting for confirmation |
| list | available, compatible, incompatible, essential, installed packages |
| postinstall | display postinstall messages of package(s) |
| prop | display all package boolean properties |
| reinstall | remove and install package(s) |
| remove | remove package(s) |
| search | look for package(s) |
| sysinfo | show system information in markdown style |
| update_package_file | update package file binary hashes |
| update | update crew itself |
| upgrade | update all or specific package(s) |
| upload | upload binaries for all or specific package(s) |
| upstream | check if an upstream version is available for package(s) |
| whatprovides | regex search for package(s) that contains file(s) |
Available packages are listed in the [packages directory](https://github.com/chromebrew/chromebrew/tree/master/packages).