Skip to content

feat(extension): add source field to extension metadata and enhance update command - #13764

Closed
mcanouil wants to merge 8 commits into
quarto-dev:mainfrom
mcanouil:fix/issue11468
Closed

mcanouil wants to merge 8 commits into
quarto-dev:mainfrom
mcanouil:fix/issue11468

Conversation

@mcanouil

@mcanouil mcanouil commented Dec 6, 2025 •

Copy link
Copy Markdown
Collaborator

Introduce a source field in the extension metadata to track installation origins.
Enhance the update extension command to support directory names for installed extensions, allowing for easier updates.

Add tests to verify the correct handling of the source field during installation.

Fix #11468

Disclaimer: the test changes were made with help of DeepWiki and Claude.

@mcanouil mcanouil self-assigned this Dec 6, 2025
@posit-snyk-bot

posit-snyk-bot commented Dec 6, 2025 •

Copy link
Copy Markdown
Collaborator

✅ Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@mcanouil
mcanouil marked this pull request as ready for review December 6, 2025 11:50
@mcanouil
mcanouil marked this pull request as draft December 6, 2025 12:14
@mcanouil mcanouil changed the title feat: add source field to extension metadata and enhance update command feat(extension): add source field to extension metadata and enhance update command Dec 6, 2025
@cscheid cscheid added this to the v1.10 milestone Feb 17, 2026
@mcanouil mcanouil modified the milestones: v1.10, v1.11 Jul 30, 2026
@mcanouil
mcanouil marked this pull request as draft October 19, 2026 11:53
@cderv cderv modified the milestones: v1.11, v1.12 Oct 29, 2026
@mcanouil

mcanouil commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator Author

@mcanouil

mcanouil commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

I'm closing this pull request.
q2 already records where an extension was installed from, in a separate .quarto-source.yml file next to each extension, and it never edits the author's _extension.yml.
Adding a source key to _extension.yml here would create a second format that q2 ignores.
The details of the q2 record are in #11468 (comment), and #11468 stays open for that work.

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.

Record/keep extension source for later reuse (quarto update extension ...)

4 participants