Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hurl for openSUSE:Factory checked in at 2024-12-06 14:26:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hurl (Old) and /work/SRC/openSUSE:Factory/.hurl.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hurl" Fri Dec 6 14:26:55 2024 rev:3 rq:1228647 version:6.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/hurl/hurl.changes 2024-09-03 13:38:44.885777041 +0200 +++ /work/SRC/openSUSE:Factory/.hurl.new.28523/hurl.changes 2024-12-06 14:27:09.646450727 +0100 @@ -1,0 +2,50 @@ +Wed Dec 04 05:54:52 UTC 2024 - [email protected] + +- Update to version 6.0.0: + * Breaking Changes: + - Check that variables do not conflict with existing functions + #3229 + - Remove deprecated --fail-at-end option #3430 + - Change API for setting variable in hurl::runner::run #3440 + - Remove hurlfmt deprecated --format option #3445 + - Rename feature flag from vendored-openssl to static-openssl + #3460 + * Enhancements: + - Implement function newUuid #973 + - Implement --limit-rate from curl #1222 + - Add --curl option to export executed requests to curl + commands #2679 + - Configure --connect-timeout per request #3163 + - Support short name for sections [QueryStringParams] => + [Query], [FormParams] => [Form], [MultipartFormData] => + [Multipart] #3238 + - Remove url-specific parser (align with grammar) #3244 + - Remove the crate float-cmp #3247 + - Jsonpath / Add filter on boolean value #3252 + - Jsonpath / Add non-equal filter on string and number value + #3261 + - Add support for backtick strings in predicates values #3317 + - Categorise options in --help #3339 + - Support more JSON / XML "like" mimetypes with debug output + #3343 + - Add curl debug command to --json and JSON report #3374 + - Add curl debug command to HTML report #3386 + - Render Date value #3431 + - Add newDate generator #3443 + * Bugs Fixed: + - Fix reading standard input multiple times #3216 + - Fix filename parsing (used by cert option) #3242 + - Add additional check for --max-filesize option #3245 + - Support case-insensitive Cookie Attributes #3265 + - Allow any string in Location Header when not following + redirection #3293 + - Fix graceful shutdown of workers threads in --test #3297 + - Fix missing space in variable option HTML export #3412 + +------------------------------------------------------------------- +Fri Oct 04 19:36:41 UTC 2024 - [email protected] + +- rework spec file to obs_scm and "manual" instead of "disabled" +- add %check section + +------------------------------------------------------------------- Old: ---- cargo_config hurl-5.0.1+0.tar.zst New: ---- hurl-6.0.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hurl.spec ++++++ --- /var/tmp/diff_new_pack.BemGMF/_old 2024-12-06 14:27:10.822500087 +0100 +++ /var/tmp/diff_new_pack.BemGMF/_new 2024-12-06 14:27:10.822500087 +0100 @@ -17,27 +17,36 @@ Name: hurl -Version: 5.0.1+0 +Version: 6.0.0 Release: 0 Summary: Run and test HTTP requests with plain text License: Apache-2.0 URL: https://github.com/Orange-OpenSource/hurl -Source0: %{name}-%{version}.tar.zst +Source0: %{name}-%{version}.tar.gz Source1: vendor.tar.zst -Source2: cargo_config +BuildRequires: cargo >= 1.77.2 BuildRequires: cargo-packaging BuildRequires: libxml2-devel BuildRequires: openssl-devel BuildRequires: zstd +# Test depdencies +BuildRequires: python3-base +BuildRequires: python3-Flask + +ExcludeArch: i586 + %description -Hurl is a command line tool that runs HTTP requests defined in a simple plain text format. +Hurl is a command line tool that runs HTTP requests defined in a simple plain +text format. -It can perform requests, capture values and evaluate queries on headers and body response. Hurl is very versatile: it can be used for both fetching data and testing HTTP sessions. +It can perform requests, capture values and evaluate queries on headers and +body response. Hurl is very versatile: it can be used for both fetching data +and testing HTTP sessions. %prep -%autosetup -a1 -cp %{SOURCE2} .cargo/config +%autosetup -a 1 -p 1 +mkdir -p .cargo %build %{cargo_build} @@ -46,8 +55,31 @@ install -D -d -m 0755 %{buildroot}%{_bindir} install -m 0755 %{_builddir}/%{name}-%{version}/target/release/%{name} %{buildroot}%{_bindir}/%{name} +%check +# start a local HTTP server for the tests +cd integration/hurl +mkdir -p build + +echo -e "\n------------------ Starting server.py" +python3 server.py > build/server.log 2>&1 & + +echo -e "\n------------------ Starting ssl/server.py (Self-signed certificate)" +python3 ssl/server.py 8001 ssl/server/cert.selfsigned.pem false > build/server-ssl-selfsigned.log 2>&1 & + +echo -e "\n------------------ Starting ssl/server.py (Signed by CA)" +python3 ssl/server.py 8002 ssl/server/cert.pem false > build/server-ssl-signedbyca.log 2>&1 & + +echo -e "\n------------------ Starting ssl/server.py (Self-signed certificate + Client certificate authentication)" +python3 ssl/server.py 8003 ssl/server/cert.selfsigned.pem true > build/server-ssl-client-authent.log 2>&1 & + +echo -e "\n------------------ Starting unix_socket/server.py" +python3 unix_socket/server.py > build/server-unix-socket.log 2>&1 & + +# run the tests +%{cargo_test} + %files %doc README.md %license LICENSE -%{_bindir}/%{name} +%{_bindir}/hurl ++++++ _service ++++++ --- /var/tmp/diff_new_pack.BemGMF/_old 2024-12-06 14:27:10.862501766 +0100 +++ /var/tmp/diff_new_pack.BemGMF/_new 2024-12-06 14:27:10.866501934 +0100 @@ -1,24 +1,22 @@ <services> - <service mode="disabled" name="obs_scm"> + <service name="obs_scm" mode="manual"> <param name="url">https://github.com/Orange-OpenSource/hurl</param> - <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="scm">git</param> - <param name="revision">5.0.1</param> - <param name="match-tag">*</param> - <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> - <param name="versionrewrite-replacement">\1</param> + <param name="exclude">.git</param> + <param name="versionformat">@PARENT_TAG@</param> + <param name="revision">6.0.0</param> + <param name="changesgenerate">enable</param> </service> - <service mode="disabled" name="tar" /> - <service mode="disabled" name="recompress"> - <param name="file">*.tar</param> - <param name="compression">zst</param> + <service name="tar" mode="buildtime"/> + <service name="recompress" mode="buildtime"> + <param name="file">hurl-*.tar</param> + <param name="compression">gz</param> </service> - <service mode="disabled" name="set_version"/> - <service name="cargo_vendor" mode="disabled"> - <param name="src">hurl</param> - <param name="compression">zst</param> - <param name="update">true</param> - <param name="filter">true</param> + <service name="set_version" mode="manual"> + </service> + <service name="cargo_vendor" mode="manual"> + <param name="update">true</param> + <param name="srcdir">hurl</param> </service> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.BemGMF/_old 2024-12-06 14:27:10.882502605 +0100 +++ /var/tmp/diff_new_pack.BemGMF/_new 2024-12-06 14:27:10.886502773 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/Orange-OpenSource/hurl</param> - <param name="changesrevision">3cad4e38b48811398681ae3a52a37b961e0a2a39</param></service></servicedata> + <param name="changesrevision">cba84e02ba83de21a0098b4db74831f959da5d50</param></service></servicedata> (No newline at EOF) ++++++ hurl.obsinfo ++++++ --- /var/tmp/diff_new_pack.BemGMF/_old 2024-12-06 14:27:10.906503613 +0100 +++ /var/tmp/diff_new_pack.BemGMF/_new 2024-12-06 14:27:10.910503781 +0100 @@ -1,5 +1,5 @@ name: hurl -version: 5.0.1+0 -mtime: 1725016226 -commit: 3feee490c4bd04a2a961405f362d6d97ad5274e3 +version: 6.0.0 +mtime: 1733234839 +commit: cba84e02ba83de21a0098b4db74831f959da5d50 ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/hurl/vendor.tar.zst /work/SRC/openSUSE:Factory/.hurl.new.28523/vendor.tar.zst differ: char 7, line 1
