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

Add manifest validation events handling #97

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

sylane
Copy link
Contributor

@sylane sylane commented Dec 12, 2024

These are some changed that are required to properly show the status of manifest validation during the pack command. This is needed by a PR already merged in grisp_tools but I forgot to push the changes in rebar3_grisp. As this is a bit old, it would be best if you validate that this is still working for you with the last main of grisp_tools, that the pack command is working as expected and showing the proper messages when run.

event([pack, package, extract_manifest, {error, Reason}]) ->
abort_message("Failed to extract software manifest", Reason);
event([pack, package, extract_manifest, {manifest, undefined}]) ->
console(" Software manifest not found !");
Copy link
Member

Choose a reason for hiding this comment

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

Is it an error/warning message ? It should maybe use warn/2 for it

Copy link
Member

@ziopio ziopio left a comment

Choose a reason for hiding this comment

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

I tested it too

@sylane sylane force-pushed the sylane/pack-manifest-events branch from fb6ef62 to 246ed05 Compare January 8, 2025 16:02
@sylane sylane merged commit b2de274 into master Jan 8, 2025
10 checks passed
@sylane sylane deleted the sylane/pack-manifest-events branch January 8, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants