brew tap alan-turing-institute/hut23
brew install alan-turing-institute/hut23/meetThis package provides two executables: meet and meet-rooms.
The former is used to find a meeting time for a group of people (and associated meeting rooms), whereas the latter just shows room availabilility.
You can use the -h flag to get help on how to use each of these executables and view the complete options, but basic usage looks something like:
-
meet aturing jdoe -s 2024-12-25 -d 30Find a time for
aturing@turing.ac.ukandjdoe@turing.ac.ukto meet on Christmas Day for half an hour. -
meet-rooms -s 2024-12-25List meeting room availability on Christmas Day.
Install ghcup, then use it to install GHC 9.4 and Cabal 3.8.
(Other GHC/Cabal version combinations that are known to work are 9.6/3.8 and 9.8/3.10.
You can also check the version combinations we test in GitHub Actions.)
Then run:
git clone git@github.com:alan-turing-institute/meet.git
cd meet
cabal update
cabal build
If it builds successfully, you can then run e.g.
cabal run meet -- aturing jdoe -s 2024-12-25 -d 30
or
cabal run meet-rooms -- -s 2024-12-25
- Increment version number in
meet.cabal. Commit to the main branch. (There isn't a hard and fast rule for whether to bump the major/minor/patch versions, use your judgment as to whether something is breaking.) - Run
git tag -a v0.x.y.zthengit push --tags - Get the full commit SHA corresponding to the tag. Then edit line 4 of the
meet.rbin thehomebrew-hut23repository to include both the new version and the SHA: https://github.com/alan-turing-institute/homebrew-hut23/blob/main/meet.rb - Build the bottle with
brew update; brew uninstall meet; brew install meet --build-bottle; brew bottle meet --no-rebuild - Edit the name of the bottle file, replace
meet--0.x.y.zwithmeet-0.x.y.z(remove the extra hyphen) - Create a new GitHub release on
meetfor the new version - Upload the renamed bottle file as a binary associated with the release
- Inside the
bottle doblock of themeet.rbfile, replace thesha256 cellar... lines with what Homebrew output. Update the version number in theroot_url...line. - You can duplicate the
sha256 cellarline and replacearm64_venturawitharm64_montereyso that people with macOS Monterey can also use it (the binary will work for them). If you do this, you will need to copy the bottle file, rename it to...monterey...and upload it to the release as well. - Test that it works with
brew update; brew uninstall meet; brew install meet. (Usingbrew reinstall meetfor some reason makes Homebrew attempt to reinstall from source, possibly because the existing installation is from source.)
