How to remove manisfest from log ?

Aperta
#88 2 commenti 4 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
ci-cd

Direzione di ricerca

Start at index.js around line 89 and reproduce the GitHub Action behavior that downloads manifest.json and prints its contents. Check how curl errors are currently surfaced, then verify that successful downloads no longer emit the manifest while error cases still expose the downloaded content. Confirm the result using an action run or the repository's available tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The file https://deployer.org/manifest.json is downloaded and the content is shown in logs, 860 lines...

image

I don't think it's possible to hide content currently: https://github.com/deployphp/action/blob/v1.0.23/index.js#L89.

In case of a curl error, keeping the log is valuable, I think.

What would be the right approach to fix the problem ?

Idea:

  1. Save manifest.json in file with curl option --output
  2. If no error parse it
  3. In case of error show the content file

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
Lingua principale
TypeScript
Stelle
269
Fork
56
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 deployphp/action

Tutte le issue di deployphp/action

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.