-
Notifications
You must be signed in to change notification settings - Fork 173
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
feat: migrate package create to slog #3132
Merged
Merged
Conversation
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
✅ Deploy Preview for zarf-docs canceled.
|
mkcp
changed the title
WIP: migrate package create to slog
feat: migrate package create to slog
Oct 24, 2024
mkcp
force-pushed
the
mkcp/slog-package-create
branch
2 times, most recently
from
October 24, 2024 02:01
e7052c4
to
5fbe641
Compare
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
…ng away from message on package create Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
…sole-slog and console format Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
mkcp
force-pushed
the
mkcp/slog-package-create
branch
from
October 24, 2024 23:29
3e3c88f
to
7b387e8
Compare
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
You will need to edit cmd.Execute to slog an error message |
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Co-authored-by: Austin Abro <37223396+AustinAbro321@users.noreply.github.com>
Revisions applied - should be good to go. Just waiting on ci checks. |
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
AustinAbro321
approved these changes
Oct 25, 2024
2 tasks
Jneville0815
pushed a commit
to radiusmethod/zarf
that referenced
this pull request
Dec 12, 2024
Signed-off-by: Kit Patella <kit@defenseunicorns.com> Co-authored-by: Austin Abro <37223396+AustinAbro321@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This PR:
sloglint
devslog
(via--log-format="dev"
) andconsole-slog
(via--log-format="console"
)packager.Packager
and stores a context on it so we can log in its New() which has some load bearing logging. This is intended as a workaround.--log-format=""
== "none. So slog must be directly enabled.cmd/root
and feature flagging for disabling message and using logger.setupMessage()
ensures PTerm output is discarded and sets the values for--no-progress
, and--confirm
.zarf package create
Related Issue
Relates to #2576
Checklist before merging