Step 1 of deps parsing of optional operator and version, and cleanup of envars#151
Step 1 of deps parsing of optional operator and version, and cleanup of envars#151IgorTodorovskiIBM merged 6 commits intomainfrom
Conversation
MikeFultonDev
left a comment
There was a problem hiding this comment.
Just a comment on the dubxtion
| export _BPXK_AUTOCVT=ON | ||
| export _CEE_RUNOPTS="\$_CEE_RUNOPTS FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)" | ||
|
|
||
| cleanup_envars() |
There was a problem hiding this comment.
Does cleanup_envars delete duplicate entries? Is there a better name?
|
@MikeFultonDev, some more details on this PR:
This now checks in the dependency directory for a .version file. The .version file is product via a It also introduces a new envar: This info is then copied into a $ZOPEN_INSTALL_DIR/.deps file. Step 2 will be to modify Jenkins so that the .version and .deps files are processed and metadata is placed into the github releases. Then zopen download will be modified to extract the version and runtime deps metadata, which will be used for runtime dependency processing. I tested this PR with a few ports to ensure no regressions. We'll need to go through and add ZOPEN_RUNTIME_DEPS and zopen_get_version to all of the ports. |
MikeFultonDev
left a comment
There was a problem hiding this comment.
Nice. Should the tool to generate a new port be updated to include templates for this new function
Oh yes, I forgot to do that! |
|
Added the templates to zopen generate |
af97f5c to
f1d1919
Compare
f1d1919 to
82c88ec
Compare
This is step of parsing the dependencies which can have a comparison and version. I am not currently using it in any way yet, that logic will come in a later commit.
I will likely move it to common.inc in step 2 because zopen download will need it for runtime dependencies.
I have also added cleanup_envars, which will cleanup dupes in our envars.
If you have any comments on the code so far, please let me know.