Various specs fail on Windows for all Ruby versions
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 22/100
Direzione di ricerca
The failing specs are listed by file and line, across spec/integration (committing_spec.rb, resolving_cherry_pick_conflict_spec.rb), spec/overcommit/git_repo_spec.rb, several spec/overcommit/hook/pre_commit specs, and replace_branch_spec.rb. Start by running one listed spec on Windows to see the actual error, since the issue gives no cause. Done when the listed specs pass on Windows and the path-handling and git-invocation differences are understood.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
At the moment of writing this Issue, these are the specs that are failing:
rspec ./spec/integration/committing_spec.rb:85 # commiting to an empty repo when a hook fails exits with a non-zero status
rspec ./spec/integration/resolving_cherry_pick_conflict_spec.rb:41 # resolving cherry-pick conflicts exits with a non-zero status
rspec ./spec/integration/resolving_cherry_pick_conflict_spec.rb:46 # resolving cherry-pick conflicts does not remove the CHERRY_PICK_HEAD file
rspec ./spec/integration/resolving_cherry_pick_conflict_spec.rb:52 # resolving cherry-pick conflicts keeps the commit message from the cherry-picked commit
rspec ./spec/overcommit/git_repo_spec.rb:218 # Overcommit::GitRepo.list_files when listing contents of a directory when directory contains a file when path contains spaces is expected to include "D:/a/_temp/d20240224-2700-ihp1yw/some-repo/some dir/file"
rspec ./spec/overcommit/hook/pre_commit/hard_tabs_spec.rb:26 # Overcommit::Hook::PreCommit::HardTabs when file contains hard tabs is expected to fail
rspec ./spec/overcommit/hook/pre_commit/local_paths_in_gemfile_spec.rb:27 # Overcommit::Hook::PreCommit::LocalPathsInGemfile when file contains a local path in Ruby 1.8 hash syntax format is expected to report a warning
rspec ./spec/overcommit/hook/pre_commit/local_paths_in_gemfile_spec.rb:33 # Overcommit::Hook::PreCommit::LocalPathsInGemfile when file contains a local path on its own line in Ruby 1.8 hash syntax format is expected to report a warning
rspec ./spec/overcommit/hook/pre_commit/local_paths_in_gemfile_spec.rb:39 # Overcommit::Hook::PreCommit::LocalPathsInGemfile when file contains a local path starting with leading spaces in Ruby 1.8 hash format is expected to report a warning
rspec ./spec/overcommit/hook/pre_commit/local_paths_in_gemfile_spec.rb:45 # Overcommit::Hook::PreCommit::LocalPathsInGemfile when file contains a local path in Ruby 1.9 hash syntax format is expected to report a warning
rspec ./spec/overcommit/hook/pre_commit/local_paths_in_gemfile_spec.rb:51 # Overcommit::Hook::PreCommit::LocalPathsInGemfile when file contains local path on its own line in Ruby 1.9 hash syntax format is expected to report a warning
rspec ./spec/overcommit/hook/pre_commit/local_paths_in_gemfile_spec.rb:57 # Overcommit::Hook::PreCommit::LocalPathsInGemfile when file contains local path starting with leading spaces in Ruby 1.9 hash format is expected to report a warning
rspec ./spec/overcommit/hook/pre_commit/merge_conflicts_spec.rb:27 # Overcommit::Hook::PreCommit::MergeConflicts when file contains a merge conflict marker is expected to fail
rspec ./spec/overcommit/hook/pre_commit/trailing_whitespace_spec.rb:26 # Overcommit::Hook::PreCommit::TrailingWhitespace when file contains trailing whitespace is expected to fail
rspec ./spec/overcommit/hook/pre_commit/trailing_whitespace_spec.rb:32 # Overcommit::Hook::PreCommit::TrailingWhitespace when file contains trailing tabs is expected to fail
rspec ./spec/overcommit/hook/prepare_commit_msg/replace_branch_spec.rb:79 # Overcommit::Hook::PrepareCommitMsg::ReplaceBranch#run when the checked out branch matches the pattern when skip_if exits with a zero status does not change the commit message
- Lingua principale
- Ruby
- Stelle
- 4k
- Fork
- 288
- Merge medio
- 2g 4h
- PR unite (30g)
- 18
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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.
Altre issue di sds/overcommit
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
sds/overcommit#909 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
sds/overcommit#847 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 62/100
sds/overcommit#908 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
sds/overcommit#875 ·
I maintainer di solito rispondono entro 1 giorno
-
help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
sds/overcommit#869 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di sds/overcommit
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
seek4science/seek#2784 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
yosiat/panko_serializer#243 ·
-
enhancement priority: medium risk: low v1.9.0
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
davidteren/mutineer#379 ·
I maintainer di solito rispondono entro 2 giorni
-
Translation tutorial: snippet crashes on chunks export and misses simple { t } entriesForse già presa @Mahdi-Hasan l’ha presa oggi. Apertaresource-documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
TarteelAI/quranic-universal-library#1020 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100