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
* Resolve dependencies from lockfiles #1237
Reference: #1237
Reference: #1066
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
* Address feedback and add improvements
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
* Improve dependency resolving from lockfiles #1237
Resolves dependency for cases where multiple requirements
are resolved by one package and all the version requirements
are joined for that package.
Reference: #1237
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
* Update scancode-toolkit and fix tests
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
* Bump scancode-toolkit to v32.2.0
Reference: https://github.com/nexB/scancode-toolkit/releases/tag/v32.2.0
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
* Regenerate test fixtures and expectations
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
* Improve dependency resolver for lockfiles
Handle various lockfile cases where:
* Same package/dependencies are present in different lockfiles
* Independent lockfiles without a manifest and root package
* Ecosystems which have only a single version of package in
their environment
* Dependency graphs where a resolved package can have many
parent packages.
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
* Address feedback and refactor code
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
* FIx bugs for resolving python packages
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
* Add unit tests and refactor code
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
* Address comments and add CHANGELOG entries
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
---------
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
help_text="True if this is a direct, first-level dependency relationship for a package.",
19
+
),
20
+
),
21
+
migrations.AddField(
22
+
model_name="discoveredpackage",
23
+
name="is_private",
24
+
field=models.BooleanField(
25
+
default=False,
26
+
help_text="True if this is a private package, either not meant to be published on a repository, and/or a local package without a name and version used primarily to track dependencies and other information.",
27
+
),
28
+
),
29
+
migrations.AddField(
30
+
model_name="discoveredpackage",
31
+
name="is_virtual",
32
+
field=models.BooleanField(
33
+
default=False,
34
+
help_text="True if this package is created only from a manifest or lockfile, and not from its actual packaged code. The files of this package are not present in the codebase.",
35
+
),
36
+
),
37
+
migrations.AlterField(
38
+
model_name="discovereddependency",
39
+
name="is_optional",
40
+
field=models.BooleanField(
41
+
default=False,
42
+
help_text="True if this dependency is an optional dependency",
43
+
),
44
+
),
45
+
migrations.AlterField(
46
+
model_name="discovereddependency",
47
+
name="is_resolved",
48
+
field=models.BooleanField(
49
+
default=False,
50
+
help_text="True if this dependency version requirement has been pinned and this dependency points to an exact version.",
51
+
),
52
+
),
53
+
migrations.AlterField(
54
+
model_name="discovereddependency",
55
+
name="is_runtime",
56
+
field=models.BooleanField(
57
+
default=False,
58
+
help_text="True if this dependency is a runtime dependency.",
0 commit comments