Nice! Really like the format on your github these days. You have been busy.
So this is the magic sauce. Didn't know about --git-overridesI need to get back to building 3rd party so I can install this new build for RHEL9.
Went down the rabbit hole of install.sh for 2 days looking at how schema's are created/updated to see if we could could bring devel built installs back to tag built in an automated fashion. Close but need more work. I was doing fine until they made some java calls and then I was lost in the sea of obfuscation of all that self documenting no commented code.
I'll need to install a development build and then try to reproduce that error at some point.
it could be as simple as: stop zimbra, change /opt/zimbra/conf/zimbra-attrs.xml then install.sh for upgrade... But I think @zmcontrol probably attempted that so am trying to dig deeper to root cause.Which they eventually use to create the value of /opt/zibmra/conf/zimbra-attrs-schemaJim

So this is the magic sauce. Didn't know about --git-overrides
Code:
git clone --depth 1 --branch ZCS-13984_10.0.0 git@github.com:Zimbra/zm-build.gitcd zm-buildENV_CACHE_CLEAR_FLAG=true ./build.pl --ant-options -DskipTests=true --git-default-tag=10.0.7,10.0.6,10.0.5,10.0.4,10.0.2,10.0.1,10.0.0-GA,10.0.0 --build-release-no=10.0.7 --build-type=FOSS --build-release=LIBERTY --build-release-candidate=GA_10.0.7_maldua --build-thirdparty-server=files.zimbra.com --no-interactive --git-overrides zm-core-utils.branch=ZCS-13984_10.0.0
Went down the rabbit hole of install.sh for 2 days looking at how schema's are created/updated to see if we could could bring devel built installs back to tag built in an automated fashion. Close but need more work. I was doing fine until they made some java calls and then I was lost in the sea of obfuscation of all that self documenting no commented code.

it could be as simple as: stop zimbra, change /opt/zimbra/conf/zimbra-attrs.xml then install.sh for upgrade... But I think @zmcontrol probably attempted that so am trying to dig deeper to root cause.
Code:
% pwd/home/jad/build-zimbra/zmbuild/my-automated-build/zm-mailbox% git log -1 --pretty='format:%at' store/conf/attrs/zimbra-attrs.xml1673397105
Code:
# zmsetup.pl (code of interest)chomp (my $ldapSchemaVersion = do { local $/ = undef; open my $fh, "<", "/opt/zimbra/conf/zimbra-attrs-schema" or die "could not open /opt/zimbra/conf/zimbra-attrs-schema: $!"; <$fh>;});sub configLDAPSchemaVersion { return if ($haveSetLdapSchemaVersion); if (isEnabled("zimbra-ldap")) { progress ("Updating zimbraLDAPSchemaVersion to version '$ldapSchemaVersion'\n"); setLdapGlobalConfig('zimbraLDAPSchemaVersion', $ldapSchemaVersion); $haveSetLdapSchemaVersion = 1; }}
Statistics: Posted by JDunphy — Sat Mar 30, 2024 1:11 pm