Payu general command wrapper for warning and exceptions formats#709
Draft
jo-basevi wants to merge 5 commits intopayu-org:masterfrom
Draft
Payu general command wrapper for warning and exceptions formats#709jo-basevi wants to merge 5 commits intopayu-org:masterfrom
jo-basevi wants to merge 5 commits intopayu-org:masterfrom
Conversation
…message by default
Collaborator
Author
|
Stacktrace and log level arguments will need to be passed along to PBS Jobs. So they might need to be passed along and set as environment variables in the various Line 107 in d97ecfa Environment variables for stack-trace/log_level will also need to be checked in |
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
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.
This PR:
payu-branch,payu-clone,payu-checkoutrunscript commands (I think I mistakingly added these..)runscriptcommands (e.g.payu-run,payu-sync, etc) and moved the parsing logic out of the subcommand modules.payu setup,payu run)--stacktraceflag for enabling stacktraces with exceptions and warnings (--verbosename for a flag was already taken by another payu command)--log-levelflag for enabling different level of logs.I've only done a couple tests so far - which are mostly just manually adding random
logger.debug,raise ValueErrorandwarnings.warn()lines to methods to trigger errors.Related to #673