Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 703624 Details for
Bug 904353
Provide swift man page for the command line interface.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Candidate 2 in python-swiftclient
python-swiftclient-bz904353-2.diff (text/plain), 6.96 KB, created by
Pete Zaitcev
on 2013-02-27 20:13:15 UTC
(
hide
)
Description:
Candidate 2 in python-swiftclient
Filename:
MIME Type:
Creator:
Pete Zaitcev
Created:
2013-02-27 20:13:15 UTC
Size:
6.96 KB
patch
obsolete
>This version uses Fedora-style workaround for man page conflicts: >adding a suffix to new man page. > >diff --git a/0001-add-swift-man-page.patch b/0001-add-swift-man-page.patch >new file mode 100644 >index 0000000..bb1d29e >--- /dev/null >+++ b/0001-add-swift-man-page.patch >@@ -0,0 +1,133 @@ >+Add man page swift.1 for bz#904353 >+ >+This file is byte-to-byte identical to the man page that we're >+removing from swift. Unfortunately, the two packages with this >+page will not coexist, because the page is compressed, and .gz >+includes a date, so the files not built in the same tree are >+different and conflict. >+ >+diff -urN python-swiftclient-1.2.0/doc/manpages/swift.1 python-swiftclient-1.2.0-p3/doc/manpages/swift.1 >+--- python-swiftclient-1.2.0/doc/manpages/swift.1 1969-12-31 17:00:00.000000000 -0700 >++++ python-swiftclient-1.2.0-p3/doc/manpages/swift.1 2013-02-26 13:23:34.209976031 -0700 >+@@ -0,0 +1,121 @@ >++.\" >++.\" Author: Joao Marcelo Martins <marcelo.martins@rackspace.com> or <btorch@gmail.com> >++.\" Copyright (c) 2010-2011 OpenStack, LLC. >++.\" >++.\" Licensed under the Apache License, Version 2.0 (the "License"); >++.\" you may not use this file except in compliance with the License. >++.\" You may obtain a copy of the License at >++.\" >++.\" http://www.apache.org/licenses/LICENSE-2.0 >++.\" >++.\" Unless required by applicable law or agreed to in writing, software >++.\" distributed under the License is distributed on an "AS IS" BASIS, >++.\" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or >++.\" implied. >++.\" See the License for the specific language governing permissions and >++.\" limitations under the License. >++.\" >++.TH swift 1 "8/26/2011" "Linux" "OpenStack Swift" >++ >++.SH NAME >++.LP >++.B swift >++\- Openstack-swift swift tool >++ >++.SH SYNOPSIS >++.LP >++.B swift >++[options] <command> [args] >++ >++.SH DESCRIPTION >++.PP >++The swift tool is a command line interface script for communicating with >++an openstack-swift object storage environment. It allows one to perform >++several types of operations. >++ >++.SH COMMANDS >++.PP >++ >++\fBstat\fR [\fIcontainer\fR] [\fIobject\fR] >++.RS 4 >++Displays information for the account, container, or object depending on the args given (if any). >++.RE >++ >++\fBlist\fR [\fIcommand-options\fR] [\fIcontainer\fR] >++.RS 4 >++Lists the containers for the account or the objects for a container. The -p or --prefix is an option that will only list items beginning >++with that prefix. The -d or --delimiter is option (for container listings only) >++that will roll up items with the given delimiter (see Cloud Files general >++documentation for what this means). >++.RE >++ >++\fBupload\fR [\fIcommand-options\fR] container file_or_directory [\fIfile_or_directory\fR] [...] >++.RS 4 >++Uploads to the given container the files and directories specified by the >++remaining args. The -c or --changed is an option that will only upload files >++that have changed since the last upload. The -S <size> or --segment-size <size> >++and --leave-segments are options as well (see --help for more). >++.RE >++ >++\fBpost\fR [\fIcommand-options\fR] [\fIcontainer\fR] [\fIobject\fR] >++.RS 4 >++Updates meta information for the account, container, or object depending >++on the args given. If the container is not found, it will be created >++automatically; but this is not true for accounts and objects. Containers >++also allow the -r (or --read-acl) and -w (or --write-acl) options. The -m >++or --meta option is allowed on all and used to define the user meta data >++items to set in the form Name:Value. This option can be repeated. >++\fBExample\fR: post -m Color:Blue -m Size:Large >++.RE >++ >++ \fBdownload\fR [\fIcommand-options\fR] [\fIcontainer\fR] [\fIobject\fR] [\fIobject\fR] [...] >++.RS 4 >++Downloads everything in the account (with --all), or everything in a >++container, or a list of objects depending on the args given. For a single >++object download, you may use the -o [--output] <filename> option to >++redirect the output to a specific file or if "-" then just redirect to stdout. >++.RE >++ >++\fBdelete\fR [\fIcommand-options\fR] [\fIcontainer\fR] [\fIobject\fR] [\fIobject\fR] [...] >++.RS 4 >++Deletes everything in the account (with --all), or everything in a container, >++or a list of objects depending on the args given. Segments of manifest objects >++will be deleted as well, unless you specify the --leave-segments option. >++.RE >++ >++ .SH OPTIONS >++.PD 0 >++.IP "--version Show program's version number and exit" >++.IP "-h, --help Show this help message and exit" >++.IP "-s, --snet Use SERVICENET internal network" >++.IP "-v, --verbose Print more info" >++.IP "-q, --quiet Suppress status output" >++.IP "-A AUTH, --auth=AUTH URL for obtaining an auth token " >++.IP "-U USER, --user=USER User name for obtaining an auth token" >++.IP "-K KEY, --key=KEY Key for obtaining an auth token" >++.PD >++ >++ .SH EXAMPLE >++.PP >++swift -A https://127.0.0.1:443/auth/v1.0 -U swiftops:swiftops -K swiftops stat >++ >++.RS 2 >++.PD 0 >++.IP "Account: AUTH_43b42dae-dc0b-4a4b-ac55-97de614d6e6e" >++.IP "Containers: 1" >++.IP "Objects: 1" >++.IP "Bytes: 1124" >++.IP "Accept-Ranges: bytes" >++.IP "X-Trans-Id: txb21186a9eef64ed295a1e95896a0fc72" >++.PD >++.RE >++ >++ >++.SH DOCUMENTATION >++.LP >++More in depth documentation about Openstack-Swift as a whole can be found at >++.BI http://swift.openstack.org >++ >++ >++.LP >++ >diff --git a/python-swiftclient.spec b/python-swiftclient.spec >index a3cebd8..0bab81a 100644 >--- a/python-swiftclient.spec >+++ b/python-swiftclient.spec >@@ -1,6 +1,6 @@ > Name: python-swiftclient > Version: 1.2.0 >-Release: 4%{?dist} >+Release: 5%{?dist} > Summary: Python API and CLI for OpenStack Swift > > License: ASL 2.0 >@@ -10,6 +10,7 @@ Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}. > # > # patches_base=1.2.0 > # >+Patch0001: 0001-add-swift-man-page.patch > > BuildArch: noarch > >@@ -42,11 +43,16 @@ rm -rf python_swiftclient.egg-info > # let RPM handle deps > sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py > >+%patch0001 -p1 >+ > %build > %{__python} setup.py build > > %install > %{__python} setup.py install -O1 --skip-build --root %{buildroot} >+# Install swift.1 to man1x in order to avoid conflict with old swift bz#904353 >+install -d -m 755 %{buildroot}%{_mandir}/man1x >+install -p -m 0644 doc/manpages/swift.1 %{buildroot}%{_mandir}/man1x/swift.1x > > # Delete tests > rm -fr %{buildroot}%{python_sitelib}/tests >@@ -60,6 +66,7 @@ rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo > > %files > %doc LICENSE README.rst >+%{_mandir}/man1x/swift.1* > %{_bindir}/swift > %{python_sitelib}/swiftclient > %{python_sitelib}/*.egg-info >@@ -68,6 +75,9 @@ rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo > %doc LICENSE doc/build/html > > %changelog >+* Wed Feb 27 2013 Pete Zaitcev <zaitcev@redhat.com> 1.2.0-5 >+- add man page swift.1 from openstack-swift-1.7.4-9 (as swift.1x), bz#904353 >+ > * Mon Feb 11 2013 Alan Pevec <apevec@redhat.com> 1.2.0-4 > - add missing dependency on keystoneclient >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
apevec
: review+
Actions:
View
|
Diff
Attachments on
bug 904353
:
703049
| 703624