Skip to content

Commit

Permalink
Remove outdated gallia config
Browse files Browse the repository at this point in the history
  • Loading branch information
rumpelsepp committed Dec 20, 2023
1 parent a354860 commit cfd1217
Showing 1 changed file with 0 additions and 91 deletions.
91 changes: 0 additions & 91 deletions penrun.config
Original file line number Diff line number Diff line change
Expand Up @@ -34,97 +34,6 @@ PENRUN_PIPE_COMMAND=("hr" "-p" "info")
# Useful to make sure, that only one instance of penrun can access a particular resource
# PENRUN_LOCK="/path/to/lock"

# Create a useful folder structure when the unified `gallia` entry point is used.
cmd_to_artifactsdir() {
local artifactsdir="$1"
local artifactsdir_base="$(dirname "$(dirname "${artifactsdir}")")"
local run_dir="$(basename "${artifactsdir}")"
local tag="$3"
local cmd_arr
read -r -a cmd_arr <<< "$4"

if [[ "${cmd_arr[0]}" == "gallia" ]] && (( "${#cmd_arr[@]}" >= 2 )) ; then
local sub_cmd=$(basename "${cmd_arr[1]}")
if [[ -n "$tag" ]]; then
echo "$artifactsdir_base/$sub_cmd-$tag/$run_dir"
else
echo "$artifactsdir_base/$sub_cmd/$run_dir"
fi
else
echo "$artifactsdir"
fi
}

################################################################################
# Penlog config

# Setting this environmental variable enforces color escape codes.
# It is best practice to disable color escape codes when the relevant output
# streams are redirected to a file or a pipe.
#
# export PENLOG_FORCE_COLORS="True"

# A switch for implementations to choose from several output forms.
# Available are: hr, hr-tiny, json, json-pretty, systemd
#
export PENLOG_OUTPUT="json"

# [Expert/Development]
# Enable the display of line numbers.
# Requires PENLOG_CAPTURE_LINES to be set.
#
# export PENLOG_SHOW_LINES="True"

# [Expert/Development]
# Enable the display of stacktraces.
# Requires ENLOG_CAPTURE_STACKTRACES to be set.
#
# export PENLOG_SHOW_STACKTRACES="True"

# [Expert/Development]
# If this environment variable is set, implementations SHOULD emit filenames
# with line numbers via the line field.
#
# export PENLOG_CAPTURE_LINES="True"

# [Expert/Development]
# If this environment variable is set, implementations SHOULD provide
# stacktraces via the stacktrace field.
#
# export PENLOG_CAPTURE_STACKTRACES="True"

# [Expert/Development]
# In order to limit the emitted logging messages, loglevels MAY be supported.
# If a library supports filtering based on loglevels, it MUST check this
# environment variable.
# The supported values are critical, error, warning, notice, info, debug.
# The default MUST be debug. A message MUST be omitted if its priority field
# contains a value greater than PENLOG_LOGLEVEL. A mapping between these strings
# and integer values is availabe in RFC5424.
#
# export PENLOG_LOGLEVEL="debug"


################################################################################
# Gallia config

# Define the OEM of the ECU in order to utilize OEM specific code
#
export GALLIA_OEM="default"

# Define the transport protocol the scanner is going to use.
# The target needs to be specified as an URI.
#
export GALLIA_TARGET="isotp://can0?src_addr=0x714&dst_addr=0x77e&tx_padding=0xaa&rx_padding=0xaa&is_fd=false"

# Limit the width of the --help output to this number of chars.
#
#export GALLIA_HELP_WIDTH=100

# Set the path to the sqlite database
# export GALLIA_DB=/path/to/db


################################################################################
# Miscellaneous config

Expand Down

0 comments on commit cfd1217

Please sign in to comment.