You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TCE-1154] Inconsistencies in --registryAddress handling #514
Hello, thank you for adding the --registry-address handling flag. I just wanted to point out two issues I noticed when attempting to use this flag:
In bin/codacy-analysis-cli.sh#L46 it looks like we're expecting ${REGISTRY_ADDRESS} available as an environment variable instead of it using the flag? I didn't notice anything about that in the readme/instructions, but without setting that I noticed that when I ran codacy-analysis-cli analyze --registry-address <custom registry url> it was still pulling from the public registry. So I suppose I don't fully understand when the CLI flag applies vs the environment variable. Once I set that variable I saw the behavior I expected
It would be nice if the Makefile/initial setup could also leverage/respect the registry address override:
curl -L https://github.com/codacy/codacy-analysis-cli/archive/master.tar.gz | tar xvz
cd codacy-analysis-cli-* && sudo make install
I know we can modify it manually before running the install, but just might be a bit unexpected. Maybe that could leverage that same REGISTRY_ADDRESS for that if its already set in the environment?
changed the title [-]Inconsistencies in --registry-address override handling[/-][+][TCE-1154] Inconsistencies in --registryAddress handling[/+]on Oct 30, 2024
Activity
[-]Inconsistencies in --registryAddress handling[/-][+]Inconsistencies in --registry-address override handling[/+][-]Inconsistencies in --registry-address override handling[/-][+][TCE-1154] Inconsistencies in --registryAddress handling[/+]github-actions commentedon Oct 30, 2024
Internal ticket created : TCE-1154