Repository navigation
chore: absorb domains into packages/domains - #13922
Merged
Merged
Conversation
Co-authored-by: Torsten Dittmann <[email protected]>
Co-authored-by: Torsten Dittmann <[email protected]>
Co-authored-by: Torsten Dittmann <[email protected]>
Co-authored-by: Torsten Dittmann <[email protected]>
Added registrar details to README
Removes leftovers in Adapter
OpenSRS API functionality
Allows purchase and transfer methods to pass in one or more Contacts
OpenSRS Contact fixes.
…tions Add support for wildcard and exception
Fix a typo in README.md
refactor(storage, domains, cdn, fastly): use client 0.5's names
# Conflicts: # composer.lock
# Conflicts: # rfc/monorepo.md
Contributor
|
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
This was referenced Sep 26, 2026
# Conflicts: # composer.lock
# Conflicts: # composer.lock
# Conflicts: # composer.lock
# Conflicts: # composer.lock # rfc/monorepo.md
data/data.php matched that filename in any package; name the one generated file Pint must skip.
…nt runs bin/monorepo check runs Pint from packages/domains, where the file is data/data.php, so the root-relative path stopped excluding it. Pint's notPath matches anywhere in the relative path, so data/data.php covers both runs.
# Conflicts: # composer.lock
replace hides packages/domains' own require from Composer, so the root now declares ext-simplexml, which the OpenSRS adapter needs. CONTRIBUTING.md still sent contributors to utopia-php/monorepo.
Member
Author
|
@greptile review |
TorstenDittmann
approved these changes
Sep 28, 2026
This was referenced Sep 28, 2026
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.
Summary
Moves
utopia-php/domainsintopackages/domainsso Appwrite loads it directly. Wave 2 of #13828, following the playbook inrfc/monorepo.md. The mirror head (811f321) is the4.3.0release Appwrite already locks, so there is no version gap and Appwrite runs the same code.Commits
Add 'packages/domains/' from commit '811f321…'chore(domains): mirror plumbingmirror.ymlpoints here, README banner refreshed. No banned files to removerefactor: load domains from packages/maincomposer.lockregenerated on top of mainWhat changed
composer.jsonreplaceentries added;utopia-php/domains: ^4.3removed fromrequire.replacesatisfies the still-vendoreddnsandemailspsr/http-client ^1.0was already in root. Rootpsr/http-messagenarrowed from^1.1 || ^2.0to^2.0, because the package requires^2.0andreplacehides that from the solver. Lock stays at2.0composer.lockutopia-php/domainsremoved (+1/−65, content hash)src/src/Domains/*moved up tosrc/. Only non-formatting edit:Domain.phploads the Public Suffix List from__DIR__ . '/../data/data.php'(one level less, required by the move). Otherwise Pint only (empty{}bodies,fn (spacing)tests/Utopia\Tests/Utopia\Domains\Validator→Utopia\Domains\Tests\….NameComTestandOpenSRSTest(real registrar APIs, skip without credentials) moved totests/E2E/Registrar/.MockTest,DomainTestand validator tests stay in the unit tierphpunit.xmlunit=testsminustests/E2E;e2e=tests/E2Ephpstan.neonsrcandtests, withphpstan-baseline.neonholding 274 findings (219 src, 55 tests). The package had no PHPStan config of its own. Added to the RFC phase 8 listrector.phpClassPropertyAssignToConstructorPromotionRector,ReadOnlyPropertyRectorandBinaryOpNullableToInstanceofRector(the last would rewrite a$this->cache &&check inNameCom.php) sosrcstays as releasedpint.jsonnotPath: ["data/data.php"], the same exclusionutopia-php/monorepoused. The generated 1 MB Public Suffix List is tab-indented; without it Pint rewrites every line and runs out of memory at the default 128M limitext-simplexmlis not hoisted, matching earlier absorbs, which leaveext-*requirements in the package manifest.Validation
bin/monorepo validatebin/monorepo check domainsbin/monorepo test domainsNAMECOM_*/OPENSRS_*credentials)vendor/bin/phpunit --testsuite packages --filter 'Utopia\\Domains'inappwrite/appwrite:2.3.0CodecTestdata-provider errors from missingigbinary, unrelated to this packageCertificates,Workers/Certificates,Tasks/SSL,Proxy/Action,Webhooks/Create,Avatars/Favicon/Get,resources/request.phpcomposer validate --no-check-publishutopia-php/platformexact-version warning)bin/monorepo split domains --dry-run4d6fc01, fast-forward of the mirror head811f321(+2 commits)git diff --checkMirror state
mainruleset, split app (4016286) as bypass, so absorbed with--skip-rulesetmainutopia-php-monorepoinbypass_pull_request_allowances, no required status checks, no push restrictions, force pushes off. The bypass should let Split push, but confirm on the first Split run; if it fails, remove the classic protection (not changed here)After merge
Splitrun fordomainsis green and the mirror fast-forwards from811f321utopia-php/monorepopackages/domainsthereext-memcached/ext-opentelemetry, a dependency-tree complaint, likely obsolete now), #42 (vendor size fromutopia-php/compression, not this package's code), #26 (getRegisterable()validation), #4 (blogspot.com subdomain parsing). #26 and #4 are real bug reports to re-open here if still reproducibledomainsinutopia-php/monorepo🤖 Generated with Claude Code