Hello community,

here is the log from the commit of package httpie for openSUSE:Factory checked 
in at 2018-12-19 13:54:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/httpie (Old)
 and      /work/SRC/openSUSE:Factory/.httpie.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "httpie"

Wed Dec 19 13:54:03 2018 rev:1 rq:659815 version:1.0.2

Changes:
--------
New Changes file:

--- /dev/null   2018-10-29 14:05:42.522318975 +0100
+++ /work/SRC/openSUSE:Factory/.httpie.new.28833/httpie.changes 2018-12-19 
13:54:04.266898604 +0100
@@ -0,0 +1,112 @@
+-------------------------------------------------------------------
+Sun Dec 16 14:19:43 UTC 2018 - [email protected]
+
+- Add manpage
+
+-------------------------------------------------------------------
+Sat Dec 15 18:33:41 UTC 2018 - Jan Engelhardt <[email protected]>
+
+- Trim bias from description.
+
+-------------------------------------------------------------------
+Wed Dec 12 21:45:43 UTC 2018 - [email protected]
+
+- Cleanup package
+- Run tests
+- Update to version 1.0.2
+  * Fixed tests for installation with pyOpenSSL.
+  * Removed external URL calls from tests.
+- Update to version 1.0.0
+  * Added --style=auto which follows the terminal ANSI color styles.
+  * Added support for selecting TLS 1.3 via --ssl=tls1.3
+  * Added true/false as valid values for --verify
+  * (in addition to yes/no) and the boolean value is case-insensitive.
+  * Changed the default --style from solarized to auto
+  * Fixed default headers being incorrectly case-sensitive.
+  * Removed Python 2.6 support.
+
+-------------------------------------------------------------------
+Thu Aug 10 19:28:22 UTC 2017 - [email protected]
+
+- Fix Url
+- Update to version 0.9.8
+  * Extended auth plugin API.
+  * Added exit status code 7 for plugin errors.
+  * Added support for curses-less Python installations.
+  * Fixed REQUEST_ITEM arg incorrectly being reported as required.
+  * Improved CTRL-C interrupt handling.
+  * Added the standard exit status code 130 for keyboard interrupts.
+
+- Update to version 0.9.5
+  * Added Python 3 as a dependency for Homebrew installations to ensure some of
+    the newer HTTP features work out of the box for macOS users (starting with
+    HTTPie 0.9.4.).
+  * Added the ability to unset a request header with Header:, and send an empty
+    value with Header;.
+  * Added --default-scheme <URL_SCHEME> to enable things like $ alias https=
+    'http --default-scheme=https.
+  * Added -I as a shortcut for --ignore-stdin.
+  * Added fish shell completion (located in extras/httpie-completion.fish in
+    the Github repo).
+  * Updated requests to 2.10.0 so that SOCKS support can be added via pip
+    install requests[socks].
+  * Changed the default JSON Accept header from application/json to application
+    /json, */*.
+  * Changed the pre-processing of request HTTP headers so that any leading and
+    trailing whitespace is removed.
+
+- Update to version 0.9.4
+  * Added Content-Type of files uploaded in multipart/form-data requests
+  * Added --ssl=<PROTOCOL> to specify the desired SSL/TLS protocol version to
+    use for HTTPS requests.
+  * Added JSON detection with --json, -j to work around incorrect Content-Type
+  * Added --all to show intermediate responses such as redirects (with --follow
+    )
+  * Added --history-print, -P WHAT to specify formatting of intermediate
+    responses
+  * Added --max-redirects=N (default 30)
+  * Added -A as short name for --auth-type
+  * Added -F as short name for --follow
+  * Removed the implicit_content_type config option (use "default_options": 
+    ["--form"] instead)
+  * Redirected stdout doesn't trigger an error anymore when --output FILE is
+    set
+  * Changed the default --style back to solarized for better support of light
+    and dark terminals
+  * Improved --debug output
+  * Fixed --session when used with --download
+  * Fixed --download to trim too long filenames before saving the file
+  * Fixed the handling of Content-Type with multiple +subtype parts
+  * Removed the XML formatter as the implementation suffered from multiple
+    issues
+
+- Update to version 0.9.3
+  * Changed the default color --style from solarized to monokai
+  * Added basic Bash autocomplete support (need to be installed manually)
+  * Added request details to connection error messages
+  * Fixed 'requests.packages.urllib3' has no attribute 'disable_warnings'
+    errors that occurred in some installations
+  * Fixed colors and formatting on Windows
+  * Fixed --auth prompt on Windows
+
+
+-------------------------------------------------------------------
+Fri Sep 25 07:23:14 UTC 2015 - [email protected]
+
+- Add requirement for python-curses 
+
+-------------------------------------------------------------------
+Mon Jul 20 09:22:51 UTC 2015 - [email protected]
+
+- Fixed SLE11 build
+
+-------------------------------------------------------------------
+Tue May 19 15:45:31 UTC 2015 - [email protected]
+
+- updated to 0.9.2
+
+-------------------------------------------------------------------
+Sun Jun 15 20:46:14 UTC 2014 - [email protected]
+
+- created package (version 0.8.0)
+

New:
----
  http.1
  httpie-1.0.2.tar.gz
  httpie.changes
  httpie.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ httpie.spec ++++++
#
# spec file for package httpie
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/


%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           httpie
Version:        1.0.2
Release:        0
Summary:        CLI, cURL-like tool for humans
License:        BSD-3-Clause
Group:          Productivity/Networking/Web/Utilities
URL:            https://httpie.org/
Source:         
https://github.com/jakubroztocil/httpie/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1:        http.1
BuildRequires:  %{python_module Pygments >= 2.1.3}
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module mock}
BuildRequires:  %{python_module pytest-httpbin}
BuildRequires:  %{python_module pytest}
BuildRequires:  %{python_module requests >= 2.18.4}
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:       python-Pygments >= 2.1.3
Requires:       python-requests >= 2.18.4
Suggests:       python-argparse >= 1.2.1
Suggests:       python-colorama >= 0.2.4
Provides:       httpie
BuildArch:      noarch
%python_subpackages

%description
HTTPie consists of a single "http" command designed for debugging and
interaction with HTTP servers, RESTful APIs, and web services.

It allows for issuing arbitrary HTTP requests and displays colorized
responses.

%prep
%setup -q

#drop shebang
sed -i -e '/^#!\//, 1d' httpie/__main__.py

%build
export LC_CTYPE=en_US.UTF-8
%python_build

%install
export LC_CTYPE=en_US.UTF-8
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
install -D -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/http.1

%check
export LC_CTYPE=en_US.UTF-8
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_version}

%files %{python_files}
%doc AUTHORS.rst CHANGELOG.rst README.rst
%license LICENSE
%python3_only %{_bindir}/http
%{python_sitelib}/*
%{_mandir}/man1/http.1%{ext_man}

%changelog
++++++ http.1 ++++++
.TH HTTP "1" "February 2016" "http 0.9.2" "User Commands"
.SH NAME
httpie - CLI, cURL-like tool for humans
.SH SYNOPSIS
.TP
.B http
.RI
[\-\-json] [\-\-form] [\-\-pretty {all,colors,format,none}] [\-\-style STYLE]
[\-\-print WHAT] [\-\-verbose] [\-\-headers] [\-\-body] [\-\-stream]
[\-\-output FILE] [\-\-download] [\-\-continue]
[\-\-session SESSION_NAME_OR_PATH | \-\-session\-read\-only 
SESSION_NAME_OR_PATH]
[\-\-auth USER[:PASS]] [\-\-auth\-type {basic,digest}]
[\-\-proxy PROTOCOL:PROXY_URL] [\-\-follow] [\-\-verify VERIFY]
[\-\-cert CERT] [\-\-cert\-key CERT_KEY] [\-\-timeout SECONDS]
[\-\-check\-status] [\-\-ignore\-stdin] [\-\-help] [\-\-version]
[\-\-traceback] [\-\-debug]
.br
[METHOD] \fIURL\fR [REQUEST_ITEM [REQUEST_ITEM ...]]

.SH DESCRIPTION
\fBHTTPie\fP is a CLI HTTP utility built out of frustration with existing tools.
The goal is to make CLI interaction with HTTP-based services as human-friendly
as possible.
.PP
HTTPie does so by providing an http command that allows for issuing arbitrary
HTTP requests using a simple and natural syntax and displaying colorized 
responses.

.SH OPTIONS
.SS Positional Arguments
These arguments come after any flags and in the order they are listed here.
Only URL is required.
.TP
METHOD

The HTTP method to be used for the request (GET, POST, PUT, DELETE, ...).
.br
This argument can be omitted in which case HTTPie will use POST if there
is some data to be sent, otherwise GET:

        \f(CW$ http example.org               # => GET\fR

        \f(CW$ http example.org hello=world   # => POST\fR

.TP
URL

The scheme defaults to 'http://' if the URL does not include one.

You can also use a shorthand for localhost

        \f(CW$ http :3000                     # => http://localhost:3000\fR

        \f(CW$ http :/foo                     # => http://localhost/foo\fR

.TP
REQUEST_ITEM

Optional key\-value pairs to be included in the request. The separator used
determines the type:

\fB':'\fR   HTTP headers
        Referer:http://httpie.org
        Cookie:foo=bar
        User\-Agent:bacon/1.0

\fB'=='\fR  URL parameters to be appended to the request URI
        search==httpie
        
\fB'='\fR   Data fields to be serialized into a JSON object
(with \fB\-\-json\fR, \fB\-j\fR) or form data (with \fB\-\-form\fR, \fB\-f\fR)
        name=HTTPie
        language=Python
        description='CLI HTTP client'

\fB':='\fR  Non\-string JSON data fields (only with \fB\-\-json\fR, \fB\-j\fR)
        awesome:=true
        amount:=42
        colors:='["red", "green", "blue"]'

\fB'@'\fR   Form file fields (only with \fB\-\-form\fR, \fB\-f\fR)
        cs@~/Documents/CV.pdf

\fB'=@'\fR  A data field like '=', but takes a file path and embeds its content:
        essay=@Documents/essay.txt

\fB':=@'\fR A raw JSON field like ':=', but takes a file path and embeds its 
content:
        package:=@./package.json

You can use a backslash to escape a colliding separator in the field name:

        field\-name\-with\e:colon=value


.SS "Predefined Content Types:"
.HP
\fB\-\-json\fR, \fB\-j\fR
.IP
(default) Data items from the command line are serialized as a JSON object.
The Content\-Type and Accept headers are set to application/json
(if not specified).
.HP
\fB\-\-form\fR, \fB\-f\fR
.IP
Data items from the command line are serialized as form fields.
.IP
The Content\-Type is set to application/x\-www\-form\-urlencoded (if not
specified). The presence of any file fields results in a
multipart/form\-data request.
.SS "Output Processing:"
.HP
\fB\-\-pretty\fR {all,colors,format,none}
.IP
Controls output processing. The value can be "none" to not prettify
the output (default for redirected output), "all" to apply both colors
and formatting (default for terminal output), "colors", or "format".
.HP
\fB\-\-style\fR STYLE, \fB\-s\fR STYLE
.IP
Output coloring style (default is "solarized"). One of:
.IP
algol, algol_nu, autumn, borland, bw, colorful, default,
emacs, friendly, fruity, igor, lovelace, manni, monokai,
murphy, native, paraiso\-dark, paraiso\-light, pastie,
perldoc, rrt, solarized, tango, trac, vim, vs, xcode
.IP
For this option to work properly, please make sure that the $TERM
environment variable is set to "xterm\-256color" or similar
(e.g., via `export TERM=xterm\-256color' in your ~/.bashrc).
.SS "Output Options:"
.HP
\fB\-\-print\fR WHAT, \fB\-p\fR WHAT
.IP
String specifying what the output should contain:
.IP
\&'H' request headers
\&'B' request body
\&'h' response headers
\&'b' response body
.IP
The default behaviour is 'hb' (i.e., the response headers and body
is printed), if standard output is not redirected. If the output is piped
to another program or to a file, then only the response body is printed
by default.
.HP
\fB\-\-verbose\fR, \fB\-v\fR
.IP
Print the whole request as well as the response. Shortcut for 
\fB\-\-print\fR=\fI\,HBbh\/\fR.
.HP
\fB\-\-headers\fR, \fB\-h\fR
.IP
Print only the response headers. Shortcut for \fB\-\-print\fR=\fI\,h\/\fR.
.HP
\fB\-\-body\fR, \fB\-b\fR
.IP
Print only the response body. Shortcut for \fB\-\-print\fR=\fI\,b\/\fR.
.HP
\fB\-\-stream\fR, \fB\-S\fR
.IP
Always stream the output by line, i.e., behave like `tail \fB\-f\fR'.
.IP
Without \fB\-\-stream\fR and with \fB\-\-pretty\fR (either set or implied),
HTTPie fetches the whole response before it outputs the processed data.
.IP
Set this option when you want to continuously display a prettified
long\-lived response, such as one from the Twitter streaming API.
.IP
It is useful also without \fB\-\-pretty\fR: It ensures that the output is 
flushed
more often and in smaller chunks.
.HP
\fB\-\-output\fR FILE, \fB\-o\fR FILE
.IP
Save output to FILE. If \fB\-\-download\fR is set, then only the response body 
is
saved to the file. Other parts of the HTTP exchange are printed to stderr.
.HP
\fB\-\-download\fR, \fB\-d\fR
.IP
Do not print the response body to stdout. Rather, download it and store it
in a file. The filename is guessed unless specified with \fB\-\-output\fR
[filename]. This action is similar to the default behaviour of wget.
.HP
\fB\-\-continue\fR, \fB\-c\fR
.IP
Resume an interrupted download. Note that the \fB\-\-output\fR option needs to 
be
specified as well.
.SS "Sessions:"
.HP
\fB\-\-session\fR SESSION_NAME_OR_PATH
.IP
Create, or reuse and update a session. Within a session, custom headers,
auth credential, as well as any cookies sent by the server persist between
requests.
.IP
Session files are stored in:
.IP
/home/gaetano/.httpie/sessions/<HOST>/<SESSION_NAME>.json.
.HP
\fB\-\-session\-read\-only\fR SESSION_NAME_OR_PATH
.IP
Create or read a session without updating it form the request/response
exchange.
.SS "Authentication:"
.HP
\fB\-\-auth\fR USER[:PASS], \fB\-a\fR USER[:PASS]
.IP
If only the username is provided (\fB\-a\fR username), HTTPie will prompt
for the password.
.HP
\fB\-\-auth\-type\fR {basic,digest}
.IP
The authentication mechanism to be used. Defaults to "basic".
.IP
"basic": Basic HTTP auth
"digest": Digest HTTP auth
.SS "Network:"
.HP
\fB\-\-proxy\fR PROTOCOL:PROXY_URL
.IP
String mapping protocol to the URL of the proxy
(e.g. http:http://foo.bar:3128). You can specify multiple proxies with
different protocols.
.HP
\fB\-\-follow\fR
.IP
Set this flag if full redirects are allowed (e.g. re\-POST\-ing of data at
new Location).
.HP
\fB\-\-verify\fR VERIFY
.IP
Set to "no" to skip checking the host's SSL certificate. You can also pass
the path to a CA_BUNDLE file for private certs. You can also set the
REQUESTS_CA_BUNDLE environment variable. Defaults to "yes".
.HP
\fB\-\-cert\fR CERT
.IP
You can specify a local cert to use as client side SSL certificate.
This file may either contain both private key and certificate or you may
specify \fB\-\-cert\-key\fR separately.
.HP
\fB\-\-cert\-key\fR CERT_KEY
.IP
The private key to use with SSL. Only needed if \fB\-\-cert\fR is given and the
certificate file does not contain the private key.
.HP
\fB\-\-timeout\fR SECONDS
.IP
The connection timeout of the request in seconds. The default value is
30 seconds.
.HP
\fB\-\-check\-status\fR
.IP
By default, HTTPie exits with 0 when no network or other fatal errors
occur. This flag instructs HTTPie to also check the HTTP status code and
exit with an error if the status indicates one.
.IP
When the server replies with a 4xx (Client Error) or 5xx (Server Error)
status code, HTTPie exits with 4 or 5 respectively. If the response is a
3xx (Redirect) and \fB\-\-follow\fR hasn't been set, then the exit status is 3.
Also an error message is written to stderr if stdout is redirected.
.SS "Troubleshooting:"
.HP
\fB\-\-ignore\-stdin\fR
.IP
Do not attempt to read stdin.
.HP
\fB\-\-help\fR
.IP
Show this help message and exit.
.HP
\fB\-\-version\fR
.IP
Show version and exit.
.HP
\fB\-\-traceback\fR
.IP
Prints exception traceback should one occur.
.HP
\fB\-\-debug\fR
.IP
Prints exception traceback should one occur, and also other information
that is useful for debugging HTTPie itself and for reporting bugs.
.PP
For every \fB\-\-OPTION\fR there is also a \fB\-\-no\-OPTION\fR that reverts 
OPTION
to its default value.

.SH REPORTING BUGS
Suggestions and bug reports are greatly appreciated: 
<https://github.com/jakubroztocil/httpie/issues>

.SH AUTHOR
httpie was written by Jakub Roztocil <[email protected]>.
.PP
This manual page was written for the Debian project (and may be used by others).


Reply via email to