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

Downloading a GitHub release assumes the first asset is correct

Aperta
#134 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@m4rc1e ci sta già lavorando.

Dal 10/4/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

https://github.com/googlefonts/diffenator2/blob/7986b847c22a7591b3d307d252f053ff99aa90ab/src/diffenator2/utils.py#L57-L73

(line 72, the [0])

In a project I'm working on, this downloads the wrong release artifact, resulting in an error later on. When using the GitHub Action, there's currently no way to work around this

A couple of suggestions:

  1. Some kind of filtering support (both in diffenator2 and its GitHub action) or other means of selection
  2. For the GitHub action, log the name of the file being downloaded so this is easier to debug :)

I don't need an urgent fix, just thought it was worth having on the issue tracker!

Lingua principale
Python
Stelle
70
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 googlefonts/diffenator2

Tutte le issue di googlefonts/diffenator2

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.