Skip to content
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

added Sync Packages Folder button #91

Merged
merged 2 commits into from
Jun 16, 2024

Conversation

njelly
Copy link

@njelly njelly commented Oct 15, 2022

Allows the user to sync the packages folder in the clone project with the original project by clicking a button in the ClonesManagerWindow, which is very useful when developing embedded packages.

I've noticed there have been multiple requests and PRs for this feature, and it would be very useful to me since I frequently work on embedded packages for my projects, so here's my take on implementing it. Just a simple button on the original project's ClonesManagerWindow that copies/replaces the Packages folder in the clone project with the Packages folder from the original project.

I don't believe this is an acceptable work around. Closing and reopening the project takes time and hinders rapid iteration during development: https://github.com/VeriorPies/ParrelSync/wiki/Troubleshooting-&-FAQs#why-isnt-my-newly-installed-package-being-synced-to-clone-editors

Benefits are

  1. No more weird/misleading behavior when you forget that your clones and original have separate package versions (esp. when developing embedded packages). It's a good sanity check when debugging.
  2. The developer has full control over when the sync happens.
  3. There is less "mental overhead" than a symlink, it's a straight copy.

Screenshot 2022-10-16 170142

allows the user to sync the packages folder in the clone project with the original project, which is very useful when developing embedded packages
removed uses of var in favor of 'string' and 'Project' in order to better match the style of the original author
@314pies 314pies changed the base branch from master to dev June 16, 2024 05:56
@314pies 314pies merged commit 213d666 into VeriorPies:dev Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants