Commit b540d3e
authored
Add main to tools/DOI/authors.py (#40633)
To make debugging the author mapping easier, add a main entrypoint to
the authors tool. It also adds some flags to the `git log` call to make
it more stable and skip merge commits.
There is no associated issue.
This is a trimmed down version of #40396 because we decided that having
a mailmap file required finding a place to store/share it.
### To test:
This added the ability to get the authors directly from
tools/DOI/authors.py and can be run without accidentally creating a DOI.
Use tools/DOI/authors.py --help to find out how to use it and try the
two modes.
*This does not require release notes* because it modifies how authors
are generated for the DOI tool.1 parent 1188137 commit b540d3e
1 file changed
+33
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
466 | 475 | | |
467 | 476 | | |
468 | 477 | | |
| |||
548 | 557 | | |
549 | 558 | | |
550 | 559 | | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
0 commit comments