Files
swupd-client/test
Castulo Martinez 01173b5279 3rd-party:bug_fix: don't add unreachable repos
When adding a 3rd-party repo, if the repo cannot be added it is reverted
back. However if a user uses an incorrect URL that hangs and the user
cancels the process, the repo add is never rolled back, which will cause
the invalid repo to be left in the system.

This commit fixes the issue by making sure the repo is reachable and
somewhat valid before adding it to the config file.

Closes #1384

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-03-20 14:31:24 -07:00
..