Move high-level functionality from bin/swift into importable/testable library
The bin/swift script currently contains a great deal of logic that would be very useful as an importable and testable library.
I propose moving the logic contained in bin/swift/
This service could be imported into the /bin/swift script, simplifying the bin/swift script to mostly command line, option parsing and output, and would allow the high level functionality to be used by 3rd party scripts and more thoroughly tested.
An implementation of the proposal can be found in the "swift-service" branch here: https:/
A short design document with detailing the proposed change is here http://
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add importable SwiftService incorporating shell.py logic
Addressed by: https:/
add some autodoc on swiftclient.service