Reimplement TestConnection() background class

Registered by Rob Oakes on 2009-09-07

At present, the check connection button uses the duplicity backend class list() function in order to check if the connection is valid. If the user is able to connect, this will happen very quickly. Unfortunately, if the user is not able to connect, then duplicity will attempt to reconnect six or seven times. This is an extremely long-running backend process (though it is implemented as a background thread, so it does not tie up the userinterface).

Code should be contributed back to duplicity which enables a CheckConnection or testConnection method.

Blueprint information

Status:
Complete
Approver:
Philippe Delodder
Priority:
Low
Drafter:
Rob Oakes
Direction:
Needs approval
Assignee:
Philippe Delodder
Definition:
Approved
Series goal:
Proposed for 0.3
Implementation:
Implemented
Milestone target:
milestone icon 0.3
Started by
Philippe Delodder on 2009-09-30
Completed by
Philippe Delodder on 2009-10-02

Related branches

Sprints

Whiteboard

implement this:

http://www.endperform.org/2009/01/python-example-check-for-open-ssh/

if this works then do duplicity test url connection

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.