Skip to content

Commit

Permalink
Update 1.9.0-SNAPSHOT to 2.0.0 due to major breaking change.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcamiel committed Nov 29, 2022
1 parent 8a551ff commit b89716b
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 41 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -842,21 +842,21 @@ 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

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
Expand All @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions bin/check/compatibility.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/manual/hurl.1
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/manual/hurlfmt.1
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/hurl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"
Expand Down
28 changes: 14 additions & 14 deletions packages/hurl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -842,21 +842,21 @@ 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

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
Expand All @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/hurl_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/hurlfmt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -18,7 +18,7 @@ atty = "0.2.14"
base64 = "0.13.1"
clap = { version = "4.0.28", 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]
Expand Down

0 comments on commit b89716b

Please sign in to comment.