Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: preserve symlinks #220

Open
alexeagle opened this issue Sep 21, 2024 · 1 comment
Open

FR: preserve symlinks #220

alexeagle opened this issue Sep 21, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@alexeagle
Copy link

My scaffold has a tools/ folder with a bunch of utilities, they are all symlinks to one script (because Bazel will fetch them behind-the-scenes)

(see https://github.com/aspect-build/aspect-workflows-template/tree/main/%7B%7B%20.ProjectSnake%20%7D%7D/tools)

When this is scaffolded in a new project, these become regular files. That's not desirable since my users ought to end up with symlinks, they don't want the content of these things to diverge over time.

Maybe symlinks could always be preserved, or there could be a new option for this?
Thanks!

@hay-kot hay-kot added enhancement New feature or request help wanted Extra attention is needed labels Oct 7, 2024
@hay-kot
Copy link
Owner

hay-kot commented Oct 7, 2024

This sounds good for me! I'm not sure if this should be an option in the scaffold.yaml file or a command line flag. I'm thinking probably a command line flag?

Happy to accept a PR on this one, it might be some time before I can get to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants