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
dependencies:
libgit2.org: ^1
libgit2.org: ~1.7 # links to libgit2.so.1.7
build:
dependencies:

View file

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

View file

@ -12,7 +12,7 @@ companions:
python.org: '*'
dependencies:
libgit2.org: ^1.7
libgit2.org: ~1.7 # links to libgit2.so.1.7
build:
dependencies:
@ -43,21 +43,21 @@ test:
return "<p>Hello, World!</p>"
extname: .py
run:
- |
if which flask; then
false
fi
- |
uv venv
source .venv/bin/activate
uv pip install flask
- |
mv $FIXTURE app.py
set -m
flask run &
PID=$!
# otherwise the server may not be ready
- sleep 4
- 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
- kill $PID
- |
if which flask; then
false
fi
- |
uv venv
source .venv/bin/activate
uv pip install flask
- |
mv $FIXTURE app.py
set -m
flask run &
PID=$!
# otherwise the server may not be ready
- sleep 4
- 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
- kill $PID

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -6,7 +6,7 @@ versions:
github: lu-zero/cargo-c
dependencies:
libgit2.org: '*'
libgit2.org: ~1.7 # links to libgit2.so.1.7
libssh2.org: '*'
openssl.org: ^1.1
zlib.net: '*'
@ -21,7 +21,7 @@ build:
LIBGIT2_SYS_USE_PKG_CONFIG: 1
LIBSSH2_SYS_USE_PKG_CONFIG: 1
OPENSSL_NO_VENDOR: 1
OPENSSL_DIR: "{{deps.openssl.org.prefix}}"
OPENSSL_DIR: '{{deps.openssl.org.prefix}}'
ARGS:
- --root {{prefix}}
- --locked
@ -33,4 +33,4 @@ provides:
- bin/cargo-cinstall
- 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
cmake.org: '*'
git-scm.org: '*'
libgit2.org: '*'
libgit2.org: ~1.7 # links to libgit2.so.1.7
openssl.org: '*'
freedesktop.org/pkg-config: '*'
python.org: ^3

View file

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

View file

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

View file

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

View file

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

View file

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