Before you submit
What's going wrong?
Backed up enabled repositories remain disabled on import when they already exist. This might mean all backed up settings and metadata of existing repositories are ignored on import (i.e. description, mirrors).
How do we reproduce it?
- Install Droid-ify / Clear storage
- Enable some repositories that are disabled by default
- Export repositories
- Reinstall Droid-ify / Clear storage
- Import repositories
Previously enabled repositories remain disabled, even though we can see in the backup file that the selected repositories do have "enabled": true. If you first remove the existing repositories, they will be enabled after import though.
What did you expect?
Backed up repositories that already exist should either be restored with all of their metadata or the user should be given a choice to overwrite or skip them. When not providing a choice, warn the user beforehand with a message like "Existing repositories will be overwritten if they also exist in the backup".
Screenshots
No response
Your phone
All phones I've used in the past few years
Android version
All Android versions I've used in the past few years
Droid-ify version
All Droid-ify versions I've used in the past few years (currently 0.7.1)
Anything else?
This bug was mentioned in #1195 which describes multiple issues, so I thought it necessary to create this as a more detailed and actionable one.
Before you submit
What's going wrong?
Backed up enabled repositories remain disabled on import when they already exist. This might mean all backed up settings and metadata of existing repositories are ignored on import (i.e. description, mirrors).
How do we reproduce it?
Previously enabled repositories remain disabled, even though we can see in the backup file that the selected repositories do have
"enabled": true. If you first remove the existing repositories, they will be enabled after import though.What did you expect?
Backed up repositories that already exist should either be restored with all of their metadata or the user should be given a choice to overwrite or skip them. When not providing a choice, warn the user beforehand with a message like "Existing repositories will be overwritten if they also exist in the backup".
Screenshots
No response
Your phone
All phones I've used in the past few years
Android version
All Android versions I've used in the past few years
Droid-ify version
All Droid-ify versions I've used in the past few years (currently 0.7.1)
Anything else?
This bug was mentioned in #1195 which describes multiple issues, so I thought it necessary to create this as a more detailed and actionable one.