diff options
author | Bundlerbot <bot@bundler.io> | 2020-02-27 20:29:34 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2020-02-27 20:29:34 +0000 |
commit | 0659182ff24faed7b4dc8479f1c056fae32815e4 (patch) | |
tree | d57cd87d6a62e49b20126b91fcbedf890dda31f2 /man/bundle-add.1.txt | |
parent | 12181a40b1d069b8e862142cf7ee6a4da1b74e7c (diff) | |
parent | 9e60772c0b428ba82b57a44e52acd21bebef0f59 (diff) | |
download | bundler-0659182ff24faed7b4dc8479f1c056fae32815e4.tar.gz |
Merge #7590
7590: Prepend debug label to resolver's debug message r=deivid-rodriguez a=kou
### What was the end-user problem that led to this PR?
The problem was not a end-user problem. This was a developer problem.
If we have many debug messages (for example, I added many `pp [...]` to debug #7522), it's difficult to find resolver's debug messages.
### What was your diagnosis of the problem?
My diagnosis was no common keywords in resolver's debug message is a problem. If we have a common keyword, we can find resolver's debug messages from many debug messages easily.
### What is your fix for the problem, implemented in this PR?
My fix prepends `BUNDLER: ` to all resolver's debug messages. If we have the same label in all resolver's debug messages, we can find resolver's debug message easily. For example, we can use "/BUNDLER:" in less.
### Why did you choose this fix out of the possible options?
I chose this fix because `BUNDLER: ` will not conflict. Other candidate is `DEBUG: ` but it may be used by other library. If the keyword conflicts, it's not easy to find resolver's debug messages. `Bundler::Resolver: ` will be more safer but it may be long.
Co-authored-by: Sutou Kouhei <kou@clear-code.com>
Diffstat (limited to 'man/bundle-add.1.txt')
0 files changed, 0 insertions, 0 deletions