Skip to content
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

Missing dependencies fix #19052

Merged
merged 20 commits into from
May 18, 2022
Merged

Missing dependencies fix #19052

merged 20 commits into from
May 18, 2022

Conversation

Noy-Maimon
Copy link
Contributor

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

fixes: An issue where the upload flow was re-uploading packs that were not modified due to the 'missing dependencies' mechanism - these packs had misspelled dependencies, causing them to be marked as missing dependencies (and therefore re-uploaded).
Also: reduced 'upload packs with dependencies zip' to upload only modified packs or packs that their dependencies have been modified.

@github-actions
Copy link

Your contributed GoogleChronicleBackstory pack has been modified on files:

Packs/GoogleChronicleBackstory/pack_metadata.json
Please review the changes here

@github-actions
Copy link

Your contributed CreatePlbkDoc pack has been modified on files:

Packs/CreatePlbkDoc/pack_metadata.json
Please review the changes here

Copy link
Contributor

@idovandijk idovandijk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this affect the demisto-sdk upload command when no flags are specified?
And does it affect the build process (when packs are uploaded), and if so was it tested in that way as well?

@Noy-Maimon
Copy link
Contributor Author

Noy-Maimon commented May 16, 2022

Does this affect the demisto-sdk upload command when no flags are specified? And does it affect the build process (when packs are uploaded), and if so was it tested in that way as well?

This has no effect on the 'demisto-sdk' upload command.
And of course it affects the build, that's the purpose here :) Yes, the builds were verified and tested.

@github-actions
Copy link

Your contributed Wiz pack has been modified on files:

Packs/Wiz/pack_metadata.json
Please review the changes here

Path(pack_with_dep_path).mkdir(parents=True, exist_ok=True)
if not (pack.zip_path and os.path.isfile(pack.zip_path)):
task_status = sign_and_zip_pack(pack, signature_key)
if pack.status not in [*SKIPPED_STATUS_CODES, PackStatus.SUCCESS.name]:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@Noy-Maimon Noy-Maimon merged commit 329050f into master May 18, 2022
@Noy-Maimon Noy-Maimon deleted the missing_dependencies_fix branch May 18, 2022 17:46
israelpoli pushed a commit that referenced this pull request May 15, 2024
* ignore dependencies of packs from other MP

* test pack

* fix dependencies

* fix random dependencies

* debug logs

* change

* test change

* remove failing pack

* d

* test change

* remove testing

* remove testing files

* add removed pack

* add removed pack

* lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants