prevent libgit2.org 1.8 from breaking absolutely everything

This commit is contained in:
Jacob Heider 2024-03-20 17:43:47 -04:00
parent 950c7f02b7
commit 881b3059e2
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6
21 changed files with 48 additions and 53 deletions

View file

@ -8,7 +8,7 @@ versions:
github: AmrDeveloper/GQL github: AmrDeveloper/GQL
dependencies: dependencies:
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:

View file

@ -8,7 +8,7 @@ provides:
dependencies: dependencies:
openssl.org: ^1.1 openssl.org: ^1.1
zlib.net: ^1 zlib.net: ^1
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
versions: versions:
github: apollographql/rover github: apollographql/rover
@ -22,8 +22,7 @@ build:
linux: linux:
gnu.org/make: '*' gnu.org/make: '*'
perl.org: ^5 # openssl mod perl.org: ^5 # openssl mod
script: script: cargo install --locked --path . --root {{prefix}}
cargo install --locked --path . --root {{prefix}}
test: test:
script: script:

View file

@ -12,7 +12,7 @@ companions:
python.org: '*' python.org: '*'
dependencies: dependencies:
libgit2.org: ^1.7 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:
@ -43,21 +43,21 @@ test:
return "<p>Hello, World!</p>" return "<p>Hello, World!</p>"
extname: .py extname: .py
run: run:
- | - |
if which flask; then if which flask; then
false false
fi fi
- | - |
uv venv uv venv
source .venv/bin/activate source .venv/bin/activate
uv pip install flask uv pip install flask
- | - |
mv $FIXTURE app.py mv $FIXTURE app.py
set -m set -m
flask run & flask run &
PID=$! PID=$!
# otherwise the server may not be ready # otherwise the server may not be ready
- sleep 4 - sleep 4
- test "$(curl 127.0.0.1:5000)" = "<p>Hello, World!</p>" - test "$(curl 127.0.0.1:5000)" = "<p>Hello, World!</p>"
# TODO need to install a signal handler or our build servers could be left with a running flask process # TODO need to install a signal handler or our build servers could be left with a running flask process
- kill $PID - kill $PID

View file

@ -10,7 +10,7 @@ versions:
strip: /v/ strip: /v/
dependencies: dependencies:
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:

View file

@ -11,14 +11,13 @@ versions:
dependencies: dependencies:
zlib.net: ^1 zlib.net: ^1
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:
rust-lang.org: '>=1.60' rust-lang.org: '>=1.60'
rust-lang.org/cargo: '*' rust-lang.org/cargo: '*'
script: script: cargo install --locked --path . --root {{prefix}}
cargo install --locked --path . --root {{prefix}}
test: test:
script: | script: |

View file

@ -7,7 +7,7 @@ versions:
strip: /^v/ strip: /^v/
dependencies: dependencies:
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:

View file

@ -10,14 +10,13 @@ versions:
strip: /v/ strip: /v/
dependencies: dependencies:
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:
rust-lang.org: '>=1.65' rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*' rust-lang.org/cargo: '*'
script: script: cargo install --locked --path . --root {{prefix}}
cargo install --locked --path . --root {{prefix}}
test: test:
script: script:

View file

@ -10,7 +10,7 @@ versions:
strip: /v/ strip: /v/
dependencies: dependencies:
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:

View file

@ -9,7 +9,7 @@ versions:
github: dandavison/delta/tags github: dandavison/delta/tags
dependencies: dependencies:
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
darwin: darwin:
zlib.net: ^1 zlib.net: ^1

View file

@ -10,14 +10,13 @@ versions:
strip: /v/ strip: /v/
dependencies: dependencies:
libgit2.org: ^1.7 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:
rust-lang.org: '>=1.65' rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*' rust-lang.org/cargo: '*'
script: script: cargo install --locked --path . --root {{prefix}}
cargo install --locked --path . --root {{prefix}}
test: test:
script: script:

View file

@ -10,7 +10,7 @@ dependencies:
openssl.org: ^1.1 openssl.org: ^1.1
zlib.net: ^1 zlib.net: ^1
git-scm.org: ^2 git-scm.org: ^2
libgit2.org: ~1.7 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:

View file

