Sunil Mohan Adapa 76efccce37
backups: Fix and refactor adding a new remote repository
- Fix encrypted repositories getting created without encryption.

- Set verified=False by during save operation for safety.

- Handle common error scenarios and show proper messages. Such as authentication
  failure.

- Use pathlib to simplify file handling code.

- Split nested code for readability and do better function splits.

- Expand ~ only if it is at the beginning of the path.

- Allow empty repository path as allowed by SSH.

- Don't internationalize log messages.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-03 12:44:18 +05:30
..
2019-07-02 19:13:55 +02:00
2018-02-21 21:08:11 +01:00
2019-07-03 12:43:49 +05:30
2019-06-24 20:07:11 -04:00
2019-02-03 17:00:19 -05:00
2018-06-18 19:27:40 -04:00