brewkit
brewkit copied to clipboard
build infra & `$ pkg build`
Since docker requires docker desktop on Apple (and Windows), and we have podman packaged for darwin, we should make this change if feasible.
Moved over from Pantry repo
See `facebook.com/folly`: ```sh tea $ rg double-conv ~/.tea/facebook.com/folly/v2023/lib/cmake/folly /root/.tea/facebook.com/folly/v2023/lib/cmake/folly/folly-targets.cmake 70: INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/../../../boost.org/v1.82.0/include;${_IMPORT_PREFIX}/../../../google.com/double-conversion/v3.3.0/include;${_IMPORT_PREFIX}/../../../gflags.github.io/v2.2.2/include;${_IMPORT_PREFIX}/../../../google.com/glog/v0.6.0/include;${_IMPORT_PREFIX}/../../../libevent.org/v2.1.12/include;${_IMPORT_PREFIX}/../../../zlib.net/v1.2.13/include;${_IMPORT_PREFIX}/../../../openssl.org/v1.1.1t/include;${_IMPORT_PREFIX}/../../../sourceware.org/bzip2/v1.0.8/include;${_IMPORT_PREFIX}/../../../lz4.org/v1.9.4/include;${_IMPORT_PREFIX}/../../../facebook.com/zstd/v1.5.5/include;${_IMPORT_PREFIX}/../../../google.github.io/snappy/v1.1.10/include;${_IMPORT_PREFIX}/include" 71: INTERFACE_LINK_LIBRARIES "fmt::fmt;Threads::Threads;Boost::context;Boost::filesystem;Boost::program_options;Boost::regex;Boost::system;Boost::thread;${_IMPORT_PREFIX}/../../../google.com/double-conversion/v3.3.0/lib/libdouble-conversion.so;gflags_shared;${_IMPORT_PREFIX}/../../../google.com/glog/v0.6.0/lib/libglog.so;${_IMPORT_PREFIX}/../../../libevent.org/v2.1.12/lib/libevent.so;${_IMPORT_PREFIX}/../../../zlib.net/v1.2.13/lib/libz.so;${_IMPORT_PREFIX}/../../../openssl.org/v1.1.1t/lib/libssl.so;${_IMPORT_PREFIX}/../../../openssl.org/v1.1.1t/lib/libcrypto.so;${_IMPORT_PREFIX}/../../../sourceware.org/bzip2/v1.0.8/lib/libbz2.so;${_IMPORT_PREFIX}/../../../lz4.org/v1.9.4/lib/liblz4.so;${_IMPORT_PREFIX}/../../../facebook.com/zstd/v1.5.5/lib/libzstd.so;${_IMPORT_PREFIX}/../../../google.github.io/snappy/v1.1.10/lib/libsnappy.so;dl;atomic;stdc++fs" ``` Our fixup.ts should do the same thing fix-machos/fix-elf do in terms of locating our...
Satisfies a very weird problem set. @ABevier is packaging `podman.io`, which has oddly strict requirements for where to find things: ```sh Error: unable to start host networking: "could not find...
- run `pkg inv ${pkg}` - run `gum confirm 'Would you like to open an issue to build ${pkg}${versionspec}?' && gh create issue -R teaxyz/pantry -t "${pkg}${versionspec}" -b "Please build...
@mxcl something looks broken in handling the versions, see last part of semver  source code to reproduce: https://github.com/teaxyz/pantry.extra/pull/463/commits/6d4cd3fa65fd02a98de90a39764e9c45cd67fcb9
(Moved over from Pantry repo) when building we install the latest versions of deps when testing install different versions that still satisfy the constraints. That would have caught issues like...
### Motivation According to the [comments on the getVersion method](https://github.com/teaxyz/cli/blob/e36d296ebe93890d8bbdf3f8e2f231e854c9b65c/src/hooks/useGitHubAPI.ts#L34): > GitHub tags API returns in reverse alphabetical order so we have to use their graphql endpoint, [which] sadly requires...