Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ChangeLog: https://nim-lang.org/blog/2023/08/01/nim-v20-released.html PR: 273423 Reported by: ports@nicandneal.net (maintainer)
- Loading branch information
Showing
10 changed files
with
1,128 additions
and
1,019 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1687959495 | ||
SHA256 (nim-1.6.14.tar.xz) = d070d2f28ae2400df7fe4a49eceb9f45cd539906b107481856a0af7a8fa82dc9 | ||
SIZE (nim-1.6.14.tar.xz) = 5266632 | ||
TIMESTAMP = 1690986777 | ||
SHA256 (nim-2.0.0.tar.xz) = bd6101d840036fb78e93a69df6cf3f9fd0c21cd754b695ff84a3b4add8ed0af7 | ||
SIZE (nim-2.0.0.tar.xz) = 7491724 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- tools/deps.nim.orig 2023-08-02 16:00:39 UTC | ||
+++ tools/deps.nim | ||
@@ -20,25 +20,26 @@ proc execRetry(cmd: string) = | ||
|
||
proc cloneDependency*(destDirBase: string, url: string, commit = commitHead, | ||
appendRepoName = true, allowBundled = false) = | ||
- let destDirBase = destDirBase.absolutePath | ||
- let p = url.parseUri.path | ||
- let name = p.splitFile.name | ||
- var destDir = destDirBase | ||
- if appendRepoName: destDir = destDir / name | ||
- let quotedDestDir = destDir.quoteShell | ||
- if not dirExists(destDir): | ||
+ #let destDirBase = destDirBase.absolutePath | ||
+ #let p = url.parseUri.path | ||
+ #let name = p.splitFile.name | ||
+ #var destDir = destDirBase | ||
+ #if appendRepoName: destDir = destDir / name | ||
+ #let quotedDestDir = destDir.quoteShell | ||
+ #if not dirExists(destDir): | ||
# note: old code used `destDir / .git` but that wouldn't prevent git clone | ||
# from failing | ||
- execRetry fmt"git clone -q {url} {quotedDestDir}" | ||
- if isGitRepo(destDir): | ||
- let oldDir = getCurrentDir() | ||
- setCurrentDir(destDir) | ||
- try: | ||
- execRetry "git fetch -q" | ||
- exec fmt"git checkout -q {commit}" | ||
- finally: | ||
- setCurrentDir(oldDir) | ||
- elif allowBundled: | ||
- discard "this dependency was bundled with Nim, don't do anything" | ||
- else: | ||
- quit "FAILURE: " & destdir & " already exists but is not a git repo" | ||
+ # execRetry fmt"git clone -q {url} {quotedDestDir}" | ||
+ #if isGitRepo(destDir): | ||
+ # let oldDir = getCurrentDir() | ||
+ # setCurrentDir(destDir) | ||
+ # try: | ||
+ # execRetry "git fetch -q" | ||
+ # exec fmt"git checkout -q {commit}" | ||
+ # finally: | ||
+ # setCurrentDir(oldDir) | ||
+ #elif allowBundled: | ||
+ # discard "this dependency was bundled with Nim, don't do anything" | ||
+ #else: | ||
+ # quit "FAILURE: " & destdir & " already exists but is not a git repo" | ||
+ quit "FAILURE: git operations now allowed!: " & destDirBase |
Oops, something went wrong.