XR packaging for Fedora Atomic
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert auto-writing bottles

Signed-off-by: @matrixfurry.com <did:plc:zmjoeu3stwcn44647rhxa44o>

+8 -17
+1 -1
scripts/bottle.nu
··· 33 33 34 34 brew install --build-bottle --bottle-arch "x86-64-v3" ...$install_args $formula 35 35 brew bottle --root-url $"https://gitlab.com/api/v4/projects/75293878/packages/generic/($formula)/($version)" --json ...$bottle_args $formula 36 - brew bottle --merge --write --json $"($formula)--($version).x86_64_linux.bottle.json" 36 + brew bottle --merge --json $"($formula)--($version).x86_64_linux.bottle.json" 37 37 38 38 open --raw $"($formula)--($version).x86_64_linux.bottle.tar.gz" 39 39 | into binary
+1 -3
scripts/ci/bottle.sh
··· 8 8 9 9 dnf install -y git nu procps-ng gcc-c++ 10 10 11 - git config --global user.name "Containerized Bottler" 12 - git config --global user.email "ContainerizedBottler@matrixfurry.com" 13 - 14 11 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 15 12 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" 16 13 14 + brew tap matrixfurry/atomicxr $PWD 17 15 brew install nushell 18 16 exec "$(dirname $0)/../bottle.nu" "$@"
+6 -13
scripts/containerized-bottle.nu
··· 9 9 --keep-container (-r) # Don't remove the container after building 10 10 ...args 11 11 ] { 12 - let tmp = mktemp -td | path join homebrew-atomicxr 13 - cp -r $tap_dir $tmp 14 - cd $tmp 15 - git remote set-url origin https://tangled.org/@matrixfurry.com/homebrew-atomicxr 12 + if (jj status | lines | first) != "The working copy has no changes." { 13 + error make { 14 + msg: "Please commit your changes before building bottles." 15 + } 16 + } 16 17 17 18 podman run ...( 18 19 if not $keep_container {["--rm"]} 19 - ) -it -v $"($tmp):/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/matrixfurry.com/homebrew-atomicxr:z" -e $"DEPLOY_TOKEN=($env.DEPLOY_TOKEN?)" fedora:42 /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/matrixfurry.com/homebrew-atomicxr/scripts/ci/bottle.sh $formula ...$args 20 - 21 - git format-patch -1 22 - let patch = ls | get name | where $it ends-with .patch | first | path expand 23 - cd $tap_dir 24 - git am $patch 25 - jj git import 26 - 27 - rm -r ($tmp | path dirname) 20 + ) -it -v $"($tap_dir):/homebrew-tap:ro,z" -w "/homebrew-tap" -e $"DEPLOY_TOKEN=($env.DEPLOY_TOKEN?)" fedora:42 scripts/ci/bottle.sh $formula ...$args 28 21 }