mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2025-01-08 20:54:28 +03:00
Update 1.9.0-SNAPSHOT to 2.0.0 due to major breaking change.
This commit is contained in:
parent
06bf7e6ba5
commit
589c4c20c3
6
Cargo.lock
generated
6
Cargo.lock
generated
@ -497,7 +497,7 @@ checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0"
|
||||
|
||||
[[package]]
|
||||
name = "hurl"
|
||||
version = "1.9.0-SNAPSHOT"
|
||||
version = "2.0.0-SNAPSHOT"
|
||||
dependencies = [
|
||||
"atty",
|
||||
"base64",
|
||||
@ -530,7 +530,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hurl_core"
|
||||
version = "1.9.0-SNAPSHOT"
|
||||
version = "2.0.0-SNAPSHOT"
|
||||
dependencies = [
|
||||
"float-cmp",
|
||||
"regex",
|
||||
@ -539,7 +539,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hurlfmt"
|
||||
version = "1.9.0-SNAPSHOT"
|
||||
version = "2.0.0-SNAPSHOT"
|
||||
dependencies = [
|
||||
"atty",
|
||||
"base64",
|
||||
|
26
README.md
26
README.md
@ -842,12 +842,12 @@ curl(1) hurlfmt(1)
|
||||
|
||||
### Linux
|
||||
|
||||
Precompiled binary is available at [hurl-1.9.0-SNAPSHOT-x86_64-linux.tar.gz]:
|
||||
Precompiled binary is available at [hurl-1.8.0-x86_64-linux.tar.gz]:
|
||||
|
||||
```shell
|
||||
$ INSTALL_DIR=/tmp
|
||||
$ curl -sL https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl-1.9.0-SNAPSHOT-x86_64-linux.tar.gz | tar xvz -C $INSTALL_DIR
|
||||
$ export PATH=$INSTALL_DIR/hurl-1.9.0-SNAPSHOT:$PATH
|
||||
$ curl -sL https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl-1.8.0-x86_64-linux.tar.gz | tar xvz -C $INSTALL_DIR
|
||||
$ export PATH=$INSTALL_DIR/hurl-1.8.0:$PATH
|
||||
```
|
||||
|
||||
#### Debian / Ubuntu
|
||||
@ -855,8 +855,8 @@ $ export PATH=$INSTALL_DIR/hurl-1.9.0-SNAPSHOT:$PATH
|
||||
For Debian / Ubuntu, Hurl can be installed using a binary .deb file provided in each Hurl release.
|
||||
|
||||
```shell
|
||||
$ curl -LO https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl_1.9.0-SNAPSHOT_amd64.deb
|
||||
$ sudo dpkg -i hurl_1.9.0-SNAPSHOT_amd64.deb
|
||||
$ curl -LO https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl_1.8.0_amd64.deb
|
||||
$ sudo dpkg -i hurl_1.8.0_amd64.deb
|
||||
```
|
||||
|
||||
#### Arch Linux / Manjaro
|
||||
@ -869,7 +869,7 @@ $ sudo dpkg -i hurl_1.9.0-SNAPSHOT_amd64.deb
|
||||
|
||||
### macOS
|
||||
|
||||
Precompiled binary is available at [hurl-1.9.0-SNAPSHOT-x86_64-macos.tar.gz] for x86 CPUs and [hurl-1.9.0-SNAPSHOT-arm64-macos.tar.gz] for ARM CPUS.
|
||||
Precompiled binary is available at [hurl-1.8.0-x86_64-macos.tar.gz] for x86 CPUs and [hurl-1.8.0-arm64-macos.tar.gz] for ARM CPUS.
|
||||
|
||||
#### Homebrew
|
||||
|
||||
@ -888,11 +888,11 @@ $ sudo port install hurl
|
||||
|
||||
#### Zip File
|
||||
|
||||
Hurl can be installed from a standalone zip file [hurl-1.9.0-SNAPSHOT-win64.zip]. You will need to update your `PATH` variable.
|
||||
Hurl can be installed from a standalone zip file [hurl-1.8.0-win64.zip]. You will need to update your `PATH` variable.
|
||||
|
||||
#### Installer
|
||||
|
||||
An installer [hurl-1.9.0-SNAPSHOT-win64-installer.exe] is also available.
|
||||
An installer [hurl-1.8.0-win64-installer.exe] is also available.
|
||||
|
||||
#### Chocolatey
|
||||
|
||||
@ -1017,11 +1017,11 @@ Please follow the [contrib on Windows section].
|
||||
[entry]: https://hurl.dev/docs/entry.html
|
||||
[`--test` option]: https://hurl.dev/docs/manual.html#test
|
||||
[GitHub]: https://github.com/Orange-OpenSource/hurl
|
||||
[hurl-1.9.0-SNAPSHOT-win64.zip]: https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl-1.9.0-SNAPSHOT-win64.zip
|
||||
[hurl-1.9.0-SNAPSHOT-win64-installer.exe]: https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl-1.9.0-SNAPSHOT-win64-installer.exe
|
||||
[hurl-1.9.0-SNAPSHOT-x86_64-macos.tar.gz]: https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl-1.9.0-SNAPSHOT-x86_64-macos.tar.gz
|
||||
[hurl-1.9.0-SNAPSHOT-arm64-macos.tar.gz]: https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl-1.9.0-SNAPSHOT-arm64-macos.tar.gz
|
||||
[hurl-1.9.0-SNAPSHOT-x86_64-linux.tar.gz]: https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl-1.9.0-SNAPSHOT-x86_64-linux.tar.gz
|
||||
[hurl-1.8.0-win64.zip]: https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl-1.8.0-win64.zip
|
||||
[hurl-1.8.0-win64-installer.exe]: https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl-1.8.0-win64-installer.exe
|
||||
[hurl-1.8.0-x86_64-macos.tar.gz]: https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl-1.8.0-x86_64-macos.tar.gz
|
||||
[hurl-1.8.0-arm64-macos.tar.gz]: https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl-1.8.0-arm64-macos.tar.gz
|
||||
[hurl-1.8.0-x86_64-linux.tar.gz]: https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl-1.8.0-x86_64-linux.tar.gz
|
||||
[AUR]: https://wiki.archlinux.org/index.php/Arch_User_Repository
|
||||
[`hurl-bin` package]: https://aur.archlinux.org/packages/hurl-bin/
|
||||
[install]: https://www.rust-lang.org/tools/install
|
||||
|
@ -37,17 +37,15 @@ echo "hurl_core (SNAPSHOT) major=$hurl_core_snapshot_major ($hurl_core_snapshot_
|
||||
if [ "$hurl_sample_major" != "$hurl_snapshot_major" ] && [ "$hurl_core_sample_major" != "$hurl_core_snapshot_major" ];then
|
||||
echo "Major versions are different, no need to check crates compatibility"
|
||||
exit 0
|
||||
else
|
||||
echo "Major versions are equal, check crates compatibility"
|
||||
fi
|
||||
|
||||
|
||||
echo "Major versions are equal, check crates compatibility"
|
||||
|
||||
# Replace versions for our sample
|
||||
sed -i -- "s/hurl = \"[0-9.]*\"/hurl = { version = \"$hurl_snapshot_version\", path = \"..\/..\/packages\/hurl\" }/" contrib/sample/Cargo.toml
|
||||
sed -i -- "s/hurl_core = \"[0-9.]*\"/hurl_core = { version = \"$hurl_core_snapshot_version\", path = \"..\/..\/packages\/hurl_core\" }/" contrib/sample/Cargo.toml
|
||||
|
||||
cd contrib/sample || exit
|
||||
cd contrib/sample
|
||||
cargo clean
|
||||
cargo update
|
||||
cargo build
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH hurl 1 "07 Nov 2022" "hurl 1.9.0-SNAPSHOT" " Hurl Manual"
|
||||
.TH hurl 1 "07 Nov 2022" "hurl 2.0.0-SNAPSHOT" " Hurl Manual"
|
||||
.SH NAME
|
||||
|
||||
hurl - run and test HTTP requests.
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH hurl 1 "07 Nov 2022" "hurl 1.9.0-SNAPSHOT" " Hurl Manual"
|
||||
.TH hurl 1 "07 Nov 2022" "hurl 2.0.0-SNAPSHOT" " Hurl Manual"
|
||||
.SH NAME
|
||||
|
||||
hurlfmt - format Hurl files
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "hurl"
|
||||
version = "1.9.0-SNAPSHOT"
|
||||
version = "2.0.0-SNAPSHOT"
|
||||
authors = ["Fabrice Reix <fabrice.reix@orange.com>"]
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
@ -29,7 +29,7 @@ float-cmp = "0.9.0"
|
||||
glob = "0.3.0"
|
||||
hex = "0.4.3"
|
||||
hex-literal = "0.3.4"
|
||||
hurl_core = { version = "1.9.0-SNAPSHOT", path = "../hurl_core" }
|
||||
hurl_core = { version = "2.0.0-SNAPSHOT", path = "../hurl_core" }
|
||||
indexmap = "1.9.2"
|
||||
libflate = "1.2.0"
|
||||
libxml = "0.3.1"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<br/>
|
||||
|
||||
[![deploy status](https://github.com/Orange-OpenSource/hurl/workflows/CI/badge.svg)](https://github.com/Orange-OpenSource/hurl/actions)
|
||||
[![deploy status](https://github.com/Orange-OpenSource/hurl/workflows/test/badge.svg)](https://github.com/Orange-OpenSource/hurl/actions)
|
||||
[![coverage](https://Orange-OpenSource.github.io/hurl/coverage/badges/flat.svg)](https://Orange-OpenSource.github.io/hurl/coverage)
|
||||
[![Crates.io](https://img.shields.io/crates/v/hurl.svg)](https://crates.io/crates/hurl)
|
||||
[![documentation](https://img.shields.io/badge/-documentation-ff0288)](https://hurl.dev)
|
||||
@ -842,12 +842,12 @@ curl(1) hurlfmt(1)
|
||||
|
||||
### Linux
|
||||
|
||||
Precompiled binary is available at [hurl-1.9.0-SNAPSHOT-x86_64-linux.tar.gz]:
|
||||
Precompiled binary is available at [hurl-1.8.0-x86_64-linux.tar.gz]:
|
||||
|
||||
```shell
|
||||
$ INSTALL_DIR=/tmp
|
||||
$ curl -sL https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl-1.9.0-SNAPSHOT-x86_64-linux.tar.gz | tar xvz -C $INSTALL_DIR
|
||||
$ export PATH=$INSTALL_DIR/hurl-1.9.0-SNAPSHOT:$PATH
|
||||
$ curl -sL https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl-1.8.0-x86_64-linux.tar.gz | tar xvz -C $INSTALL_DIR
|
||||
$ export PATH=$INSTALL_DIR/hurl-1.8.0:$PATH
|
||||
```
|
||||
|
||||
#### Debian / Ubuntu
|
||||
@ -855,8 +855,8 @@ $ export PATH=$INSTALL_DIR/hurl-1.9.0-SNAPSHOT:$PATH
|
||||
For Debian / Ubuntu, Hurl can be installed using a binary .deb file provided in each Hurl release.
|
||||
|
||||
```shell
|
||||
$ curl -LO https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl_1.9.0-SNAPSHOT_amd64.deb
|
||||
$ sudo dpkg -i hurl_1.9.0-SNAPSHOT_amd64.deb
|
||||
$ curl -LO https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl_1.8.0_amd64.deb
|
||||
$ sudo dpkg -i hurl_1.8.0_amd64.deb
|
||||
```
|
||||
|
||||
#### Arch Linux / Manjaro
|
||||
@ -869,7 +869,7 @@ $ sudo dpkg -i hurl_1.9.0-SNAPSHOT_amd64.deb
|
||||
|
||||
### macOS
|
||||
|
||||
Precompiled binary is available at [hurl-1.9.0-SNAPSHOT-x86_64-macos.tar.gz] for x86 CPUs and [hurl-1.9.0-SNAPSHOT-arm64-macos.tar.gz] for ARM CPUS.
|
||||
Precompiled binary is available at [hurl-1.8.0-x86_64-macos.tar.gz] for x86 CPUs and [hurl-1.8.0-arm64-macos.tar.gz] for ARM CPUS.
|
||||
|
||||
#### Homebrew
|
||||
|
||||
@ -888,11 +888,11 @@ $ sudo port install hurl
|
||||
|
||||
#### Zip File
|
||||
|
||||
Hurl can be installed from a standalone zip file [hurl-1.9.0-SNAPSHOT-win64.zip]. You will need to update your `PATH` variable.
|
||||
Hurl can be installed from a standalone zip file [hurl-1.8.0-win64.zip]. You will need to update your `PATH` variable.
|
||||
|
||||
#### Installer
|
||||
|
||||
An installer [hurl-1.9.0-SNAPSHOT-win64-installer.exe] is also available.
|
||||
An installer [hurl-1.8.0-win64-installer.exe] is also available.
|
||||
|
||||
#### Chocolatey
|
||||
|
||||
@ -1017,11 +1017,11 @@ Please follow the [contrib on Windows section].
|
||||
[entry]: https://hurl.dev/docs/entry.html
|
||||
[`--test` option]: https://hurl.dev/docs/manual.html#test
|
||||
[GitHub]: https://github.com/Orange-OpenSource/hurl
|
||||
[hurl-1.9.0-SNAPSHOT-win64.zip]: https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl-1.9.0-SNAPSHOT-win64.zip
|
||||
[hurl-1.9.0-SNAPSHOT-win64-installer.exe]: https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl-1.9.0-SNAPSHOT-win64-installer.exe
|
||||
[hurl-1.9.0-SNAPSHOT-x86_64-macos.tar.gz]: https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl-1.9.0-SNAPSHOT-x86_64-macos.tar.gz
|
||||
[hurl-1.9.0-SNAPSHOT-arm64-macos.tar.gz]: https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl-1.9.0-SNAPSHOT-arm64-macos.tar.gz
|
||||
[hurl-1.9.0-SNAPSHOT-x86_64-linux.tar.gz]: https://github.com/Orange-OpenSource/hurl/releases/download/1.9.0-SNAPSHOT/hurl-1.9.0-SNAPSHOT-x86_64-linux.tar.gz
|
||||
[hurl-1.8.0-win64.zip]: https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl-1.8.0-win64.zip
|
||||
[hurl-1.8.0-win64-installer.exe]: https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl-1.8.0-win64-installer.exe
|
||||
[hurl-1.8.0-x86_64-macos.tar.gz]: https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl-1.8.0-x86_64-macos.tar.gz
|
||||
[hurl-1.8.0-arm64-macos.tar.gz]: https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl-1.8.0-arm64-macos.tar.gz
|
||||
[hurl-1.8.0-x86_64-linux.tar.gz]: https://github.com/Orange-OpenSource/hurl/releases/download/1.8.0/hurl-1.8.0-x86_64-linux.tar.gz
|
||||
[AUR]: https://wiki.archlinux.org/index.php/Arch_User_Repository
|
||||
[`hurl-bin` package]: https://aur.archlinux.org/packages/hurl-bin/
|
||||
[install]: https://www.rust-lang.org/tools/install
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "hurl_core"
|
||||
version = "1.9.0-SNAPSHOT"
|
||||
version = "2.0.0-SNAPSHOT"
|
||||
authors = ["Fabrice Reix <fabrice.reix@orange.com>"]
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "hurlfmt"
|
||||
version = "1.9.0-SNAPSHOT"
|
||||
version = "2.0.0-SNAPSHOT"
|
||||
authors = ["Fabrice Reix <fabrice.reix@orange.com>"]
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
@ -18,7 +18,7 @@ atty = "0.2.14"
|
||||
base64 = "0.13.1"
|
||||
clap = { version = "4.0.29", features = ["cargo", "wrap_help"] }
|
||||
colored = "2.0.0"
|
||||
hurl_core = { version = "1.9.0-SNAPSHOT", path = "../hurl_core" }
|
||||
hurl_core = { version = "2.0.0-SNAPSHOT", path = "../hurl_core" }
|
||||
regex = "1.7.0"
|
||||
|
||||
[dev-dependencies]
|
||||
|
Loading…
Reference in New Issue
Block a user