-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Goal
Finish the package rebrand so the code, docs, and public API consistently use Executor / Contributte\Executor instead of the old Scheduler naming.
The repository is already contributte/executor, but the package still exposes a large Scheduler surface.
Scope
- Rename PHP namespaces from
Contributte\Scheduler\...toContributte\Executor\... - Rename core public classes/interfaces:
IScheduler->IExecutorScheduler->ExecutorLockingScheduler->LockingExecutorSchedulerExtension->ExecutorExtension
- Update all imports/usages across
src/andtests/ - Rename console commands from
scheduler:*toexecutor:* - Rename DI/docs config examples from
scheduler:toexecutor: - Update lock-path and other examples from
schedulertoexecutor - Update package/docs metadata and branding:
composer.jsonREADME.md.docs/README.mdruleset.xml- badges, links, package name references, homepage, descriptions
Affected areas
Code
src/IScheduler.phpsrc/Scheduler.phpsrc/LockingScheduler.phpsrc/DI/SchedulerExtension.php- namespace updates in the rest of
src/ - command classes under
src/Command/
Tests
tests/Cases/DI/SchedulerExtension.phpt- fixtures importing
Contributte\Scheduler\...
Metadata / docs
composer.jsonREADME.md.docs/README.mdruleset.xml
Backward compatibility
This rename changes the public API, so we should decide whether to:
- do a hard break for the next major release, or
- ship temporary deprecated BC shims
Recommended approach: add temporary BC shims for one transition release.
That would mean:
- deprecated class/interface aliases or forwarding wrappers for old
Contributte\Scheduler\...symbols - deprecated
scheduler:*command aliases - temporary support for old
scheduler:config in DI extension if practical
Proposed implementation order
- Rename PHP namespace and public symbols to
Contributte\Executor - Update DI extension naming and service/config surface
- Rename console commands to
executor:* - Add BC layer for old names/commands/config if we want a transition period
- Update docs, README, badges, package metadata, and examples
- Run tests/QA and do a final search for leftover references:
Contributte\\Schedulerscheduler:contributte/schedulergithub.com/contributte/scheduler
Verification
- DI container compiles with the new extension/config
- console exposes the new
executor:*commands - docs/examples match the final API
- no stale
Schedulerbranding remains except intentional BC shims - tests and QA pass
Notes
The repo is already named contributte/executor, so this issue is mainly about aligning the codebase and documentation with the repository/package direction.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels