quarto update
does not removed out-dated files
#7375
Labels
bug
Something isn't working
extensions
relates to Quarto extensions mechanism
triaged-to
Issues that were not self-assigned, signals that an issue was assigned to someone.
Milestone
Bug description
When updating a quarto extension,
quarto update
does not delete out-dated files.Considering this extension https://github.com/ThinkR-open/quakr/ as a reprex
The
tmp
branch contains one exta filescoucou.truc
compare tomain
tmp
main
Steps to reproduce
Create a quarto project and add extension
thinkr-open/quakr
using the version from branchtmp
mkdir -p quarto-bug cd quarto-bug/ quarto create-project quarto add thinkr-open/quakr@tmp --no-prompt
As expected the file
coucou.truc
is present in the extension folderNow updating the extension switching to
main
. Mimicking the suppression of the filecoucou.truc
Expected behavior
The extension is updated and correspond to the version on
main
.coucou.truc
should be deleted.Actual behavior
The extension is updated but the file
coucou.truc
is NOT deleted and remains in the extension directory.Your environment
OS: Ubuntu Jammy 22.04 LTS
Quarto check output
The text was updated successfully, but these errors were encountered: