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

Arguments loading before and after labels #1648

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Theile
Copy link
Collaborator

@Theile Theile commented May 10, 2024

This change will read arguments BEFORE and AFTER the case statement for labels.

It means that lsagent label will work again, and that we can still fix things in labels.

utils/assemble.sh lsagent LOGGING=DEBUG lsagentServer=1.1.1.1 INSTALL=force name=TEST
2024-05-10 15:45:04 : INFO  : lsagent : setting variable from argument LOGGING=DEBUG
2024-05-10 15:45:05 : INFO  : lsagent : setting variable from argument lsagentServer=1.1.1.1
2024-05-10 15:45:05 : INFO  : lsagent : setting variable from argument INSTALL=force
2024-05-10 15:45:05 : INFO  : lsagent : setting variable from argument name=TEST
2024-05-10 15:45:05 : INFO  : lsagent : Total items in argumentsArray: 4
2024-05-10 15:45:05 : INFO  : lsagent : argumentsArray: LOGGING=DEBUG lsagentServer=1.1.1.1 INSTALL=force name=TEST
2024-05-10 15:45:05 : REQ   : lsagent : ################## Start Installomator v. 10.6beta, date 2024-05-10
2024-05-10 15:45:05 : INFO  : lsagent : ################## Version: 10.6beta
2024-05-10 15:45:05 : INFO  : lsagent : ################## Date: 2024-05-10
2024-05-10 15:45:05 : INFO  : lsagent : ################## lsagent
2024-05-10 15:45:05 : DEBUG : lsagent : DEBUG mode 1 enabled.
2024-05-10 15:45:05 : INFO  : lsagent : Reading arguments again: LOGGING=DEBUG lsagentServer=1.1.1.1 INSTALL=force name=TEST
2024-05-10 15:45:05 : DEBUG : lsagent : argument: LOGGING=DEBUG
2024-05-10 15:45:05 : DEBUG : lsagent : argument: lsagentServer=1.1.1.1
2024-05-10 15:45:05 : DEBUG : lsagent : argument: INSTALL=force
2024-05-10 15:45:05 : DEBUG : lsagent : argument: name=TEST
2024-05-10 15:45:06 : DEBUG : lsagent : name=TEST
2024-05-10 15:45:06 : DEBUG : lsagent : appName=
2024-05-10 15:45:06 : DEBUG : lsagent : type=dmg
2024-05-10 15:45:06 : DEBUG : lsagent : archiveName=
2024-05-10 15:45:06 : DEBUG : lsagent : downloadURL=https://content.lansweeper.com/lsagent-mac/
2024-05-10 15:45:06 : DEBUG : lsagent : curlOptions=
2024-05-10 15:45:06 : DEBUG : lsagent : appNewVersion=10.2.0.0
2024-05-10 15:45:06 : DEBUG : lsagent : appCustomVersion function: Not defined
2024-05-10 15:45:06 : DEBUG : lsagent : versionKey=CFBundleShortVersionString
2024-05-10 15:45:06 : DEBUG : lsagent : packageID=
2024-05-10 15:45:06 : DEBUG : lsagent : pkgName=
2024-05-10 15:45:06 : DEBUG : lsagent : choiceChangesXML=
2024-05-10 15:45:06 : DEBUG : lsagent : expectedTeamID=65LX6K7CBA
2024-05-10 15:45:06 : DEBUG : lsagent : blockingProcesses=
2024-05-10 15:45:06 : DEBUG : lsagent : installerTool=LsAgent-osx.app
2024-05-10 15:45:06 : DEBUG : lsagent : CLIInstaller=LsAgent-osx.app/Contents/MacOS/installbuilder.sh
2024-05-10 15:45:06 : DEBUG : lsagent : CLIArguments=--mode osx --installer-language en --server 1.1.1.1 --port 9524
2024-05-10 15:45:06 : DEBUG : lsagent : updateTool=
2024-05-10 15:45:06 : DEBUG : lsagent : updateToolArguments=
2024-05-10 15:45:06 : DEBUG : lsagent : updateToolRunAsCurrentUser=

Use `PROXY` variable to specify a proxy so that `curl` can work through that if needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant