`spoom srb bump DIRECTORY` bumps files outside DIRECTORY
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
Research direction
Start by locating the spoom srb bump DIRECTORY command and the path filtering logic described in the issue. Check how it expands DIRECTORY and compares it with file paths, then run the command with sibling directories such as lib/b and lib/bb. Done means only files inside the requested directory are bumped.
Written by the indexing model from the issue text.
Description
spoom srb bump DIRECTORY keeps the files whose absolute path starts with the expanded DIRECTORY string. The check does not require a path separator after the directory name, so sibling directories that share the prefix are bumped too.
Steps to reproduce
- In a Sorbet project, create
lib/b/file.rbandlib/bb/file.rb, both with# typed: false. - Run
spoom srb bump lib/b.
Expected behavior
Only lib/b/file.rb is bumped to typed: true.
Actual behavior
Both files are bumped:
Bumped `2` files from `false` to `true`:
+ lib/b/file.rb
+ lib/bb/file.rb
- Dominant language
- Ruby
- Stars
- 274
- Forks
- 30
- Avg merge
- 3h 4m
- Merged PRs (30d)
- 8
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Shopify/spoom
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
srb sigs translate: type parameter shadows a type name used in the same signaturePossibly taken @Hashim1999164 claimed this 97 days ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 56/100
Maintainers usually reply within 1 day
-
`srb sigs translate` removes comments during translationPossibly taken @KaanOzkan claimed this 223 days ago. Open
Shopify/spoom#900 · 1 assignee ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
Shopify/spoom#488 · 3 comments · 3 reactions ·
Maintainers usually reply within 1 day
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
TarteelAI/quranic-universal-library#1111 ·
Maintainers usually reply within 1 day
-
Generated cask uses deprecated `postflight` stanza; Homebrew 7 warns on every commandPossibly taken @k4kratik claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
sachincool/cruft#4 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
riscv/riscv-unified-db#2859 ·
Maintainers usually reply within 2 days
-
agent-driven deployment documentation future releases nice to have
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
changesets
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openstreetmap/openstreetmap-website#7629 · 1 comment ·
Maintainers usually reply within 1 day