User tests: Successful: Unsuccessful:
Pull Request for Issue # .
With pull request (PR) #42152 , parameters --exclude-bzip2
and --include-zstd
of the build/build.php
PHP CLI script have been changed to --include-bzip2
and --exclude-zstd
.
That has been made in the help method of that script, so the help outputs the new parameters, and the logic to check the parameters also has been adapted. See here for the changes: https://github.com/joomla/joomla-cms/pull/42152/files .
But it has been forgotten to change the parameter names in the call to the getopts
PHP function which reads in those parameters from the command line, and so the new parameters will never be set in the script.
The mentioned PR was the last change for the build/build.php
script, so we can be sure that the getopts
really just has been forgotten and not been changed with a later quick fix for whatever reason.
This PR here fixes that by adapting the getopts
call to the right parameter names.
In addition, this PR updates the .drone.yml
file by removing the old --exclude-bzip2
parameter from the call to the build script in the "prepare" step. That has no practical consequences as that parameter had been renamed before and so the bzip2 files were never built and will still not be built with that call. This should also have been done with the previously mentioned other PR.
Use the build/build.php
on a clean, current 5.0-dev branch (no need for composer install
or npm ci
before that) on an environment where PHP CLI is available.
--include-bzip2
parameter (using the --exclude-gzip
just to save time):php ./build/build.php --remote=HEAD --exclude-gzip --include-bzip2
--include-bzip2
parameter (using the --exclude-gzip
just to save time):php ./build/build.php --remote=HEAD --exclude-gzip
--exclude-zstd
parameter (using the --exclude-gzip
just to save time):php ./build/build.php --remote=HEAD --exclude-gzip --exclude-zstd
--exclude-zstd
parameter (using the --exclude-gzip
just to save time):php ./build/build.php --remote=HEAD --exclude-gzip
Build full package files.
Building Joomla_5.0.2-rc2-dev-Development-Full_Package.zip... done.
Building Joomla_5.0.2-rc2-dev-Development-Full_Package.tar.zst... done.
Build full update package.
Building Joomla_5.0.2-rc2-dev-Development-Update_Package.zip... done.
Building Joomla_5.0.2-rc2-dev-Development-Update_Package.tar.zst... done.
Build of version 5.0.2-rc2-dev complete!
Build full package files.
Building Joomla_5.0.2-rc2-dev-Development-Full_Package.zip... done.
Building Joomla_5.0.2-rc2-dev-Development-Full_Package.tar.bz2... done.
Building Joomla_5.0.2-rc2-dev-Development-Full_Package.tar.zst... done.
Build full update package.
Building Joomla_5.0.2-rc2-dev-Development-Update_Package.zip... done.
Building Joomla_5.0.2-rc2-dev-Development-Update_Package.tar.bz2... done.
Building Joomla_5.0.2-rc2-dev-Development-Update_Package.tar.zst... done.
Build of version 5.0.2-rc2-dev complete!
Build full package files.
Building Joomla_5.0.2-rc2-dev-Development-Full_Package.zip... done.
Building Joomla_5.0.2-rc2-dev-Development-Full_Package.tar.zst... done.
Build full update package.
Building Joomla_5.0.2-rc2-dev-Development-Update_Package.zip... done.
Building Joomla_5.0.2-rc2-dev-Development-Update_Package.tar.zst... done.
Build of version 5.0.2-rc2-dev complete!
Build full package files.
Building Joomla_5.0.2-rc2-dev-Development-Full_Package.zip... done.
Build full update package.
Building Joomla_5.0.2-rc2-dev-Development-Update_Package.zip... done.
Build of version 5.0.2-rc2-dev complete!
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Repository |
Labels |
Added:
PR-5.0-dev
|
Category | Repository | ⇒ | Unit Tests Repository |
Labels |
Added:
Unit/System Tests
|
Title |
|
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-01-21 10:15:20 |
Closed_By | ⇒ | HLeithner |
looks good thanks, seems I missed some bits while changing this.