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

Ability to duplicate contexts with resources #439

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Ability to duplicate contexts with resources #439

merged 1 commit into from
Dec 11, 2023

Conversation

bezumkin
Copy link
Contributor

What does it do ?

This changes allows to import resources from existing context into new one.

When you try to import resource with existing id, but not existing in required context, there will be created new with respect to tree structure.

Why is it needed ?

To extract content of one context, translate, and import back into the new one.


How to:

  • gitify extract 1 context and its resources
  • change settings to new not existing context in .gitify
  • rename files and folders of extracted _data
  • change context_key of extracted resources
  • import it back with gitify build
Untitled.mov

@muzzwood muzzwood merged commit 4100e50 into modmore:master Dec 11, 2023
@muzzwood
Copy link
Contributor

Working nicely! Thanks @bezumkin !

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