Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lscsoft
bilby
Commits
b643456e
Commit
b643456e
authored
4 years ago
by
Gregory Ashton
Committed by
Moritz Huebner
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "Create an AUTHORS.md file"
parent
bb2f4c95
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
AUTHORS.md
+71
-0
71 additions, 0 deletions
AUTHORS.md
test/check_author_list.py
+28
-0
28 additions, 0 deletions
test/check_author_list.py
with
105 additions
and
0 deletions
.gitlab-ci.yml
+
6
−
0
View file @
b643456e
...
...
@@ -138,6 +138,12 @@ plotting:
-
pytest test/gw/plot_test.py
authors
:
stage
:
test
image
:
bilbydev/bilby-test-suite-python37
script
:
-
python test/check_author_list.py
pages
:
stage
:
deploy
dependencies
:
...
...
This diff is collapsed.
Click to expand it.
AUTHORS.md
0 → 100644
+
71
−
0
View file @
b643456e
# Authors
This file lists all the authors in first-name alphabetical order who have
contributed (either by code contribution or indirectly). If your name is not
listed here, please contact anyone on this list and raise your concern.
Abhirup Ghosh
Aditya Vijaykumar
Andrew Kim
Andrew Miller
Antoni Ramos-Buades
Avi Vajpeyi
Bruce Edelman
Carl-Johan Haster
Cecilio Garcia-Quiros
Charlie Hoy
Christopher Berry
Christos Karathanasis
Colm Talbot
Daniel Williams
David Keitel
Duncan Macleod
Eric Thrane
Ethan Payne
Francisco Javier Hernandez
Gregory Ashton
Hector Estelles
Ignacio Magaña Hernandez
Isobel Marguarethe Romero-Shaw
Jade Powell
James A Clark
John Veitch
Katerina Chatziioannou
Kaylee de Soto
Khun Sang Phukon
Kshipraa Athar
Liting Xiao
Maite Mateu-Lucena
Marc Arene
Marcus Edward Lower
Margaret Millhouse
Marta Colleoni
Matthew Carney
Matthew David Pitkin
Michael Puerrer
Michael Williams
Monica Rizzo
Moritz Huebner
Nicola De Lillo
Nikhil Sarin
Nirban Bose
Paul Easter
Paul Lasky
Philip Relton
Rhys Green
Roberto Cotesta
Rory Smith
S. H. Oh
Sacha Husa
Scott Coughlin
Serguei Ossokine
Shanika Galaudage
Sharan Banagiri
Shichao Wu
Simon Stevenson
Soichiro Morisaki
Sumeet Kulkarni
Sylvia Biscoveanu
Tathagata Ghosh
Virginia d'Emilio
Vivien Raymond
This diff is collapsed.
Click to expand it.
test/check_author_list.py
0 → 100644
+
28
−
0
View file @
b643456e
"""
A script to verify that the .AUTHOR.md file is up to date
"""
import
re
import
subprocess
special_cases
=
[
"
plasky
"
,
"
thomas
"
,
"
mj-will
"
]
AUTHORS_list
=
[]
with
open
(
"
AUTHORS.md
"
,
"
r
"
)
as
f
:
AUTHORS_list
=
"
"
.
join
([
line
for
line
in
f
]).
lower
()
lines
=
subprocess
.
check_output
([
"
git
"
,
"
shortlog
"
,
"
HEAD
"
,
"
-sn
"
]).
decode
(
"
utf-8
"
).
split
(
"
\n
"
)
if
len
(
lines
)
==
0
:
raise
Exception
(
"
No authors to check against
"
)
fail_test
=
False
for
line
in
lines
:
line
=
line
.
replace
(
"
.
"
,
"
"
)
line
=
re
.
sub
(
'
([A-Z][a-z]+)
'
,
r
'
\1
'
,
re
.
sub
(
'
([A-Z]+)
'
,
r
'
\1
'
,
line
))
for
element
in
line
.
split
()[
1
:]:
element
=
element
.
lower
()
if
element
not
in
AUTHORS_list
and
element
not
in
special_cases
:
print
(
"
Failure: {} not in AUTHOR.md
"
.
format
(
element
))
fail_test
+=
True
if
fail_test
:
raise
Exception
(
"
Author check list failed.. have you added your name to the .AUTHOR file?
"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment