Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[NFR]: crest new runs the commands that crest.php lists

Chiusa
#32 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@niden ci sta già lavorando.

Dal 28/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement

Summary

crest.php can list commands that crest new runs after it writes the project.

Why

crest new runs nothing today: no composer, no docker, no network. This is a decision: a run that writes the files and then fails in composer is worse than printing the next commands. A list in crest.php keeps that default, and lets a user choose more.

Scope

  • A key in crest.php (required after #28) lists commands, in order. For example composer install, or crest up and crest install.
  • An empty list, the default, keeps today's behavior: new runs nothing.
  • new writes all the files first, then runs the commands. The first command that fails stops the list, with a message that names it. The files stay.

Open

  • The key name and its form.
  • Where the list comes from before the project exists: a published project-config stub (crest stub:publish), or the questions of new (#28).
  • How this fits with the one-line setup for docker-only users.

Done when

A list in crest.php makes new run those commands in order, and stop at the first failure with a clear message.

Related: #28, #8.

Lingua principale
PHP
Stelle
1
Fork
0
Merge medio
3h 11m
PR unite (30g)
26

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di phalcon/crest

Tutte le issue di phalcon/crest

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.