rainestorme 0c97d52309 Fix uname errors 1 year ago
..
Makefile 816041fae4 Add tools to make pre-built binary files 7 years ago
README.md 379be92bfb Update tools/README.md 7 years ago
balto_upload.sh 8f3a75193d Add binary repo tools (#5623) 3 years ago
build.sh 0c97d52309 Fix uname errors 1 year ago
check.rb de24923ee8 Add Rubocop CI (#7083) 2 years ago
check_updates.sh c5d5802fe0 Update version checks in check_updates.sh (#7816) 2 years ago
chkfrog.sh 951925aeb8 Trim trailing whitespace in most files (#4946) 4 years ago
compare_packages.sh acbca0fd55 Fix compare_packages.sh: line 14: [: too many arguments (#5875) 3 years ago
core_packages.txt d5e4e7cc95 Curl => 8.0.1 (#8094) 1 year ago
create_package.sh 22d5adfae1 Move tools from top directory to tools directory and add upload to bintray tools. 7 years ago
create_sha_list.sh 22d5adfae1 Move tools from top directory to tools directory and add upload to bintray tools. 7 years ago
create_url_list.sh 22d5adfae1 Move tools from top directory to tools directory and add upload to bintray tools. 7 years ago
download_binary.sh df801b93f5 Update binary_url to github in all packages (#5675) 3 years ago
generate_binaries.sh 0c97d52309 Fix uname errors 1 year ago
genpkgname.sh 0c97d52309 Fix uname errors 1 year ago
getrealdeps.sh f2726a8bbb export LC_ALL in getrealdeps (#8029) 1 year ago
gh.sh df801b93f5 Update binary_url to github in all packages (#5675) 3 years ago
gl.sh e54254c456 gl.sh: Add progress bar to uploads. (#7215) 2 years ago
heroku.sh 5bca8449d1 Removed 'export' and 'unset' 6 years ago
licenses.txt 1bc928f5b2 Correct grammar and spelling errors (#5651) 3 years ago
needs_binaries.sh 0c97d52309 Fix uname errors 1 year ago
packages.yaml 54d5237513 Add rapidjson package (#8192) 1 year ago
sf.sh 8f3a75193d Add binary repo tools (#5623) 3 years ago
upfrog.sh 951925aeb8 Trim trailing whitespace in most files (#4946) 4 years ago
upload_github_release.sh 0e532bef6d Update homepage URL in packages from skycocker/chromebrew to chromebrew/chromebrew (#7146) 2 years ago

README.md

list of all tools

Tools to build pre-build binary easy.

  • Makefile
  • build.sh
  • genpkgname.sh

Tools to upload and update URL in package files.

  • chkfrog.sh
  • upfrog.sh
  • upload_github_release.sh

Tools to check URL or SHA stuff from packages files.

  • create_sha_list.sh
  • create_url_list.sh

Obsolete tools to create package. Now, we use crew build.

  • create_package.sh

Usage of Makefile

Make working directory on your Chromebook and copy files there. Then, performs make there.

$ mkdir /usr/local/work
$ cd /usr/local/work
$ cp your-path-for-original-tool-directory/{Makefile,build.sh,genpkgname.sh} .
$ make -k

Usage of upfrog.sh

First, compile jfrog CLI from https://www.jfrog.com/getcli/. Then, set it up. After that, copy compiled pre-built binary to release/$ARCH.

$ ./tools/upfrog.sh pango-1.40.9
[Info] Verifying repository chromebrew exists...
[Info] Verifying package pango exists...
[Info] Verifying version 1.40.9 exists...
[Info] Creating version...
[Info] Created version 1.40.9.
[Info] Collecting files for upload:. Done.
[Info] [Thread 2] Uploading artifact: release/x86_64/pango-1.40.9-chromeos-x86_64.tar.xz
[Info] [Thread 0] Uploading artifact: release/armv7l/pango-1.40.9-chromeos-armv7l.tar.xz
[Info] [Thread 1] Uploading artifact: release/i686/pango-1.40.9-chromeos-i686.tar.xz
[Info] Uploaded 3 artifacts.
[Info] Publishing version...
[Info] Published version 1.40.9, details:
{
  "files": 3
}

Usage of chkfrog.sh

Copy compiled pre-built binary's SHA256 files to release/$ARCH.

$ ./tools/chkfrog.sh pango
pango 1.40.9
https://dl.bintray.com/chromebrew/chromebrew/pango-1.40.9-chromeos-x86_64.tar.xz : c90a74dcba01ac1731aca5879b5b54dc9e1c49c3f61ec5f2861384db2bafa4eb
https://dl.bintray.com/chromebrew/chromebrew/pango-1.40.9-chromeos-i686.tar.xz : c24290af6d40c9fe1b9797942941e5a181533574188678b8f1f6f6a9ea319ba4
https://dl.bintray.com/chromebrew/chromebrew/pango-1.40.9-chromeos-armv7l.tar.xz : 60fb01a75558724abfbd879cef6877fca2ca17d802abeca7c487bb9d8b75a08c