Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Import and Export snapshots #442

Closed
wants to merge 1 commit into from

Conversation

augustorsouza
Copy link

Add buttons to allow alcatraz to save and restore snapshots, this way teams can share their plugins with each other using files.

This pull request has lots of User interface and code organization problems in my opinion, but the idea is to offer the feature so you can see if it makes sense for your development flow like it makes to mine. If so, I plan on improving the interface of the import and export features based on your feedback.

Best regards.

… teams can share their plugins with each other using files
@guillaumealgis
Copy link
Member

Sorry, didn't mean to reference this PR from issue 387.

@guillaumealgis
Copy link
Member

Regarding the feature, I think the problem you're solving could be handled with a dotfile as described in #413.

I'd prefer the dotfile over this because it would be easier to edit manually and covers more use-cases. Something like

RedXcode == 1.0.1
ActivatePowerMode == 2.3.1
FuzzyAutocomplete == 1.3.0

is friendlier than a binary plist with a NSKeyedArchiver version of the installed packages, and the dotfile would be updated automatically with each plugin install/uninstall.

Also, the NSKeyedArchiver approach requires some kind of versioning of the exported dump, to prevent crashing when importing a snapshot generated with an older version of Alcatraz (in case of changes to the ATZPackage class).

@augustorsouza
Copy link
Author

Great! I totally agree, I didn't notice the existence of #413. Can I work on this issue in order to help in the Alcatraz development or there is anyone already implementing this feature?

@guillaumealgis
Copy link
Member

I don't think anyone is working on #413. Feel free to submit a PR, it's always appreciated 👍

I'll close this if we all agree a dotfile is a better way to handle it. Thanks Augusto!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants