Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add codeowners generation #577

Merged
merged 3 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 135 additions & 0 deletions .github/CODEOWNERS
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see lots of errors on this file:

    Unknown owner on line 1: make sure @lecorguille exists and has write access to the repository

    **abims** @lecorguille

    Unknown owner on line 2: make sure @kalayaneech exists and has write access to the repository

    **adcra** @kalayaneech

    Unknown owner on line 3: make sure @osteobjorn exists and has write access to the repository

    **alice** @osteobjorn

    Invalid owner on line 4:

    **apollo** @coh.org

    Invalid owner on line 13:

    **biowulf** @hpc.nih.gov'

    Invalid owner on line 14:

    **cambridge** @cam.ac.uk

    Unknown owner on line 18: make sure @rajewski exists and has write access to the repository

    **cedars** @rajewski

    Invalid owner on line 22:

    **cheaha** @uab.edu

    Invalid owner on line 29:

    **dkfz** @dkfz-heidelberg.de'

    Unknown owner on line 30: make sure @marcel-keller exists and has write access to the repository

    **ebc** @marcel-keller

    Unknown owner on line 31: make sure @saulpierotti-ebi exists and has write access to the repository

    **ebi_codon** @saulpierotti-ebi

    Unknown owner on line 32: make sure @saulpierotti-ebi exists and has write access to the repository

    **ebi_codon_slurm** @saulpierotti-ebi

    Invalid owner on line 35:

    **ethz_euler** @hest.ethz.ch

    Invalid owner on line 37:

    **fgcz** @fgcz.ethz.ch"

    Invalid owner on line 38:

    **fub_curta** @zedat.fu-berlin.de'

    Invalid owner on line 39:

    **genotoul** @inra.fr'

    Unknown owner on line 40: make sure @abretaud exists and has write access to the repository

    **genouest** @abretaud

    Unknown owner on line 41: make sure @andreas-wilm exists and has write access to the repository

    **gis** @andreas-wilm

    Invalid owner on line 43:

    **googlebatch** @hnawar'

    Invalid owner on line 44:

    **googlels** @hnawar'

    Invalid owner on line 45:

    **hasta** config_profile_contact = 'Clinical Genomics, Stockholm'

    Invalid owner on line 49:

    **ifb_core** config_profile_contact = 'https://community.france-bioinformatique.fr'

    Invalid owner on line 50:

    **imperial** @imperial.ac.uk

    Invalid owner on line 51:

    **incliva** @incliva.es'

    Invalid owner on line 52:

    **ipop_up** @parisepigenetics.com'

    Invalid owner on line 53:

    **janelia** @janelia.hhmi.org

    Unknown owner on line 54: make sure @flynnb exists and has write access to the repository

    **jax** @flynnb

    Invalid owner on line 55:

    **ku_sund_dangpu** @sund.ku.dk>'

    Invalid owner on line 56:

    **leicester** @cam.ac.uk'

    Unknown owner on line 58: make sure @pierrespc exists and has write access to the repository

    **maestro** @pierrespc

    Invalid owner on line 59:

    **mana** config_profile_contact = 'Cedric Arisdakessian'

    Invalid owner on line 60:

    **marvin** @gmail.com (Pablo Carrion

    Invalid owner on line 61:

    **medair** @gu.se

    Unknown owner on line 65: make sure @mattdton exists and has write access to the repository

    **nci_gadi** @mattdton

    Unknown owner on line 66: make sure @NUjon exists and has write access to the repository

    **nu_genomics** @NUjon

    Invalid owner on line 67:

    **oist** @oist.jp>'

    Unknown owner on line 68: make sure @rplanel exists and has write access to the repository

    **pasteur** @rplanel

    Invalid owner on line 69:

    …pawsey_nimbus** @SarahBeecroft'

    Invalid owner on line 74:

    **uppmax** @lnu.se

    Invalid owner on line 98:

    **imperial** config_profile_contact = 'NA'

    Unknown owner on line 104: make sure @l-modolo exists and has write access to the repository

    **psmn** @l-modolo

    Invalid owner on line 105:

    **rosalind** config_profile_contact = 'Theo Portlock'

    Invalid owner on line 108:

    **sahmri** @sahmri.com

    Invalid owner on line 110:

    **scw** @bangor.ac.uk'

    Unknown owner on line 114: make sure @giusmar exists and has write access to the repository

    **tigem** @giusmar

    Unknown owner on line 115: make sure @sc13-bioinf exists and has write access to the repository

    **tubingen_apg** @sc13-bioinf

    Invalid owner on line 116:

    **tuos_stanage** @sheffield.ac.uk

    Unknown owner on line 117: make sure @brucemoran exists and has write access to the repository

    **ucd_sonic** @brucemoran

    Invalid owner on line 118:

    **ucl_myriad** @ucl.ac.uk

    Invalid owner on line 122:

    **unibe_ibu** @bioinformatics.unibe.ch"

    Invalid owner on line 123:

    **uod_hpc** @dundee.ac.uk

    Invalid owner on line 130:

    **vsc_kul_uhasselt** @kuleuven.be' @kuleuven.be' @kuleuven.be'

    Invalid owner on line 131:

    **vsc_ugent** @cmgg.be' @cmgg.be' @cmgg.be' @cmgg.be' @cmgg.be' @cmgg.be' @cmgg.be' @cmgg.be' @cmgg.be' @cmgg.be' @cmgg.be' @cmgg.be' @cmgg.be' @cmgg.be'

    Invalid owner on line 133:

    **wehi** @wehi.edu.au

    Invalid owner on line 134:

    **wustl_htcf** @wustl.edu>"

    Invalid owner on line 135:

    **xanadu** @uconn.edu'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think it might work anyways?

The issue is we're not clear on whether we want a email or github user 😬

Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
**abims** @lecorguille
**adcra** @kalayaneech
**alice** @osteobjorn
**apollo** @coh.org
**aws_tower** @ggabernet
**awsbatch** @apeltzer
**azurebatch** @adamrtalbot
**azurebatchdev** @abhi18av
**bi** @apeltzer
**bigpurple** @tobsecret
**binac** @apeltzer
**biohpc_gen** @phue
**biowulf** @hpc.nih.gov'
**cambridge** @cam.ac.uk
**cbe** @phue
**ccga_dx** @marchoeppner
**ccga_med** @marchoeppner
**cedars** @rajewski
**ceres** @MillironX
**cfc** @FriederikeHanssen
**cfc_dev** @FriederikeHanssen
**cheaha** @uab.edu
**computerome** @marcmtk
**crg** @joseespinosa
**crick** @chris-cheshire
**crukmi** @sppearce
**czbiohub_aws** @olgabot
**denbi_qbic** @apeltzer
**dkfz** @dkfz-heidelberg.de'
**ebc** @marcel-keller
**ebi_codon** @saulpierotti-ebi
**ebi_codon_slurm** @saulpierotti-ebi
**eddie** @ameynert
**engaging** @PhilPalmer
**ethz_euler** @hest.ethz.ch
**eva** @jfy133
**fgcz** @fgcz.ethz.ch"
**fub_curta** @zedat.fu-berlin.de'
**genotoul** @inra.fr'
**genouest** @abretaud
**gis** @andreas-wilm
**google** @evanfloden
**googlebatch** @hnawar'
**googlels** @hnawar'
**hasta** config_profile_contact = 'Clinical Genomics, Stockholm'
**hki** @jfy133 @jfy133 @jfy133 @jfy133
**hypatia** @lusacristan
**icr_davros** @adrlar
**ifb_core** config_profile_contact = 'https://community.france-bioinformatique.fr'
**imperial** @imperial.ac.uk
**incliva** @incliva.es'
**ipop_up** @parisepigenetics.com'
**janelia** @janelia.hhmi.org
**jax** @flynnb
**ku_sund_dangpu** @sund.ku.dk>'
**leicester** @cam.ac.uk'
**lugh** @BarryDigby
**maestro** @pierrespc
**mana** config_profile_contact = 'Cedric Arisdakessian'
**marvin** @gmail.com (Pablo Carrion
**medair** @gu.se
**mjolnir_globe** @ashildv
**mpcdf** @jfy133
**munin** @maxulysse
**nci_gadi** @mattdton
**nu_genomics** @NUjon
**oist** @oist.jp>'
**pasteur** @rplanel
**pawsey_nimbus** @SarahBeecroft'
**pawsey_setonix** @georgiesamaha
**pdc_kth** @pontus
**phoenix** @apeltzer
**binac** @apeltzer
**uppmax** @lnu.se
**aws_tower** @emiller88
**crick** @ChristopherBarrington
**eva** @jfy133 @jfy133 @jfy133
**maestro**
**mpcdf** @jfy133 @jfy133
**hki** @jfy133
**engaging** @PhilPalmer
**eva** @jfy133
**crg** @joseespinosa
**hasta**
**hasta**
**munin**
**azurebatch_pools_Edv4** @vsmalladi
**eddie**
**mpcdf** @jfy133
**utd_sysbio** @emiller88
**munin** @praveenraj2018
**cfc** @FriederikeHanssen
**eddie**
**eva** @jfy133
**icr_davros**
**munin** @maxulysse
**uppmax** @MaxUlysse
**imperial** config_profile_contact = 'NA'
**eva** @jfy133
**hasta** @sofstam
**eddie**
**genomes**
**prince** @tobsecret
**psmn** @l-modolo
**rosalind** config_profile_contact = 'Theo Portlock'
**rosalind_uge** @gregorysprenger
**sage** @BrunoGrandePhD
**sahmri** @sahmri.com
**sanger** @priyanka-surana
**scw** @bangor.ac.uk'
**seawulf** @davidecarlson
**seg_globe** @ashildv
**software_license** @maxulysse
**tigem** @giusmar
**tubingen_apg** @sc13-bioinf
**tuos_stanage** @sheffield.ac.uk
**ucd_sonic** @brucemoran
**ucl_myriad** @ucl.ac.uk
**uct_hpc** @kviljoen
**uge** @gregorysprenger
**unc_lccc** @alanhoyle
**unibe_ibu** @bioinformatics.unibe.ch"
**uod_hpc** @dundee.ac.uk
**uppmax** @ewels
**utd_ganymede** @emiller88
**utd_sysbio** @emiller88
**uw_hyak_pedslabs** @CarsonJM
**uzh** @apeltzer
**vai** @njspix
**vsc_kul_uhasselt** @kuleuven.be' @kuleuven.be' @kuleuven.be'
**vsc_ugent** @nvnieuwk @matthdsm [email protected]
**wcm** @DoaneAS
**wehi** @wehi.edu.au
**wustl_htcf** @wustl.edu>"
**xanadu** @uconn.edu'
3 changes: 1 addition & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Please follow these steps before submitting your PR:
- [ ] If your PR is a work in progress, include `[WIP]` in its title
- [ ] Your PR targets the `master` branch
- [ ] You've included links to relevant issues, if any
- [ ] Requested review from @nf-core/maintainers and/or #request-review on slack

Steps for adding a new config profile:

Expand All @@ -19,7 +18,7 @@ Steps for adding a new config profile:
- [ ] Add your profile name to the `profile:` scope in `.github/workflows/main.yml`

<!--
If you require/still waiting for a review, please feel free to request from @nf-core/maintainers
If you require/still waiting for a review, please feel free to request a review from @nf-core/maintainers
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if this will still @ or not, we'll find out 🙃


Please see uploading to`nf-core/configs` for more details:
https://github.com/nf-core/configs#uploading-to-nf-coreconfigs
Expand Down
22 changes: 22 additions & 0 deletions .github/generate_codeowners.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash

CONFIGS=$(fd . -e .config 'conf/')

output_file=".github/CODEOWNERS"
rm $output_file

for file in $CONFIGS; do
# Get the line of the file that starts with config_profile_contact
line=$(rg "config_profile_contact" "$file")
# and then get the username after the @ and remove anything after it
username=$(echo "$line" | sed 's/^.*@/@/g')
# Remove the )'
username=$(echo "$username" | sed 's/).*$//g')

# Get the insitute name
# conf/<institute>.config
institute=$(echo "$file" | sed 's/^.*\///g' | sed 's/\.config$//g')

# # Remove quotes from authors
echo "**$institute**" $username >> $output_file
done
Loading