You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Normalizes requirements
* normalize should also take alias into account
* progress
* Use original requirements for installing packages
* Internally normalizes deps
* [OK] should ignore features specified in `requires` when using the vmparser
* adds urls to the packageToDependency table
* removes comment
* Stores the package version table in SATResult. Uses it to do a lookup fallback
* temporary comments an "easy" to fix test
* [OK] cannot remove package with develop reverse dependency
* [OK] can uninstall
* [OK] Forge alias is generated inside lockfile
* Removes normalizedRequirements lookup table
* Revert "Removes normalizedRequirements lookup table"
* Reenables last test
* Replaces direct comparisons with `cmpIgnoreCase`
Copy file name to clipboardExpand all lines: src/nimblepkg/packageinfotypes.nim
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,17 @@ type
116
116
pkg*: Option[PackageInfo] #when none, we need to install it
117
117
version*: Version
118
118
119
+
PackageMinimalInfo*=object
120
+
name*: string
121
+
version*: Version
122
+
requires*: seq[PkgTuple]
123
+
isRoot*: bool
124
+
url*: string
125
+
126
+
PackageVersions*=object
127
+
pkgName*: string
128
+
versions*: seq[PackageMinimalInfo]
129
+
119
130
SATResult*=refobject
120
131
rootPackage*: PackageInfo
121
132
pkgsToInstall*: seq[(string, Version)] #Packages to install
@@ -129,6 +140,8 @@ type
129
140
declarativeParseFailed*: bool
130
141
declarativeParserErrorLines*: seq[string]
131
142
nimResolved*: NimResolved
143
+
normalizedRequirements*: Table[string, string] #normalized -> old. Some packages are not published as nimble packages, we keep the url for installation.
0 commit comments