Draft
Conversation
- Introduced DirDiff class for tracking directory file changes. - Updated ConsoleApplication to use addCommand for build targets. - Enhanced PackageBuilder with methods for deploying binaries and extracting debug info. - Improved package installation logic to support shared extensions. - Added readline extension with patching for static builds.
# Conflicts: # composer.lock # config/env.ini # src/SPC/ConsoleApplication.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important notes
STATUS:
dev-> alpha -> beta -> rc -> stableContribution notes:
alphaversion, any changes should be merged intov3-dev, notv3.alphaversion, any changes should be merged intov3and we will deprecatev3-devbranch.betaversion.RFCs
Progress of refactoring
bin/refactoringbin/spcfor v3bin/spc-alpine-dockerbin/spc-gnu-dockerbin/docker-entrypoint.shbin/setup-runtimev3 new modules
bootstrapfile for initialization (StaticPHP v3 #980) (src/bootstrap.php)init-registrycommand for vendor userCommands refactoring
ConsoleApplication dynamic generating commands for
targettype packages (StaticPHP v3 #980)Custom commands in external registry (StaticPHP v3 #980)
DownloadCommand
--from-zip,--all,--with-openssl11have been removed (StaticPHP v3 #980)--without-suggests,--for-packages,--ignore-cache,--parallel,--no-shallow-clone(StaticPHP v3 #980)--with-php,--clean,--custom-url,--custom-git,--no-alt,--with-php(StaticPHP v3 #980)--for-extensions,--for-libs,--without-suggestions,--ignore-cache-sources,--prefer-pre-built(StaticPHP v3 #980)BaseCommand
BuildLibsCommand
--alloption forbuild:libs(StaticPHP v3 #980)BuildPHPCommand -> BuildTargetCommand with
phppackage--with-libs: Keep for compatibility, add--with-packagesoption (StaticPHP v3 #980)--build-shared--build-all: Special parsing in v3 (StaticPHP v3 #980)--no-strip,--disable-opcache-jit,--build-{sapi},--with-config-file-path,--with-config-file-scan-dir,--with-hardcoded-ini,--with-micro-fake-cli,--with-added-patch (-P),--without-micro-ext-test,--with-upx-pack,--with-micro-logo,--enable-micro-win32,--with-frankenphp-apphas been moved tophppackage definition (StaticPHP v3 #980)no-stripdisable-opcache-jitwith-config-file-pathwith-config-file-scan-dirwith-hardcoded-iniwith-micro-fake-cliwith-addeed-patchwithout-micro-ext-testwith-upx-packwith-micro-logoenable-micro-win32with-frankenphp-appbuild-sharedwith-packages(with-libs)build-allbuild-{sapi}exceptbuild-frankenphp(StaticPHP v3 #980)build-frankenphpwith-suggests(with-suggested-libs,with-suggested-exts)no-download(StaticPHP v3 #980)with-clean#[StaticPHP\Attribute\Package\Info](StaticPHP v3 #980)phppackagebuildstage before (StaticPHP v3 #980)CraftCommand
DeleteDownloadCommand
DoctorCommand (StaticPHP v3 #980) (Just command, not Doctor items)
DumpExtensionsCommand
DumpLicenseCommand
ExtractCommand (Just command, not Extractor)
for-extensions(StaticPHP v3 #980)for-libs(StaticPHP v3 #980)for-packages(StaticPHP v3 #980)without-suggestsforfor-*options (StaticPHP v3 #980)InstallPkgCommand ->InstallPackageCommand
skip-extractMicroCombineCommand
SPCConfigCommand
SwitchPhpVersionCommand
Dev commands
Doctor module
Legacy modules (v2 only - SPC namespace)
These modules exist in v2 but are refactored/merged into new v3 modules: