Don't just print the “did you mean” message, run something anyway
Nobody has claimed this yet.
- Dominant language
- Raku
- Stars
- 19
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
<Zoffix> c:
use lib <data/all-modules/zoffixznet/perl6-WWW>; use WWW; for (^7+9)».fmt: "%02d" -> { "https://irclog.perlgeek.de/perl6/2017-10-$_/text".&get.lines.grep(.contains: "New CPAN upload")».say }
<committable6> Zoffix, ¦use: «Cannot find this revision (did you mean “all”?)»
Arguably it can run on 2015.12,HEAD anyway.
We already have a similar behavior for messages starting with “say”:
<AlexDaniel> c:
say 42
<committable6> AlexDaniel, Seems like you forgot to specify a revision (will use “v6.c” instead of “say”)
<committable6> AlexDaniel, ¦v6.c (23 commits): «42»
Maybe v6.c is an overkill.
Contributor guide
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.
Research direction
Reproduce the two committable6 examples showing an invalid revision and a command beginning with “say.” Review the revision-selection entry point that handles these messages; done means an unrecognized revision still runs against a fallback such as v6.c or HEAD, while preserving the existing output behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100