brew tap alan-turing-institute/hut23
brew install alan-turing-institute/hut23/meet
This 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 30
Find a time for aturing@turing.ac.uk
and jdoe@turing.ac.uk
to meet on Christmas Day for half an hour.
meet-rooms -s 2024-12-25
List 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
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.)git tag -a v0.x.y.z
then git push --tags
meet.rb
in the homebrew-hut23
repository to include both the new version and the SHA: https://github.com/alan-turing-institute/homebrew-hut23/blob/main/meet.rbbrew update; brew uninstall meet; brew install meet --build-bottle; brew bottle meet --no-rebuild
meet--0.x.y.z
with meet-0.x.y.z
(remove the extra hyphen)meet
for the new versionbottle do
block of the meet.rb
file, replace the sha256 cellar
... lines with what Homebrew output. Update the version number in the root_url...
line.sha256 cellar
line and replace arm64_ventura
with arm64_monterey
so 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.brew update; brew uninstall meet; brew install meet
. (Using brew reinstall meet
for some reason makes Homebrew attempt to reinstall from source, possibly because the existing installation is from source.)