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

Support of Git submodules in Build process #110

Open
FALLAI-Denis opened this issue May 25, 2022 · 1 comment
Open

Support of Git submodules in Build process #110

FALLAI-Denis opened this issue May 25, 2022 · 1 comment

Comments

@FALLAI-Denis
Copy link

Hi,

After reading various white papers on IBM DBB, and the implementation of zAppBuild, I deduced that the management of the search context of COPYBOOKs / INCLUDEs could be quite difficult to implement in Groovy scripts.

I'll suggest another approach: using Git's submodules feature.

A Git submodule allows you to reference a secondary Git repository branch from a primary Git repository:

  • the main Git repository would contain all the sources for the programs
  • the secondary Git repositories would contain all the COPYBOOKs / INCLUDEs necessary for the programs

The COPYBOOKs / INCLUDEs of external Applications would be searched in the master branch of secondary Git repositories.
The COPYBOOKs / INCLUDEs of the current Application would be searched for in the develop branch of the secondary Git Repository of the current Application, except for hotfix maintenance where the master branch should be used (switchover to be done before launching the hotfix build).

Would this mode of operation be compatible with IBM DBB (and Git for z/OS)?

See All languages (COBOL first) - Search for COPYBOOKs / INCLUDEs in Git Repositories in IBM / zopeneditor-about.

@dennis-behm
Copy link
Member

Apologies for the late reply. We have customers who use ibm/dbb-zappbuild with git submodules.

So, yes. This is an absolutely valid scenario to include external dependencies into your build and also the IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants