-
Notifications
You must be signed in to change notification settings - Fork 165
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
Enforce argument priority order #430
Comments
The reason for this issue is that it will autoload the format in the config.json file. Do we need to set the isStandaloneConfigIgnored to true when using LocationsCliArguments? Or the level of format in the config.json file is meant to be higher than the one in command line & repo-config.csv ? |
Can be joint into the discussion of #390 |
@fzdy1914 is this issue still relevant? |
It is still valid. In #390, we have allowed the config in |
The current priority order is a bit odd. How about this? |
The order makes sense.
Also workable. We can change the
Under this circumstance, when CLI argument exists, it will override the same argument in both I hope my explanation is clear enough, lol. |
sounds good. |
For this |
The order is better, however, wouldn't this means that if I were want to ignore a specific field in standalone config, I will need to fill up all the empty fields with the |
Yes, I suppose so. It's inconvenient, but can tolerate. Not that difficult to copy-paste a value into a range of cells in excel. |
It can mean the standalone overrides csv, not CLI. As |
I am thinking of having 2 different mode, When using the flag How does that sound? |
We'd better define all possibilities.
|
In both cases, CSV has highest priority, hence:
So in summary, |
Sounds good. Minor change given below.
|
To summarise the discussion above,
May I clarify the following:
|
Good question
Note that theres author configurations involve as well, that is something that need to be take care of as well.
Yes |
Wouldn't it follow the same logic?
|
Do note that the complication here is, how are you going to enforce the use of all authors / override when the |
Step to reproduce:


Enter the command that contains -formats field (java in the example)
However, the dashboard contains unrelated format
The text was updated successfully, but these errors were encountered: