FormidableLabs / FormidableLabs/formideploy

Bug: `formideploy archives` shouldn't require deploy validation.

Offen
#35 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
JavaScript
Sterne
7
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

For example, in `formidable.com` repo if we do `formideploy archives` in an uninstalled/non-built repo we get this:

```
[formideploy] Starting {"action":"archives"} with options {"port":5000,"limit":10,"start":"2021-04-06T14:49:38.241Z","dryrun":false,"production":false,"staging":false}
[formideploy][error] Error: Build output missing at: public
at validate (/Users/rye/scm/fmd/formideploy/lib/config/index.js:210:11)
at async archives (/Users/rye/scm/fmd/formideploy/lib/actions/archives.js:208:3)
at async main (/Users/rye/scm/fmd/formideploy/bin/formideploy.js:95:3)
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduce `formideploy archives` in an uninstalled or non-built repository, then inspect `lib/actions/archives.js` and the `validate` logic in `lib/config/index.js`. Confirm that the archives action can run without requiring the `public` build output, while preserving validation where it is still needed.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.