Sanity check for missing packages folder but existing cache file
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
When the cache exists under paket-files, it does not download any missing files. Even if the complete packages folder is missing, nothing is downloaded.
Repro steps
I accidently checked in the paket-files folder, as it was not in my gitignore file before. After that, the build server did not restore any package anymore.
Expected behavior
When the package folder does not exist or is empty, it should ignore the cache or at least print a message.
Known workarounds
Ask on twitter why no package is restored anymore, than remove the cache file from the version control ;)
Contributor guide
No contributing guide indexed for this repository
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 the restore with an existing paket-files cache and a missing or empty packages folder, then trace Paket's package restore and cache handling entry points. Done means missing package files are downloaded despite the cache, or a clear message explains why restoration was skipped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100