Skip to content

Develop#274

Merged
namedgraph merged 12 commits intomasterfrom
develop
Mar 29, 2026
Merged

Develop#274
namedgraph merged 12 commits intomasterfrom
develop

Conversation

@namedgraph
Copy link
Copy Markdown
Member

No description provided.

@namedgraph namedgraph marked this pull request as draft March 20, 2026 10:46
namedgraph and others added 6 commits March 27, 2026 19:29
* Preserve existing master stylesheet content when installing/uninstalling packages

Replace XSLTMasterUpdater.regenerateMasterStylesheet() (which recreated the file
from scratch, wiping custom templates and namespace declarations) with focused
addPackageImport() and removePackageImport() methods that parse the existing
document, mutate only the xsl:import chain, and serialize it back.

Update InstallPackage and UninstallPackage call sites accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Avoid duplicate `xsl:import` statements

Fixed whitespace
Added HTTP test

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…ddatahub.com

Use a local URL for the nonexistent package URI so the test doesn't fail when
the external server is unreachable. Also catch NotFoundException and
ProcessingException in getPackage() so any HTTP/connection failure reliably
returns null and triggers the 422 response.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@namedgraph namedgraph merged commit 64c9f1f into master Mar 29, 2026
1 check passed
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.

1 participant