Merge swift.common.client library with bin/swift CLI

Registered by Chmouel Boudjnah on 2012-01-23

We currently have swift.common.client and bin/swift duplicating a lot of code between the two, we could have the two merged and have bin/swift calling swift.common.client or at least have only the necessary function for the CLI (ie: argument parsing etc..).

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Chmouel Boudjnah
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Chmouel Boudjnah on 2012-07-04
Completed by
Chmouel Boudjnah on 2012-07-04

Related branches

Sprints

Whiteboard

Output of symiliar (from pylint) between the two file: http://sprunge.us/gBje

Can it be done in a way that /bin/swift and swift.common.client can be easily recombined for distribution? Being able to distribute the self contained /bin/swift file to users is a really nice benefit of the current setup.

Having a external client library could solve problem ie: https://github.com/chmouel/python-swiftclient

Gerrit topic: https://review.openstack.org/#q,topic:bp/swift-common-client-and-cli-merge,n,z

Addressed by: https://review.openstack.org/7659
    Remove swift.common.client from here.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.