-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Signed-off-by: tdruez <tdruez@nexb.com>
- Loading branch information
Showing
13 changed files
with
128 additions
and
12 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
53 changes: 53 additions & 0 deletions
53
scanpipe/migrations/0058_discovereddependency_resolved_to_and_more.py
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,53 @@ | ||
# Generated by Django 5.0.4 on 2024-05-17 07:11 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("scanpipe", "0057_rename_symbol_collection_pipelines"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="discovereddependency", | ||
name="resolved_to", | ||
field=models.ForeignKey( | ||
blank=True, | ||
editable=False, | ||
help_text="The resolved package for this dependency. If empty, it indicates the dependency is unresolved.", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name="resolved_dependencies", | ||
to="scanpipe.discoveredpackage", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="discovereddependency", | ||
name="datafile_resource", | ||
field=models.ForeignKey( | ||
blank=True, | ||
editable=False, | ||
help_text="The codebase resource (e.g., manifest or lockfile) that declares this dependency.", | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="declared_dependencies", | ||
to="scanpipe.codebaseresource", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="discovereddependency", | ||
name="for_package", | ||
field=models.ForeignKey( | ||
blank=True, | ||
editable=False, | ||
help_text="The package that declares this dependency.", | ||
null=True, | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name="declared_dependencies", | ||
to="scanpipe.discoveredpackage", | ||
), | ||
), | ||
] |
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
File renamed without changes.
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
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
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