Query Library transfer script and cookbook article #1415
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A community user asked about being able to transfer Query Library contents. While we have future plans to make this more seamless, we discussed the topic internally and agreed that it would be reasonable to educate power users on how to safely modify the JSON themselves.
In this PR I've included a Python script that attempts to make the transfer as easy/safe as possible along with a "cookbook" article for the wiki that describes its use and limitations.
Since we use Actions to move docs content from its location in the repo to its final wiki destination, I've put up a copy of the article in a wiki in a personal repo at https://github.com/philrz/scratchwiki/wiki/Query-Library-Transfer so you can see that the links work as intended. The location of the Python script as referenced in the
curl
command lines in the article won't work until this PR is merged, but you can check it out locally for now if you want to test it.