-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Back up to multiple repos from one profile #942 (duplicate) #1005
Conversation
Thanks! You could also squash and force-push to clean up commits. Same result. |
Last commit on master has caused a lot of conflicts. Tests don't pass anymore. I will need time to fix that :( |
We have to thank @phihos for that. The secret bootstrapping feature is explained here: https://vorta.borgbase.com/usage/settings/ |
Hello @m3nu , |
Hi @bastiencyr, I checked out your branch and the tests seem to run fine. I have a hard time to understand your intentions just by looking at the diffs. There are also a lot of import reorderings and whitespace removals/additions that make it hard for me to spot the meaningful semantic changes. Just some unsolicited advice from me: Try to put code style cleanup of code you do not need to change into an additional PR to make it easier for reviewers. With that out of the way, how can I help you? 😃 |
Yes it's not compatible with current version. It will be difficult to maintain compatibility for import profile. Do I have to ensure compatibility ? If I do, there are 2 scenarios :
I note for style clean-up, I will do better next time :(
It's about property decorator in profile_export.py. I dont think I can use them repo_password for example since there is a variable number of password (for each repo). So, for the moment I return the entire self._profile_dict['BackupProfileMixin'] and directly edit it in import_window.py. Is it ok ? Thank you for helping :) |
When fields change, can't we just ignore the extra ones and take default values for new ones? Apart from that there could just be an error when the version doesn't match. |
It's a good solution.
What field are you talking about? |
Hello @m3nu ,
EDIT, I think that create_backup_cmd should be added at profile level. Otherwise, it works well |
Good stuff.👍 I'll take a look at the tests to see what can be done here. |
I'm traveling this week and will need a bit longer to get started on this. But it's highest on my list after that, since it's a great feature. |
Sorry for the delay. I'll try to work on this today. Want to do a minor release first because my Apple Developer Membership expires soon. |
I'm releasing v0.7.8 now. The next version, 0.8 will include larger changes, like this PR. |
No problem, this PR is not my priority anymore. I am focus on multiple queues implementation #1045 . I will be back there after. |
Good. If you keep your PRs small and targeted, it's quicker to merge it, because the likelihood of new bugs is lower. I know that's not always possible.. |
ed0aaa0
to
e318709
Compare
Restarting the discussion, I was able to properly implement this feature without recursive function thanks to the jobsmanager :) I pass test create lock ! |
…rt profile is not supported. Regression in password support for import profile.
…r for easy review. Profile/import password from user is supported. Clean diff from master for easy review.
Add getter and setter in profile import. Add getter and setter in profile import.
Hello @m3nu, I really would like to finish this PR before opening another one : rebasing is a little bit exhausting. But I cant continue without knowing what we do with profile.repo.create_backup_cmd . |
|
Hello,
It's the same pull request without noising commits.
Sum up : it is still missing a solution for archive.