chore: development with easy db restore#74
Open
k-f-a wants to merge 1 commit into4TUResearchData:mainfrom
Open
chore: development with easy db restore#74k-f-a wants to merge 1 commit into4TUResearchData:mainfrom
k-f-a wants to merge 1 commit into4TUResearchData:mainfrom
Conversation
it implements a easy way during development restore virtuoso database to test specific data * justfile: extend it adding parameters to use specific db backup as dev data Signed-off-by: Kairo de Araujo <k.f.dearaujo@tudelft.nl>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Add the ability to restore a Virtuoso database backup when starting the development environment, making it easy to test against specific production data.
Contributors can restore a backup in a single command:
Specific state-graph is also possible
just devwithout arguments continues to work as beforeThis eliminates the need for manual database restore steps when a developer needs to work with a specific dataset.
Example
Changes
db_backupvariable in dev that auto-initializes Virtuoso config on fresh volumes before restoringjust devwithout arguments continues to work as beforestate-graphto be like data.4tu.nlApproval Checklist
Issue Reference (optional - PRs may not be associated with an issue)
Closes #ISSUE_NUMBER
Screenshots (optional)
Before/After visuals, UI changes, or relevant logs.
Notes (optional)
Additional context, caveats, or follow-up tasks.