Rake not executing some tasks, gives "Invoke <task>s (first_time, not_needed)"
Nessuno ha ancora preso questa issue.
- Lingua principale
- Ruby
- Stelle
- 2.5k
- Fork
- 650
- Merge medio
- 6m
- PR unite (30g)
- 3
Descrizione
I posted a SO question about his issue here. Most of the background is there. Here's the gist:
I have a task called :run that takes one argument, :filter. Depending on what I pass as the argument, it will sometimes execute with the trace:
** Invoke run (first_time)
** Execute run
Other times it doesn't execute at all, giving the trace:
** Invoke runs (first_time, not_needed)
Notice that when it fails, the trace says runs and not run even though run is the task typed in the command.
This happens when I run the rakefile in some directories, but not others.
Using:
- ruby 2.0.0p645 (2015-04-13) [i386-mingw32]
- rake, version 10.4.2
- Window 7
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dalla domanda collegata su Stack Overflow e riproduci il comportamento usando il Rakefile menzionato, il task :run e il relativo argomento :filter. Confronta le esecuzioni dalle directory in cui la trace differisce, concentrandoti sul motivo per cui la trace cambia da un’esecuzione all’altra e segnala not_needed. Il lavoro è completato quando il task viene eseguito in modo coerente con la trace prevista in queste directory.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ruby
- Ambito
- build-system, cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 32/100