-
Notifications
You must be signed in to change notification settings - Fork 144
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
Make DDB Collection names insensitive to the zAppbuild (build.groovy) --application parameter / name of Git Repositories #345
Comments
Hi @FALLAI-Denis , thank you for opening this idea. I am agreeing with it, but would like to keep Lines 439 to 452 in 5a649f0
We have seen (#143) that this might not be always correct. Additionally, what I have observed when analysing this, we are actually doing hard-coded defaults around the Lines 334 to 339 in 5a649f0
The automated calculation of the My ideas are to:
So, with the second change, you specify the configuration and determine the build group and collections names from the CLI rather than having zAppBuild make some automated calculations. Additionally to your scenario - You have the flexibility in What are your thoughts on this? Dennis |
Hi,
DBB uses Collections to store metadata related to builds.
zAppbuild (build.groovy) determines the name of the Collections and passes them to DBB.
Currently the name of the Collection is that of
--application <arg>
, for us the name / path of the Git Repository used, and the name of the Git branch used.The name of the Git Repository is also used for references to dependencies, (reference of copybooks used by COBOL programs, wich are imported form external Git Repositories).
Any change of name / path of the Git Repository (
--application <arg>
) or Git branch is harmful to the operation of zAppbuild...And we've just forcibly undergone a change in the Git Repository naming / path standard on our site...
Even if zAppbuild is only a build application model, (aka Gilles P. from IBM ;-) ), we want to stay as close as possible to this model and not to drift too much to be able to benefit from the evolutions therein are brought.
We ask that the determination of the names of DBB Collections and the inverse function which makes it possible to find an application name (a Git Repository) from the name of a Collection be outsourced from the build. Groovy script and move to a "site" script to be adapted to the need and constraint of the site, so with two functions which could be something like:
Thus we could no longer have a direct dependency between the name of the Application (path of the Git Repository) and the name of the Collection, but this relationship would be calculated.
Thanks.
The text was updated successfully, but these errors were encountered: