38 Commits

Author SHA256 Message Date
Ana Guerrero
7ea8d169ba Accepting request 1240895 from network:utilities
Forwarded request #1239284 from mcalabkova

- Drop unneeded build dependencies
  * upstream [dev] section is not needed for us
- Rewrite %{python_sitelib} in %files to respect %primary_python

OBS-URL: https://build.opensuse.org/request/show/1240895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=17
2025-01-29 15:10:42 +00:00
ae97175de0 - Drop unneeded build dependencies
* upstream [dev] section is not needed for us
- Rewrite %{python_sitelib} in %files to respect %primary_python

OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=35
2025-01-28 17:42:25 +00:00
Ana Guerrero
ba09ab6a3a Accepting request 1237388 from network:utilities
- Change python version back to 3.11 because too many tests fail
  with 3.12 and higher

- Update to version 3.2.4
  * Fix default certs loading and unpin requests.
- Update manpage to version 3.2.4

OBS-URL: https://build.opensuse.org/request/show/1237388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=16
2025-01-13 16:53:22 +00:00
22f4d24e73 OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=33 2025-01-13 11:04:51 +00:00
a6b0cf614c Update to version 3.2.4
If you have any suggestions for improvement, please let me know!

OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=32
2025-01-13 11:02:20 +00:00
Dominique Leuenberger
f16a7afa9c Accepting request 1188330 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1188330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=15
2024-07-26 14:15:17 +00:00
fa755d81cc Accepting request 1186646 from home:DarkWav
Update to version 3.2.3
Switch to generating tarball directly from git to harden package against supply chain attacks

If you have any suggestions for improvement, please let me know!

OBS-URL: https://build.opensuse.org/request/show/1186646
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=30
2024-07-18 07:41:20 +00:00
Dominique Leuenberger
54f205b6c2 Accepting request 1096029 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1096029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=14
2023-06-30 17:58:46 +00:00
Martin Hauke
9ff6bce145 Accepting request 1095080 from home:DarkWav
Temporarily disable tests that fail with python 3.11

If you have any suggestions for improvement, please let me know!

OBS-URL: https://build.opensuse.org/request/show/1095080
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=28
2023-06-29 20:17:03 +00:00
Dominique Leuenberger
fbf9635212 Accepting request 1093335 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1093335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=13
2023-06-16 14:55:07 +00:00
Martin Hauke
78fe75906b Accepting request 1093305 from home:DarkWav
Enforce building against the primary python version of the current OBS project to avoid build errors

If you have any suggestions for improvement, please let me know!

OBS-URL: https://build.opensuse.org/request/show/1093305
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=26
2023-06-15 15:31:03 +00:00
Dominique Leuenberger
4662179f80 Accepting request 1088403 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1088403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=12
2023-05-23 12:54:09 +00:00
Martin Hauke
0bf6812bca Accepting request 1088072 from home:DarkWav
Update to version 3.2.2
- Major version upgrade, expect API breakage
- Too many changes since 2.6.0 to list here, for a full changelog please visit:
https://github.com/httpie/httpie/blob/master/CHANGELOG.md
- Disable more tests that fail in OBS
- Update dependencies
- Update fdupes deduplication
- Add bash and fish completion support

If you have any suggestions for improvement, please let me know!

OBS-URL: https://build.opensuse.org/request/show/1088072
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=24
2023-05-22 13:59:09 +00:00
Dominique Leuenberger
54c87f6925 Accepting request 972968 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/972968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=11
2022-04-26 19:42:41 +00:00
Martin Hauke
48c638e74a Accepting request 972764 from home:pgajdos:python
- python3-mock is not required for build

OBS-URL: https://build.opensuse.org/request/show/972764
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=22
2022-04-26 19:05:44 +00:00
Dominique Leuenberger
921325384a Accepting request 928125 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/928125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=10
2021-10-29 20:34:28 +00:00
45a3e3e342 Accepting request 925849 from home:mnhauke
- Update to version 2.6.0
  * Added support for formatting & coloring of JSON bodies
    preceded by non-JSON data (e.g., an XXSI prefix).
  * Added charset auto-detection when `Content-Type` doesn’t
    include it.
  * Added `--response-charset` to allow overriding the response
    encoding for terminal display purposes.
  * Added `--response-mime` to allow overriding the response mime
    type for coloring and formatting for the terminal.
  * Added the ability to silence warnings through using `-q` or
    `--quiet` twice (e.g. `-qq`).
  * Added installed plugin list to `--debug` output.
  * Fixed duplicate keys preservation in JSON data.

OBS-URL: https://build.opensuse.org/request/show/925849
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=21
2021-10-29 13:00:01 +00:00
Dominique Leuenberger
14d895c5b2 Accepting request 917996 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/917996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=9
2021-09-10 21:41:35 +00:00
7eeb1e30e0 Accepting request 917174 from home:mnhauke
- Fix tests
- Update dependencies
- Update to version 2.5.0
  * Added --raw to allow specifying the raw request body without
    extra processing as an alternative to stdin.
  * Added support for XML formatting.
  * Added internal support for file-like object responses to
    improve adapter plugin support.
  * Fixed --continue --download with a single byte to be
    downloaded left.
  * Fixed --verbose HTTP 307 redirects with streamed request body.
  * Fixed handling of session files with Cookie: followed by other
    headers.
- Update to version 2.4.0
  * Added support for --session cookie expiration based on
    Set-Cookie: max-age=<n>.
  * Show a --check-status warning with --quiet as well, not only
    when the output is redirected.
  * Fixed upload with --session.
  * Fixed a missing blank line between request and response.

OBS-URL: https://build.opensuse.org/request/show/917174
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=20
2021-09-10 14:45:04 +00:00
Richard Brown
fd6bdfc92a Accepting request 883346 from network:utilities
Forward the current version of httpie to Factory

OBS-URL: https://build.opensuse.org/request/show/883346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=8
2021-04-10 13:27:07 +00:00
Martin Hauke
ffef47d351 Accepting request 880088 from home:robert_munteanu:branches:network:utilities
Disable tests that fail in OBS

OBS-URL: https://build.opensuse.org/request/show/880088
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=18
2021-04-06 13:01:02 +00:00
975ddae850 Accepting request 864580 from home:dirkmueller:branches:network:utilities
- update to 2.3.0:
  * Added support for streamed uploads (#201).
  * Added support for multipart upload streaming (#684).
  * Added support for body-from-file upload streaming (http httpbin.org/post @file).
  * Added --chunked to enable chunked transfer encoding (#753).
  * Added --multipart to allow multipart/form-data encoding for non-file --form requests as well.
  * Added support for preserving field order in multipart requests (#903).
  * Added --boundary to allow a custom boundary string for multipart/form-data requests.
  * Added support for combining cookies specified on the CLI and in a session file (#932).
  * Added out of the box SOCKS support with no extra installation (#904).
  * Added --quiet, -q flag to enforce silent behaviour.
  * Fixed the handling of invalid expires dates in Set-Cookie headers (#963).
  * Removed Tox testing entirely (#943). 
- drop httpie-adjust-requirements.patch (obsolete)
- drop singlespec packaging. this is a commandline utility, not a 
  python module, so building it for multiple versions of python makes
  no sense.

OBS-URL: https://build.opensuse.org/request/show/864580
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=17
2021-01-25 10:14:09 +00:00
Dominique Leuenberger
58eebef201 Accepting request 828244 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/828244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=7
2020-08-20 20:35:14 +00:00
8c271e237f Accepting request 827634 from home:dirkmueller:branches:network:utilities
- update to 2.2.0:
  * Added support for custom content types for uploaded files (`#668`_).
  * Added support for ``$XDG_CONFIG_HOME`` (`#920`_).
  * Added support for ``Set-Cookie``-triggered cookie expiration (`#853`_).
  * Added ``--format-options`` to allow disabling sorting, etc. (`#128`_)
  * Added ``--sorted`` and ``--unsorted`` shortcuts for (un)setting all sorting-related ``--format-options``. (`#128`_)
  * Added ``--ciphers`` to allow configuring OpenSSL ciphers (`#870`_).
  * Added ``netrc`` support for auth plugins. Enabled for ``--auth-type=basic``
    and ``digest``, 3rd parties may opt in (`#718`_, `#719`_, `#852`_, `#934`_).
  * Fixed built-in plugins-related circular imports (`#925`_).

OBS-URL: https://build.opensuse.org/request/show/827634
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=15
2020-08-20 15:50:01 +00:00
Dominique Leuenberger
64f6f6a9d4 Accepting request 798210 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/798210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=6
2020-04-27 21:42:05 +00:00
1f1437c48e Accepting request 795527 from home:mnhauke
- Update to version 2.1.0
  * Added --path-as-is to bypass dot segment (/../ or /./) URL
    squashing.
  * Changed the default value Accept header value for JSON requests
    from application/json, */* to application/json, */*;q=0.5 to
    clearly indicate preference.
  * Fixed --form file upload mixed with redirected stdin error
    handling.

OBS-URL: https://build.opensuse.org/request/show/795527
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=13
2020-04-27 11:59:19 +00:00
Dominique Leuenberger
74343b893e Accepting request 790295 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/790295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=5
2020-04-01 17:12:47 +00:00
Martin Hauke
af346943c1 Accepting request 790281 from home:mcepl:branches:network:utilities
- Don't use %python3_only command, but properly use alternatives.

OBS-URL: https://build.opensuse.org/request/show/790281
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=11
2020-03-31 19:07:33 +00:00
Dominique Leuenberger
7e5fd2fea4 Accepting request 765777 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/765777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=4
2020-01-20 21:56:37 +00:00
528b4654b1 Accepting request 763526 from home:mnhauke
- Update to version 2.0.0
  * Removed Python 2.7 support (Python 3.6+ is now required).
  * Added --offline to allow building an HTTP request and printing
    it but not actually sending it over the network.
  * Replaced the old collect-all-then-process handling of HTTP
    communication with one-by-one processing of each HTTP request
    or response as they become available. This means that you can
    see headers immediately, see what is being send even when the
    request fails, etc.
  * Removed automatic config file creation to avoid concurrency
    issues.
  * Removed the default 30-second connection --timeout limit.
  * Removed Python’s default limit of 100 response headers.
  * Added --max-headers to allow setting the max header limit.
  * Added --compress to allow request body compression.
  * Added --ignore-netrc to allow bypassing credentials from
    .netrc.
  * Added https alias command with https:// as the default scheme.
  * Added $ALL_PROXY documentation.
  * Added type annotations throughout the codebase.
  * Added tests/ to the PyPi package for the convenience of
    downstream package maintainers.
  * Fixed an error when stdin was a closed fd.
  * Improved --debug output formatting.
- Update patch:
  * httpie-adjust-requirements.patch

OBS-URL: https://build.opensuse.org/request/show/763526
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=9
2020-01-20 12:53:52 +00:00
Dominique Leuenberger
f0970c6ad0 Accepting request 760402 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/760402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=3
2020-01-02 13:44:33 +00:00
Martin Hauke
b99be4b873 Accepting request 758866 from home:mnhauke
- Add patch:
  * httpie-adjust-requirements.patch
    Lower requirements for requests and Pygemnts to make it work
    on Leap 15.1

OBS-URL: https://build.opensuse.org/request/show/758866
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=7
2020-01-02 11:01:29 +00:00
Dominique Leuenberger
85e6e4f58e Accepting request 727464 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/727464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=2
2019-09-02 11:26:08 +00:00
Martin Hauke
8ff44f9419 Accepting request 726511 from home:mnhauke
- Update to version 1.0.3
  * Fix CVE-2019-10751 (HTTPie is volnerable to Open Redirect that
    allows an attacker to write an arbitrary file with supplied
    filename and content to the current directory, by redirecting
    a request from HTTP to a crafted URL pointing to a server in
    his or hers control.

OBS-URL: https://build.opensuse.org/request/show/726511
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=5
2019-08-31 13:44:43 +00:00
Dominique Leuenberger
6fefa5ee01 Accepting request 659815 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/659815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=1
2018-12-19 12:54:03 +00:00
Martin Hauke
4357696d56 Accepting request 658772 from home:mnhauke
- Add manpage

OBS-URL: https://build.opensuse.org/request/show/658772
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=3
2018-12-16 20:01:11 +00:00
Martin Hauke
ef93928a81 Accepting request 658667 from home:jengelh:branches:network:utilities
- Trim bias from description.

OBS-URL: https://build.opensuse.org/request/show/658667
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=2
2018-12-15 19:42:24 +00:00
202efa23b5 Accepting request 657710 from home:mnhauke
Initial package for httpie

OBS-URL: https://build.opensuse.org/request/show/657710
OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=1
2018-12-13 14:46:04 +00:00