-
Notifications
You must be signed in to change notification settings - Fork 88
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
Inspect_manifest pipeline error for get_manifest_inputs() #1034
Labels
Comments
AyanSinhaMahapatra
added a commit
that referenced
this issue
Dec 21, 2023
The inspect_manifest pipeline is now renamed to inspect_manifests and this supports uploading a whole package/codebase archive to find manifests and resolve all packages in them, as opposed to supporting only manifests to be uploaded. Reference: #1034 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
@mjherzog you can upload both unarchived files as a workaround. |
I already did that and it worked, but we cannot expect a team to manually find and upload the manifest files in a codebase. This needs to be automated and the current doc indicates that the pipeline should handle the extraction. |
AyanSinhaMahapatra
added a commit
that referenced
this issue
Dec 22, 2023
The inspect_manifest pipeline is now renamed to inspect_manifests and this supports uploading a whole package/codebase archive to find manifests and resolve all packages in them, as opposed to supporting only manifests to be uploaded. Reference: #1034 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
AyanSinhaMahapatra
added a commit
that referenced
this issue
Dec 22, 2023
Reference: #1034 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
AyanSinhaMahapatra
added a commit
that referenced
this issue
Dec 22, 2023
Reference: #1034 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
AyanSinhaMahapatra
added a commit
that referenced
this issue
Dec 22, 2023
Reference: #1034 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
I think what we need mostly is a way to inspect a codebase for packages only.
Here is the plan I suggest:
|
tdruez
pushed a commit
that referenced
this issue
Jan 25, 2024
* Add support for codebase/packages in inspect_manifest The inspect_manifest pipeline is now renamed to inspect_manifests and this supports uploading a whole package/codebase archive to find manifests and resolve all packages in them, as opposed to supporting only manifests to be uploaded. Reference: #1034 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com> * Add test for archives as inspect_manifest input Reference: #1034 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com> * Address review feedback Reference: #1037 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com> --------- Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
tdruez
added a commit
that referenced
this issue
Jan 25, 2024
Signed-off-by: tdruez <tdruez@nexb.com>
tdruez
added a commit
that referenced
this issue
Feb 8, 2024
Signed-off-by: tdruez <tdruez@nexb.com>
tdruez
pushed a commit
that referenced
this issue
Feb 14, 2024
* Restructure pipelines for verbosity Remove scan_codebase_packages pipeline, and restructure inspect_packages pipeline into load_sbom and resolve_packages pipelines. Reference: #1035 Reference: #1034 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com> * Refactor functions and improve docstrings Reference: #1074 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com> * Add unittests for new functions Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com> * Update docs and add CHANGELOG entry Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com> * Improve docstrings for pipelines Suggested-by: Philippe Ombredanne <pombredanne@nexb.com> Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com> --------- Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I uploaded a tar.gz archive of SCWB 4.0 for an SCIO project with the inspect_manifest pipeline. The archive contains 2 manifest files: package.json and package-lock.json.
The pipeline failed with the error:
I also created a project where I uploaded just the package-lock.json file and that worked.
System configuration
Expected behavior
I expected the inspect_manifest pipeline to find the package-lock.json file in the archive and report the npm packages (1448).
The text was updated successfully, but these errors were encountered: