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

SAT Progress #1217

Merged
merged 9 commits into from
May 2, 2024
Merged

SAT Progress #1217

merged 9 commits into from
May 2, 2024

Conversation

jmgomez
Copy link
Collaborator

@jmgomez jmgomez commented May 1, 2024

Most tests are green now

src/nimble.nim Outdated Show resolved Hide resolved
src/nimble.nim Outdated Show resolved Hide resolved
src/nimble.nim Outdated Show resolved Hide resolved
jmgomez and others added 3 commits May 1, 2024 19:29
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
src/nimble.nim Outdated Show resolved Hide resolved
src/nimble.nim Outdated Show resolved Hide resolved
@@ -323,7 +323,8 @@ proc getSolvedPackages*(pkgVersionTable: Table[string, PackageVersions], output:
result.add solvedPkg

proc getCacheDownloadDir*(url: string, ver: VersionRange, options: Options): string =
options.pkgCachePath / getDownloadDirName(url, ver, notSetSha1Hash)
return ""
# options.pkgCachePath / getDownloadDirName(url, ver, notSetSha1Hash)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this disabled?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It prevents packages being downloaded twice ("" makes it so it uses a temp directory). A test is failing when is set (SAT only oc). I disabled it so I can be sure it doesnt interfere with the main goal which is making existing functionality work with SAT, after that I will work on the failing test (spend a lot of time already trying to fix it, but decided to move on and fix SAT first)

@Araq Araq merged commit 7aea7dd into nim-lang:master May 2, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants