Skip to content

T42 housekeeping - #43

Merged
niden merged 5 commits into
masterfrom
T42-housekeeping
Oct 13, 2026
Merged

niden merged 5 commits into
masterfrom
T42-housekeeping

Conversation

@niden

@niden niden commented Oct 13, 2026

Copy link
Copy Markdown
Member

Hello!

In raising this pull request, I confirm the following:

  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • composer test, composer cs and composer analyze all pass
  • I have created a PR for the documentation about this change, if user facing

  • Added Crest\Console\Output::alias() and Crest\Console\Kernel::alias(): show a folder as another folder in the output. In a container, crest shows the host paths of the project: the hand-off and ./crest give it CREST_HOST_ROOT. #42
  • Added the path questions to init: a folder for each path, with a note if it exists. An answer must be in a psr-4 folder, and its folder names must give a usable namespace. A leading ./ is removed. The answer none gives no front controller. #42
  • Added the bootstrap, runtime and service rows to config:show. #42
  • Added Crest\Project\Vendor: the vendor and bin folders of a project, by the rules of composer. #34
  • Added --help to resources/setup.sh: it shows the options of new. #42
  • Changed the runtime key: the host runtime keeps a stated service, and crest install uses it. A service that is not a service name is an error. #42
  • Changed ./crest: one crest= line names the crest of the project, and the crest commands get CREST_HOST_ROOT. #42
  • Changed resources/setup.sh: the working folder has the same path in the one-off container, so the errors of new show host paths. A system folder, for example /usr, is refused as the working folder. APP_PORT goes into the project .env. With rootless docker, it writes UID=0 and GID=0, and does no chown. After a failed up or install, it prints the commands to continue. #42
  • The error no answer; input ended starts on its own line. #42

Thanks

@niden
niden requested a review from Jeckerson October 13, 2026 01:11
@niden niden self-assigned this Oct 13, 2026
@niden niden added the enhancement New feature or request label Oct 13, 2026
Assisted-by: Claude Code
@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown

Code Metrics Report

master (8e299fe) T42-housekeeping (f9e23ab) +/-
Coverage 99.5% 99.5% +0.0%
Test Execution Time 3s 7s +4s
Details
  |                     | master (8e299fe) | T42-housekeeping (f9e23ab) |  +/-  |
  |---------------------|------------------|----------------------------|-------|
+ | Coverage            |            99.5% |                      99.5% | +0.0% |
  |   Files             |               62 |                         63 |    +1 |
  |   Lines             |             1476 |                       1602 |  +126 |
+ |   Covered           |             1469 |                       1595 |  +126 |
- | Test Execution Time |               3s |                         7s |   +4s |

Code coverage of files in pull request scope (100.0% → 100.0%, patch 100.0%)

Files Coverage +/- Patch Coverage Status
src/Command/Config/ShowCommand.php 100.0% 0.0% 100.0% modified
src/Command/InitCommand.php 100.0% 0.0% 100.0% modified
src/Command/Questions.php 100.0% 0.0% 100.0% modified
src/Command/ServeCommand.php 100.0% 0.0% 100.0% modified
src/Console/Kernel.php 100.0% 0.0% 100.0% modified
src/Console/Output.php 100.0% 0.0% 100.0% modified
src/HandOff.php 100.0% 0.0% 100.0% modified
src/Project/Config.php 100.0% 0.0% 100.0% modified
src/Project/Manifest.php 100.0% 0.0% 100.0% modified
src/Project/Runtime.php 100.0% 0.0% 100.0% modified
src/Project/Survey.php 100.0% 0.0% 100.0% modified
src/Project/Vendor.php 100.0% +100.0% 100.0% added

Reported by octocov

@niden
niden merged commit f62f8d0 into master Oct 13, 2026
24 checks passed
@niden
niden deleted the T42-housekeeping branch October 13, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant