-
-
Notifications
You must be signed in to change notification settings - Fork 134
411 toolkit upgrade 2 #435
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
Merged
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
1178bfe
Upgrade scancode-toolkit to latest beta release #411
tdruez f9c6e77
Add a test class to regen test data #411
tdruez 5dd16d4
Upgrade container_inspector to latest 31.0.0 version #411
tdruez 2db2a8e
Handle new scan format in scancode pipes #411
JonoYang a42b374
Handle package_uids for DiscoveredPackages #411
JonoYang 1c2bdc3
Update deprecated code #411
JonoYang 2add897
Regenerate asgiref 3.3.0 test data #411
JonoYang ede8858
Add asgiref-3.3.0_scancode_scan.json #411
JonoYang 4a4fa99
Add asgiref-3.3.0_walk_test_fixtures.json #411
JonoYang 74d78b8
Signed-off-by: Jono Yang <jyang@nexb.com>
JonoYang 496f826
Update make_results_summary() #411
JonoYang ef74863
Exclude system_environment from diff #411
JonoYang ad4b056
Upgrade scancode-toolkit and extractcode to latest version #411
tdruez bcca2d7
Update package_getter #434 #438
JonoYang 7917727
Allow packages to be created without versions #438
JonoYang b6b1927
Update expected test results
JonoYang f46ea17
Report DiscoveredPackage correctly in summary #411
JonoYang 7e0d39a
Add test for docker pipeline for alpine #411
JonoYang abd3a5c
Add docker pipeline test for rpm images #411
JonoYang a50f79b
Track package_uids in make_results_summary #435
JonoYang 9823790
Add truncated ubuntu docker image for testing #435
JonoYang 92f6e98
Bump scancode and commoncode versions #435
JonoYang 0491ad5
Update docker pipeline #435
JonoYang 5ef693b
Fix code validity #411
tdruez 9757841
Simplify the filtering of key_files_packages using a QuerySet #411
tdruez 2b7ba71
Remove copied code from docker.py #411 #435
JonoYang 009d4e3
Update alpine test image and results #411 #435
JonoYang d867c52
Properly create multiple package instances #411
JonoYang a73e7ea
Sort packages in JSON output by type and name #411
JonoYang befe574
Get file info and packages in initial scan #438
JonoYang 093a52e
Revert changes to docker pipes and pipeline #438
JonoYang c58771a
Use generic package_getter for all distros #438
JonoYang 4a8713d
Use get_path() with strip_root to get paths #438
JonoYang a0705c3
Remove distro specific pipes #438
JonoYang 0c26b7c
Use list comprehension for key_file_packages #438
JonoYang c8424b3
Add package_uid field to DiscoveredPackage #411
JonoYang 552bdb8
Add test docker image for Ubuntu #438
JonoYang 155fe97
Update formatting #411 #438
JonoYang 18cc997
Use smaller rpm docker image for testing #438
JonoYang 23dc0e1
Replace ubuntu docker test image #438
JonoYang b3f4656
Use purl data in update_or_create_packages #438
JonoYang 1592cd3
Bump scancode version to v31.0.0rc1 #438 #411
JonoYang 9fcec67
Consider all PURL fields when ordering Packages #411 #438
JonoYang 20ffbe0
Create Packages before Resources #411 #438
JonoYang 784dbbc
Add test for load_inventory pipeline #411
JonoYang d57afa6
Code cleanups and formatting #411
tdruez 413cf0d
Upgrade dependencies #411
tdruez c8cb574
Refactor create_inventory_from_scan to remove duplicated code #411
tdruez 5aed5e8
Add changelog entry #411
tdruez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,18 @@ | ||
| # Generated by Django 4.0.4 on 2022-06-09 18:26 | ||
|
|
||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ('scanpipe', '0015_alter_codebaseresource_project_and_more'), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AddField( | ||
| model_name='discoveredpackage', | ||
| name='package_uid', | ||
| field=models.CharField(blank=True, help_text='Unique identifier for this package.', max_length=1024), | ||
| ), | ||
| ] |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.