I have a test extension ([tarleb/test-extension](https://github.com/tarleb/test-extension)) that tries to keep a file outside of the `_extensions` folder. I'd like to use a symlink to make that file part of the extension.  However, `quarto install extension tarleb/test-extension` copies the symlink, which will usually point to a nonexisting file after the installation.

Here's the file structure of the source repository:

```
.
├── _extensions
│   └── test-extension
│       ├── _extension.yml
│       └── test-extension.lua -> ../../test-extension.lua
└── test-extension.lua
```

It would be convenient if the symlinks below `_extensions` could be replaced with the files/dirs that they point to, at least if those link targets are outside of the `test-extension` folder.

Background: I'd like to update the `tarleb/lua-filter-template` and make it easy for users of that template to provide filters as quarto extensions. Symlinking the filter would seem like a simple solution for that.
2022-08-05T18:46:56Z
tarleb
closed
Resolve symlinks when installing an extension.
https://github.com/quarto-dev/quarto-cli/issues/1700