@ -13,7 +13,7 @@ dependencies:
perl.org: '*' perl.org: '*'
openssl.org: ^1.1 openssl.org: ^1.1
zlib.net: ^1 zlib.net: ^1
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:

View file

@ -10,12 +10,12 @@ versions:
- 2023.12.22 - 2023.12.22
dependencies: dependencies:
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:
rust-lang.org: ">=1.65" rust-lang.org: '>=1.65'
rust-lang.org/cargo: "*" rust-lang.org/cargo: '*'
script: cargo install --locked --path . --root {{prefix}} script: cargo install --locked --path . --root {{prefix}}
test: test:

View file

@ -10,15 +10,14 @@ versions:
strip: /v/ strip: /v/
dependencies: dependencies:
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
working-directory: git-cliff working-directory: git-cliff
dependencies: dependencies:
rust-lang.org: '>=1.65' rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*' rust-lang.org/cargo: '*'
script: script: cargo install --locked --path . --root {{prefix}}
cargo install --locked --path . --root {{prefix}}
test: test:
script: script:

View file

@ -6,7 +6,7 @@ versions:
github: lu-zero/cargo-c github: lu-zero/cargo-c
dependencies: dependencies:
libgit2.org: '*' libgit2.org: ~1.7 # links to libgit2.so.1.7
libssh2.org: '*' libssh2.org: '*'
openssl.org: ^1.1 openssl.org: ^1.1
zlib.net: '*' zlib.net: '*'
@ -21,7 +21,7 @@ build:
LIBGIT2_SYS_USE_PKG_CONFIG: 1 LIBGIT2_SYS_USE_PKG_CONFIG: 1
LIBSSH2_SYS_USE_PKG_CONFIG: 1 LIBSSH2_SYS_USE_PKG_CONFIG: 1
OPENSSL_NO_VENDOR: 1 OPENSSL_NO_VENDOR: 1
OPENSSL_DIR: "{{deps.openssl.org.prefix}}" OPENSSL_DIR: '{{deps.openssl.org.prefix}}'
ARGS: ARGS:
- --root {{prefix}} - --root {{prefix}}
- --locked - --locked
@ -33,4 +33,4 @@ provides:
- bin/cargo-cinstall - bin/cargo-cinstall
- bin/cargo-ctest - bin/cargo-ctest
test: cargo-capi --version | grep {{version}} test: cargo-capi --version | grep {{version}}

View file

@ -14,7 +14,7 @@ build:
go.dev: ^1.19 go.dev: ^1.19
cmake.org: '*' cmake.org: '*'
git-scm.org: '*' git-scm.org: '*'
libgit2.org: '*' libgit2.org: ~1.7 # links to libgit2.so.1.7
openssl.org: '*' openssl.org: '*'
freedesktop.org/pkg-config: '*' freedesktop.org/pkg-config: '*'
python.org: ^3 python.org: ^3

View file

@ -10,7 +10,7 @@ versions:
strip: /v/ strip: /v/
dependencies: dependencies:
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:

View file

@ -7,7 +7,7 @@ versions:
dependencies: dependencies:
openssl.org: ^1.1 openssl.org: ^1.1
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:

View file

@ -18,7 +18,7 @@ companions:
dependencies: dependencies:
zlib.net: ^1 zlib.net: ^1
libgit2.org: ^1 libgit2.org: ~1.7 # links to libgit2.so.1.7
curl.se/ca-certs: '*' curl.se/ca-certs: '*'
linux: linux:
llvm.org: '*' # FIXME only need the linker actually llvm.org: '*' # FIXME only need the linker actually

View file

@ -6,7 +6,7 @@ versions:
github: getsentry/sentry-cli github: getsentry/sentry-cli
dependencies: dependencies:
libgit2.org: ^1.7 libgit2.org: ~1.7 # links to libgit2.so.1.7
build: build:
dependencies: dependencies:

View file

@ -22,7 +22,7 @@ dependencies:
gnu.org/binutils: '*' gnu.org/binutils: '*'
gnupg.org: ^2 gnupg.org: ^2
gnome.org/libxml2: '*' gnome.org/libxml2: '*'
libgit2.org: '*' libgit2.org: ~1.7 # links to libgit2.so.1.7
curl.se: '*' curl.se: '*'
sqlite.org: ^3 sqlite.org: ^3