Repository navigation
Per-app sync.sh: incremental updates of an installed app - #68
Open
namedgraph wants to merge 3 commits into
Open
namedgraph wants to merge 3 commits into
namedgraph wants to merge 3 commits into
Conversation
…mmit: it pushes the tree when a pushed file changed, re-imports the ontology only when the model changed, re-runs only the imports whose files changed and waits for them to finish, and deletes the documents whose sources are gone. A master push that passes check-docs dispatches its commit range to linkeddatahub.com, which holds the credentials and runs the syncs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The check-docs dispatch job goes: it named one deployment and needed that deployment's secret, and a dispatched commit range was lost when the sync it triggered failed. linkeddatahub.com now polls for new commits against its own last-synced marker. Imports in a sync pass --wait, which develop's CLI calls already carry, so ldh_app_track_import and ldh_app_await_imports go. ldh_app_sync covers an app made of an ontology, a document tree and an imports.csv; copenhagen, northwind-traders and docs are that call, and unesco-thesaurus and packages add their own step after it. packages re-declares every stylesheet whenever the push ran, since the push PUTs every descriptor and drops the ac:stylesheet install.sh added, not only when a .xsl changed. `make sync` runs a full sync with the same prompts as `make install`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Adds a
sync.shbeside each app'sinstall.sh. Unlikeinstall.sh, it can run on every commit:install.shsync.shpackages addadmin/model/changedldh push.ldhignorerespected, via the push's dry-run plan)LDH_PREVIOUS_TREEis set--wait)lib/ldh-app.shgainsldh_app_changed,ldh_app_push_changed,ldh_app_delete_removedandldh_app_sync.ldh_app_syncis the whole sync for copenhagen, northwind-traders and docs. unesco-thesaurus and packages add one step after it. WithLDH_CHANGEDunset, a sync is a full, repeatable run, andmake syncstarts one with the same prompts asmake install.Deciding which commits to sync is left to the deployment. This repository no longer dispatches to linkeddatahub.com; that repo polls
masterand keeps its own last-synced marker (AtomGraph/linkeddatahub.com#12). Needs CLI 6.2.0, the same as develop'sinstall.sh.🤖 Generated with Claude Code