From fcfe00a27480ea61a25aee86a432e2a091c8d9a2 Mon Sep 17 00:00:00 2001 From: Clemens Schmid Date: Tue, 24 Oct 2023 12:53:02 +0200 Subject: [PATCH] first draft of a PR message template for the submission of new packages --- .../add_or_modify_package.md | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE/add_or_modify_package.md diff --git a/.github/PULL_REQUEST_TEMPLATE/add_or_modify_package.md b/.github/PULL_REQUEST_TEMPLATE/add_or_modify_package.md new file mode 100644 index 00000000..7eb04893 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/add_or_modify_package.md @@ -0,0 +1,56 @@ + + + + +## PR Checklist for a new package submission + +### General package properties + +- [ ] The package does not exist already in the community archive, also not with a different name. +- [ ] The package title in the `POSEIDON.yml` conforms to the general title structure suggested here: `__`, e.g. `2021_Zegarac_SoutheasternEurope`, `2021_SeguinOrlando_BellBeaker` or `2021_Kivisild_MedievalEstonia`. +- [ ] The package is stored in a directory that is named like the package title. + +*** + +- [ ] The package is complete and features the following elements: + - [ ] Genotype data in binary PLINK format. + - [ ] A `POSEIDON.yml` file with all of the following non-file reference fields present and filled with meaningful information: `poseidonVersion`, `title`, `description`, `contributor`, `packageVersion`, `lastModified` (see [here](https://github.com/poseidon-framework/poseidon-schema/blob/master/POSEIDON_yml_fields.tsv) for their definition) + - [ ] A reasonably filled `.janno` file. + - [ ] A `.bib` file with references for each sample in the `.janno` file. +- [ ] Every file in the submission is correctly referenced in the `POSEIDON.yml` file and there are no additional, supplementary files in the submission that are not documented there. +- [ ] Genotype data, `.janno` and `.bib` file are all named after the package title and only differ in the file extension. +- [ ] All text files are UTF-8 encoded and have Unix/Unix-like line endings (`LF`, not `CR+LF` or `CR`) +- [ ] The package version in the `POSEIDON.yml` file is `1.0.0`. +- [ ] The `POSEIDON.yml` file contains the corresponding checksums for the fields `genoFile`, `snpFile`, `indFile`, `jannoFile` and `bibFile`. +- [ ] There is either no `CHANGELOG` file or one with a single entry for version `1.0.0`. + +*** + +- [ ] The `Publication` column in the `.janno` file is filled and the respective `.bib` file has complete entries for the listed mentioned keys. +- [ ] The `.janno` file does not include any columns or columns only filled with `n/a`. +- [ ] The order of columns in the `.janno` file adheres to the standard order as defined in the Poseidon schema [here](https://github.com/poseidon-framework/poseidon-schema/blob/master/janno_columns.tsv). + +*** + +- [ ] The package passes a validation with `trident validate --fullGeno`. + + + +## PR Checklist for modifying an existing package + + + + + \ No newline at end of file