Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
9b156f8
feat: add multi-stack support
lucatume Nov 12, 2025
5f7d048
ignore .env.slic.stacks
lucatume Nov 13, 2025
8fbfe86
set version to 3.0.0
lucatume Nov 13, 2025
aea88d4
add git worktree support
lucatume Nov 13, 2025
094bbd3
fix: include worktree functions
lucatume Nov 14, 2025
2464841
fix: register the use target in the stack information
lucatume Nov 14, 2025
3f0580e
fix: --stack option support
lucatume Nov 14, 2025
16a3417
fix: stack management
lucatume Nov 17, 2025
0d366ce
feat: support -y|--yes flags across all commands
lucatume Nov 18, 2025
1ef2f98
fix: undefined key warning
lucatume Nov 18, 2025
798df82
docs: remove worktree support plan
lucatume Nov 18, 2025
24806cb
fix: support -y|--yes flag correctly
lucatume Nov 18, 2025
eb3934b
fix: read stack id and worktree correctly
lucatume Nov 18, 2025
cd5f463
refactor: remove unused var
lucatume Nov 18, 2025
9e3992c
fix: worktree stack detection in init
lucatume Nov 18, 2025
794a503
fix: remove version from worktree override file
lucatume Nov 18, 2025
bcc55ba
doc: set version to 3.0.0
lucatume Nov 18, 2025
ce56f6d
Merge remote-tracking branch 'origin/main' into feat/worktree-support
lucatume Nov 18, 2025
531382e
fix: remove duplicate const define
lucatume Nov 18, 2025
bc8c743
fix: change XDK env var use to IDE key root
lucatume Nov 18, 2025
dddebea
fix: always display XDebug port and IDE key information
lucatume Nov 18, 2025
7e486b0
fix: remove excessibe blank lines
lucatume Nov 18, 2025
623cb46
refactor: extract xdebug fucntions to dedicate file
lucatume Nov 18, 2025
ae95b74
fix: xdebug port and key information
lucatume Nov 18, 2025
f4936fd
fix: localhost port information
lucatume Nov 18, 2025
0c1ed02
fix: fetch ports before first stack run
lucatume Nov 19, 2025
3a85b97
fix: xdebug env vars per stack
lucatume Nov 19, 2025
3f6e906
fix: run file loading order
lucatume Nov 20, 2025
1cb9857
fix: lock use command for worktrees
lucatume Nov 21, 2025
4adeaed
fix: using command in worktree context
lucatume Nov 21, 2025
71989f4
fix: add worktree among the Advanced commands
lucatume Nov 21, 2025
6ddbc74
fix: worktree merge command support
lucatume Nov 21, 2025
6c75d35
feat: interactive use command support
lucatume Nov 24, 2025
37cbdf8
refactor: add missing namespace, doc-blocks
lucatume Nov 25, 2025
2715fc5
feat: shell completions
lucatume Nov 25, 2025
849eaee
Merge remote-tracking branch 'origin/main' into 3.0.0
lucatume Nov 26, 2025
0b29a70
fix: warning about trim function use
lucatume Nov 26, 2025
413c8ea
Merge remote-tracking branch 'origin/main' into 3.0.0
lucatume Nov 26, 2025
4b91a73
Merge remote-tracking branch 'origin/main' into 3.0.0
lucatume Dec 1, 2025
f8be8a1
Merge remote-tracking branch 'origin/main' into 3.0.0
lucatume Dec 3, 2025
b9eef87
doc: update and reorganized xdebug document
lucatume Dec 3, 2025
f2eafe8
refactor: remove redundant call
lucatume Dec 9, 2025
60b1781
fix: set php-version to target current stack
lucatume Dec 9, 2025
31ab4bb
fix: stack PHP version application
lucatume Dec 9, 2025
465dd41
fix: cleanup stack configuration loading
lucatume Dec 11, 2025
d6a74bd
fix: read XDK root from config files to prevent env var contamination
lucatume Feb 4, 2026
e0c4af9
fix: prevent project .env.slic.local from overriding staged PHP version
lucatume Feb 23, 2026
782f933
feat: add NO_COLOR environment variable support
lucatume Feb 23, 2026
720e52c
feat: add PHPUnit .phpt test infrastructure
lucatume Feb 23, 2026
41576c2
chore: add .phpunit.result.cache to .gitignore
lucatume Feb 23, 2026
6ac82cf
feat: add SLIC_DOCKER_BIN env var to override the docker binary
lucatume Feb 23, 2026
91b2503
doc: update tests readme to document all available env vars
lucatume Feb 23, 2026
b95db19
ci: add GitHub Actions workflow for PHPUnit tests
lucatume Feb 23, 2026
9df212a
test: convert the tests to default PHPUnit
lucatume Feb 23, 2026
a500dee
test: fix paths
lucatume Feb 23, 2026
0817aad
test: fix path in phpunit.xml file
lucatume Feb 23, 2026
c45e213
chore: remove plan file
lucatume Feb 23, 2026
1acae5e
test: remove deprecated ClI README.md file
lucatume Feb 23, 2026
2578d32
doc: add changelog entry
lucatume Feb 23, 2026
ea88791
doc: add tests/Cli README.md
lucatume Feb 23, 2026
20daf97
Merge pull request #236 from stellarwp/v3/phpt-setup
lucatume Feb 23, 2026
a3a9153
test: add and use directory factory
lucatume Feb 25, 2026
3851fb3
test: add comprehensive PHP version detection tests
lucatume Feb 25, 2026
cda4b24
Merge remote-tracking branch 'origin/main' into 3.0.0
lucatume Feb 25, 2026
a74b355
Merge remote-tracking branch 'origin/main' into 3.0.0
dpanta94 Mar 11, 2026
60194ba
Merge branch 'main' into 3.0.0
dpanta94 Jun 1, 2026
c04416b
Merge branch 'main' into 3.0.0
dpanta94 Sep 15, 2026
372686c
fix: restore 2.4.x hunks dropped while merging main into 3.0.0
dpanta94 Sep 15, 2026
3c5db67
fix: apply interactive, build-prompt, build-subdir and composer-cache…
dpanta94 Oct 19, 2026
19e3f6a
fix: run sub-directory commands in the slic service
dpanta94 Oct 19, 2026
830174f
fix: keep the stack registered on slic restart
dpanta94 Oct 19, 2026
bac55f1
test: run the CLI tests without an SSH agent or a prompt
dpanta94 Oct 19, 2026
3e9b4fa
Merge branch 'main' into 3.0.0
dpanta94 Oct 19, 2026
4b62e5f
fix: stop -q from dropping the first CLI argument
dpanta94 Oct 19, 2026
30288bc
fix: load the stack state when a stack is passed explicitly
dpanta94 Oct 19, 2026
cc4c930
fix: use the requested stack's XDebug settings in docker_compose()
dpanta94 Oct 19, 2026
17e2654
fix: allocate worktree XDebug ports under the registry lock
dpanta94 Oct 19, 2026
17378a6
fix: write the worktree state file before registering the stack
dpanta94 Oct 19, 2026
2d8d41f
test: switch debug off after the worktree XDebug test
dpanta94 Oct 19, 2026
78c707e
fix: honor xdebug port and key overrides for a stack
dpanta94 Oct 19, 2026
cd859ea
fix: accept --stack paths that contain an @
dpanta94 Oct 19, 2026
fa13ba0
fix: allow worktrees for branch names with dots
dpanta94 Oct 19, 2026
c20442d
fix: reject a detached worktree when adding a branch worktree
dpanta94 Oct 19, 2026
b860fdf
fix: keep completion caches for targets and branches per directory
dpanta94 Oct 19, 2026
45263bf
fix: repair bash and zsh tab completion
dpanta94 Oct 19, 2026
8053661
fix: let a lone Escape cancel the interactive picker
dpanta94 Oct 19, 2026
98bb53f
fix: apply a staged PHP version to one slic use only
dpanta94 Oct 19, 2026
b57d345
fix: complete slic use targets from the current stack
dpanta94 Oct 19, 2026
e930365
fix: tell users how to remove worktrees before stopping a base stack
dpanta94 Oct 19, 2026
3f42005
fix: report the debug setting in slic debug status
dpanta94 Oct 19, 2026
1506d08
fix: publish WordPress on a Docker-assigned port for each stack
dpanta94 Oct 19, 2026
05e65ec
fix: tell worktree stacks apart from paths that contain an @
dpanta94 Oct 19, 2026
5b28fec
fix: accept -y before the branch in worktree add and remove
dpanta94 Oct 19, 2026
fac399d
fix: validate worktree branch names with git's own rules
dpanta94 Oct 19, 2026
3cf6492
fix: keep a stack's recorded ports in step with Docker
dpanta94 Oct 19, 2026
f66a994
fix: offer to register an unregistered worktree from inside it
dpanta94 Oct 19, 2026
8c91872
fix: say which XDebug overrides apply to a stack
dpanta94 Oct 19, 2026
8d53dd6
fix: find slic through a relative symlink when setting up completions
dpanta94 Oct 19, 2026
c55cc88
fix: expand ~ in a stack path that contains @
dpanta94 Oct 19, 2026
6f41ad2
fix: mount a site worktree in its base stack's content directory
dpanta94 Oct 19, 2026
6b19afe
fix: offer to register a worktree from its subdirectories
dpanta94 Oct 19, 2026
0e708f5
fix: give the plugins directory back after WordPress starts as root
dpanta94 Oct 20, 2026
b6ab18d
fix: quote content directories passed to chown
dpanta94 Oct 20, 2026
2ef3622
fix: give the plugins directory back after slic use
dpanta94 Oct 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .env.slic
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ SLIC_PHP_VERSION=7.4

# XDebug configuration parameters, will apply to the `cli`, `wordpress` and `codeception` services.
# ===============================
# The IDE key used to identify connection requests coming from the services.
# The IDE key root used to identify connection requests coming from the services.
# Each stack will have a unique and deterministic IDE key set from this root
# in the format "{XDK}_<stack_hash>".
XDK=slic
# Whether to enable XDebug in the containers or not.
XDE=0
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Tests

on:
push:
branches:
- main
- '[0-9]+.[0-9]+.[0-9]+'
pull_request:

jobs:
tests:
name: PHPUnit (PHP ${{ matrix.php-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php-version: ['8.2']

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
env:
fail-fast: true

- name: Install dependencies
run: composer install --no-interaction --prefer-dist

- name: Run tests
run: vendor/bin/phpunit
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ _plugins
.using
# Any .env.slic.* file created to override the slic cli tool configuration or to configure the runs.
.env.slic.local
.env.slic.run
.env.slic.run*
.env.slic.stacks
.env.slic.stacks.lock

# Any .build-version file created by the slic cli tool.
.build-version
Expand All @@ -39,3 +41,6 @@ _plugins

# slic own cache directory
.cache

# PHPUnit cache
.phpunit.result.cache
Loading
Loading