-
Notifications
You must be signed in to change notification settings - Fork 5
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
Provide way to provide all optional parameter to each module #32
Comments
@jfy133 I need to fully understand what needs to be updated/added: Module options are usually defined in Let me know if this makes sense or not. |
So I don't like the further splitting up of module configs into multiple places, it makes it harder for users to then find. What I mean by the 'either by', is either we have a 'lenient' (simple for us, but risk of breakage for users) or 'strict' (more work for us, but more guaruntee it works) approach: LenientUser:
Dev:
There will indeed be a few cases this is a bit more tricky when indeed like you said there are some hardcoded stuff, but I know people like Nicolas v. N., Matthias d.S, and Maxime G. (will ping if we go this route) all do some fancy stuff to 'parse' these parameter strings to pluck out specific elements. StrictUser:
Dev:
More work for us, and we would then have to theroetically add one pipeline parameter for each of the parameters of the tool itself, which could be many. We could instead just offer a core set of ones that we think are most important for each build tool, and slow add more at user request, but I'm certainly not an expert in all of these tools to know what are the most important flags etc... |
I'm sort of leaning towards lenient and if it becomes problematic with lots of bug reports from peoples we can switch in a v2 to the strict mode... |
Does that help with the two options @alxndrdiaz ? The question more related to your original one is whether to expose the global parameters as options for everything (and those gos traight into |
Ok. It is clear now. I will do the "lenient" mode and will let you know when the PR is ready for review. |
Description of feature
Either by:
distinc tparameters on a one-to-one relationship (harder to maintainer), but ensures no breakage
The text was updated successfully, but these errors were encountered: