version-fox / version-fox/vfox
[BUG]: Ensure order when manipulating ` .tool-versions`
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 4k
- Forks
- 157
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 5
Description
Will this also fix the random reordering that occurs in .tool-versions when rebuilding a devcontainer? The versions don't change, just for example if I have elixir and erlang installed, sometimes erlang will be on top, sometimes elixir. I can create a separate issue if this isn't related.
Originally posted by @ccavolt in https://github.com/version-fox/vfox/issues/277#issuecomment-2125147977
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing a devcontainer rebuild that rewrites .tool-versions with Elixir and Erlang installed, then trace the entry point that manipulates that file. Done means repeated rebuilds preserve a deterministic order when the versions themselves have not changed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100