Skip to content

Commit 6c37c21

Browse files
committed
Sort contributors to each PR
1 parent da412f6 commit 6c37c21

8 files changed

Lines changed: 33 additions & 33 deletions

File tree

github_activity/github_activity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ def filter_ignored(userlist):
493493
all_contributors.add(person)
494494

495495
# record contributor list (ordered, unique)
496-
data.at[ix, "contributors"] = item_contributors
496+
data.at[ix, "contributors"] = sorted(item_contributors)
497497

498498
comment_contributor_counts = pd.Series(comment_helpers).value_counts()
499499
all_contributors |= set(comment_contributor_counts[

tests/test_cli/cli_def_branch.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
## New features added
66

77
- adding contributors list [#10](https://github.com/executablebooks/github-activity/pull/10) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
8-
- Support git references etc. [#6](https://github.com/executablebooks/github-activity/pull/6) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
8+
- Support git references etc. [#6](https://github.com/executablebooks/github-activity/pull/6) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
99

1010
## Enhancements made
1111

12-
- defining contributions [#14](https://github.com/executablebooks/github-activity/pull/14) ([@choldgraf](https://github.com/choldgraf), [@betatim](https://github.com/betatim))
12+
- defining contributions [#14](https://github.com/executablebooks/github-activity/pull/14) ([@betatim](https://github.com/betatim), [@choldgraf](https://github.com/choldgraf))
1313
- updating CLI for new tags [#12](https://github.com/executablebooks/github-activity/pull/12) ([@choldgraf](https://github.com/choldgraf))
1414
- some improvements to `since` and opened issues list [#8](https://github.com/executablebooks/github-activity/pull/8) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
1515

@@ -23,7 +23,7 @@
2323

2424
## Documentation improvements
2525

26-
- Mention the required GITHUB_ACCESS_TOKEN [#1](https://github.com/executablebooks/github-activity/pull/1) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
26+
- Mention the required GITHUB_ACCESS_TOKEN [#1](https://github.com/executablebooks/github-activity/pull/1) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
2727

2828
## Contributors to this release
2929

tests/test_cli/cli_no_target.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
## New features added
66

77
- adding contributors list [#10](https://github.com/executablebooks/github-activity/pull/10) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
8-
- Support git references etc. [#6](https://github.com/executablebooks/github-activity/pull/6) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
8+
- Support git references etc. [#6](https://github.com/executablebooks/github-activity/pull/6) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
99

1010
## Enhancements made
1111

12-
- defining contributions [#14](https://github.com/executablebooks/github-activity/pull/14) ([@choldgraf](https://github.com/choldgraf), [@betatim](https://github.com/betatim))
12+
- defining contributions [#14](https://github.com/executablebooks/github-activity/pull/14) ([@betatim](https://github.com/betatim), [@choldgraf](https://github.com/choldgraf))
1313
- updating CLI for new tags [#12](https://github.com/executablebooks/github-activity/pull/12) ([@choldgraf](https://github.com/choldgraf))
1414
- some improvements to `since` and opened issues list [#8](https://github.com/executablebooks/github-activity/pull/8) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
1515

@@ -23,7 +23,7 @@
2323

2424
## Documentation improvements
2525

26-
- Mention the required GITHUB_ACCESS_TOKEN [#1](https://github.com/executablebooks/github-activity/pull/1) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
26+
- Mention the required GITHUB_ACCESS_TOKEN [#1](https://github.com/executablebooks/github-activity/pull/1) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
2727

2828
## Contributors to this release
2929

tests/test_cli/cli_no_target_pyproject.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
###### New features added
66

77
- adding contributors list [#10](https://github.com/executablebooks/github-activity/pull/10) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
8-
- Support git references etc. [#6](https://github.com/executablebooks/github-activity/pull/6) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
8+
- Support git references etc. [#6](https://github.com/executablebooks/github-activity/pull/6) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
99

1010
###### Enhancements made
1111

12-
- defining contributions [#14](https://github.com/executablebooks/github-activity/pull/14) ([@choldgraf](https://github.com/choldgraf), [@betatim](https://github.com/betatim))
12+
- defining contributions [#14](https://github.com/executablebooks/github-activity/pull/14) ([@betatim](https://github.com/betatim), [@choldgraf](https://github.com/choldgraf))
1313
- updating CLI for new tags [#12](https://github.com/executablebooks/github-activity/pull/12) ([@choldgraf](https://github.com/choldgraf))
1414
- some improvements to `since` and opened issues list [#8](https://github.com/executablebooks/github-activity/pull/8) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
1515

@@ -23,7 +23,7 @@
2323

2424
###### Documentation improvements
2525

26-
- Mention the required GITHUB_ACCESS_TOKEN [#1](https://github.com/executablebooks/github-activity/pull/1) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
26+
- Mention the required GITHUB_ACCESS_TOKEN [#1](https://github.com/executablebooks/github-activity/pull/1) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
2727

2828
###### Contributors to this release
2929

tests/test_cli/cli_w_parts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
## New features added
66

77
- adding contributors list [#10](https://github.com/executablebooks/github-activity/pull/10) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
8-
- Support git references etc. [#6](https://github.com/executablebooks/github-activity/pull/6) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
8+
- Support git references etc. [#6](https://github.com/executablebooks/github-activity/pull/6) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
99

1010
## Enhancements made
1111

12-
- defining contributions [#14](https://github.com/executablebooks/github-activity/pull/14) ([@choldgraf](https://github.com/choldgraf), [@betatim](https://github.com/betatim))
12+
- defining contributions [#14](https://github.com/executablebooks/github-activity/pull/14) ([@betatim](https://github.com/betatim), [@choldgraf](https://github.com/choldgraf))
1313
- updating CLI for new tags [#12](https://github.com/executablebooks/github-activity/pull/12) ([@choldgraf](https://github.com/choldgraf))
1414
- some improvements to `since` and opened issues list [#8](https://github.com/executablebooks/github-activity/pull/8) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
1515

@@ -23,7 +23,7 @@
2323

2424
## Documentation improvements
2525

26-
- Mention the required GITHUB_ACCESS_TOKEN [#1](https://github.com/executablebooks/github-activity/pull/1) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
26+
- Mention the required GITHUB_ACCESS_TOKEN [#1](https://github.com/executablebooks/github-activity/pull/1) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
2727

2828
## Contributors to this release
2929

tests/test_cli/cli_w_url.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
## New features added
66

77
- adding contributors list [#10](https://github.com/executablebooks/github-activity/pull/10) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
8-
- Support git references etc. [#6](https://github.com/executablebooks/github-activity/pull/6) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
8+
- Support git references etc. [#6](https://github.com/executablebooks/github-activity/pull/6) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
99

1010
## Enhancements made
1111

12-
- defining contributions [#14](https://github.com/executablebooks/github-activity/pull/14) ([@choldgraf](https://github.com/choldgraf), [@betatim](https://github.com/betatim))
12+
- defining contributions [#14](https://github.com/executablebooks/github-activity/pull/14) ([@betatim](https://github.com/betatim), [@choldgraf](https://github.com/choldgraf))
1313
- updating CLI for new tags [#12](https://github.com/executablebooks/github-activity/pull/12) ([@choldgraf](https://github.com/choldgraf))
1414
- some improvements to `since` and opened issues list [#8](https://github.com/executablebooks/github-activity/pull/8) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
1515

@@ -23,7 +23,7 @@
2323

2424
## Documentation improvements
2525

26-
- Mention the required GITHUB_ACCESS_TOKEN [#1](https://github.com/executablebooks/github-activity/pull/1) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
26+
- Mention the required GITHUB_ACCESS_TOKEN [#1](https://github.com/executablebooks/github-activity/pull/1) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
2727

2828
## Contributors to this release
2929

tests/test_cli/test_cli_all.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
### Enhancements made
66

77
- Use auth for all usages of requests [#60](https://github.com/executablebooks/github-activity/pull/60) ([@blink1073](https://github.com/blink1073), [@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
8-
- Handle detection of target from SSH based remotes [#51](https://github.com/executablebooks/github-activity/pull/51) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
8+
- Handle detection of target from SSH based remotes [#51](https://github.com/executablebooks/github-activity/pull/51) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
99
- ✨ ENH: Auto-detecting the target [#45](https://github.com/executablebooks/github-activity/pull/45) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
1010

1111
### Bugs fixed
1212

13-
- 🐛 FIX: write status messages to sys.stderr [#47](https://github.com/executablebooks/github-activity/pull/47) ([@minrk](https://github.com/minrk), [@choldgraf](https://github.com/choldgraf))
13+
- 🐛 FIX: write status messages to sys.stderr [#47](https://github.com/executablebooks/github-activity/pull/47) ([@choldgraf](https://github.com/choldgraf), [@minrk](https://github.com/minrk))
1414

1515
### Maintenance and upkeep improvements
1616

17-
- 🔧 MAINT: Split test_cli using @pytest.mark.parameterize [#56](https://github.com/executablebooks/github-activity/pull/56) ([@manics](https://github.com/manics), [@choldgraf](https://github.com/choldgraf))
18-
- pre-commit configured and executed [#55](https://github.com/executablebooks/github-activity/pull/55) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
19-
- 🔧 MAINT: _get_latest_tag should use the remote repo [#52](https://github.com/executablebooks/github-activity/pull/52) ([@manics](https://github.com/manics), [@consideRatio](https://github.com/consideRatio))
17+
- 🔧 MAINT: Split test_cli using @pytest.mark.parameterize [#56](https://github.com/executablebooks/github-activity/pull/56) ([@choldgraf](https://github.com/choldgraf), [@manics](https://github.com/manics))
18+
- pre-commit configured and executed [#55](https://github.com/executablebooks/github-activity/pull/55) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
19+
- 🔧 MAINT: _get_latest_tag should use the remote repo [#52](https://github.com/executablebooks/github-activity/pull/52) ([@consideRatio](https://github.com/consideRatio), [@manics](https://github.com/manics))
2020
- 🔧 MAINT: hyphen instead of asterisk [#44](https://github.com/executablebooks/github-activity/pull/44) ([@choldgraf](https://github.com/choldgraf))
2121

2222
### Contributors to this release
@@ -34,23 +34,23 @@ See [our definition of contributors](https://github-activity.readthedocs.io/en/l
3434

3535
### New features added
3636

37-
- Adding filtering by branch [#42](https://github.com/executablebooks/github-activity/pull/42) ([@choldgraf](https://github.com/choldgraf), [@blink1073](https://github.com/blink1073), [@consideRatio](https://github.com/consideRatio))
38-
- ✨NEW: heading_level argument for increasing heading level [#38](https://github.com/executablebooks/github-activity/pull/38) ([@minrk](https://github.com/minrk), [@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
37+
- Adding filtering by branch [#42](https://github.com/executablebooks/github-activity/pull/42) ([@blink1073](https://github.com/blink1073), [@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
38+
- ✨NEW: heading_level argument for increasing heading level [#38](https://github.com/executablebooks/github-activity/pull/38) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio), [@minrk](https://github.com/minrk))
3939

4040
### Enhancements made
4141

42-
- use tqdm for progress [#39](https://github.com/executablebooks/github-activity/pull/39) ([@minrk](https://github.com/minrk), [@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
43-
- 👌IMPROVE: add blank lines below headings [#36](https://github.com/executablebooks/github-activity/pull/36) ([@minrk](https://github.com/minrk), [@choldgraf](https://github.com/choldgraf))
44-
- 👌 IMPROVE: since/until: assume git reference, fallback to datetime [#33](https://github.com/executablebooks/github-activity/pull/33) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
42+
- use tqdm for progress [#39](https://github.com/executablebooks/github-activity/pull/39) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio), [@minrk](https://github.com/minrk))
43+
- 👌IMPROVE: add blank lines below headings [#36](https://github.com/executablebooks/github-activity/pull/36) ([@choldgraf](https://github.com/choldgraf), [@minrk](https://github.com/minrk))
44+
- 👌 IMPROVE: since/until: assume git reference, fallback to datetime [#33](https://github.com/executablebooks/github-activity/pull/33) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
4545

4646
### Bugs fixed
4747

48-
- 🐛 FIX: tags like 'doctor' would trigger 'doc' tag [#40](https://github.com/executablebooks/github-activity/pull/40) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
48+
- 🐛 FIX: tags like 'doctor' would trigger 'doc' tag [#40](https://github.com/executablebooks/github-activity/pull/40) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
4949

5050
### Maintenance and upkeep improvements
5151

52-
- Remove no longer used code [#37](https://github.com/executablebooks/github-activity/pull/37) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
53-
- [FIX,TST] resolve refs when not run from a repo [#35](https://github.com/executablebooks/github-activity/pull/35) ([@minrk](https://github.com/minrk), [@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
52+
- Remove no longer used code [#37](https://github.com/executablebooks/github-activity/pull/37) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
53+
- [FIX,TST] resolve refs when not run from a repo [#35](https://github.com/executablebooks/github-activity/pull/35) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio), [@minrk](https://github.com/minrk))
5454

5555
### Documentation improvements
5656

tests/test_cli/test_pr_split.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010

1111
- 👌 IMPROVE: improving numbered sections [#826](https://github.com/jupyter-book/jupyter-book/pull/826) ([@choldgraf](https://github.com/choldgraf))
1212
- checking for toc modification time [#772](https://github.com/jupyter-book/jupyter-book/pull/772) ([@choldgraf](https://github.com/choldgraf), [@chrisjsewell](https://github.com/chrisjsewell))
13-
- first pass toc directive [#757](https://github.com/jupyter-book/jupyter-book/pull/757) ([@choldgraf](https://github.com/choldgraf), [@AakashGfude](https://github.com/AakashGfude))
13+
- first pass toc directive [#757](https://github.com/jupyter-book/jupyter-book/pull/757) ([@AakashGfude](https://github.com/AakashGfude), [@choldgraf](https://github.com/choldgraf))
1414

1515
## Bugs fixed
1616

1717
- Fix typo in content-blocks.md documentation [#811](https://github.com/jupyter-book/jupyter-book/pull/811) ([@MaxGhenis](https://github.com/MaxGhenis), [@choldgraf](https://github.com/choldgraf))
1818
- [BUG] Using relative instead of absolute links [#747](https://github.com/jupyter-book/jupyter-book/pull/747) ([@AakashGfude](https://github.com/AakashGfude), [@choldgraf](https://github.com/choldgraf), [@phaustin](https://github.com/phaustin))
19-
- 🐛 FIX: fixing jupytext install/UI links [#737](https://github.com/jupyter-book/jupyter-book/pull/737) ([@chrisjsewell](https://github.com/chrisjsewell), [@choldgraf](https://github.com/choldgraf))
19+
- 🐛 FIX: fixing jupytext install/UI links [#737](https://github.com/jupyter-book/jupyter-book/pull/737) ([@choldgraf](https://github.com/choldgraf), [@chrisjsewell](https://github.com/chrisjsewell))
2020

2121
## Documentation improvements
2222

2323
- 📚 DOC: update gh-pages + ghp-import docs [#814](https://github.com/jupyter-book/jupyter-book/pull/814) ([@TomasBeuzen](https://github.com/TomasBeuzen), [@choldgraf](https://github.com/choldgraf))
2424
- 📚 DOC: note about licenses [#806](https://github.com/jupyter-book/jupyter-book/pull/806) ([@choldgraf](https://github.com/choldgraf))
25-
- 📖 DOCS: Fix google analytics instructions [#799](https://github.com/jupyter-book/jupyter-book/pull/799) ([@tobydriscoll](https://github.com/tobydriscoll), [@choldgraf](https://github.com/choldgraf))
25+
- 📖 DOCS: Fix google analytics instructions [#799](https://github.com/jupyter-book/jupyter-book/pull/799) ([@choldgraf](https://github.com/choldgraf), [@tobydriscoll](https://github.com/tobydriscoll))
2626
- Change book_path to path_to_book [#773](https://github.com/jupyter-book/jupyter-book/pull/773) ([@MaxGhenis](https://github.com/MaxGhenis), [@choldgraf](https://github.com/choldgraf))
27-
- GitHub actions example: note about selective build [#771](https://github.com/jupyter-book/jupyter-book/pull/771) ([@consideRatio](https://github.com/consideRatio), [@choldgraf](https://github.com/choldgraf))
27+
- GitHub actions example: note about selective build [#771](https://github.com/jupyter-book/jupyter-book/pull/771) ([@choldgraf](https://github.com/choldgraf), [@consideRatio](https://github.com/consideRatio))
2828
- getting sphinx thebelab to work [#749](https://github.com/jupyter-book/jupyter-book/pull/749) ([@choldgraf](https://github.com/choldgraf))
2929
- Link documentation for adding cell tags in Jupyter from "Hide or remove content" documentation section [#734](https://github.com/jupyter-book/jupyter-book/pull/734) ([@MaxGhenis](https://github.com/MaxGhenis), [@choldgraf](https://github.com/choldgraf))
3030
- typo fix [#731](https://github.com/jupyter-book/jupyter-book/pull/731) ([@MaxGhenis](https://github.com/MaxGhenis), [@choldgraf](https://github.com/choldgraf))

0 commit comments

Comments
 (0)