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

Dev -> Master for 2.2 release #1353

Merged
merged 360 commits into from
Dec 14, 2021
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
360 commits
Select commit Hold shift + click to select a range
9a8572b
Merge pull request #1278 from drpatelh/dsl2
drpatelh Sep 30, 2021
07d51d9
Rename version to versions in meta.yml
drpatelh Oct 1, 2021
2a7da3a
Update modules in pipeline template with new versions syntax
drpatelh Oct 1, 2021
575350b
Fix channel bug
drpatelh Oct 1, 2021
a56dca3
Include getProcessName
JoseEspinosa Oct 1, 2021
770fa1b
Merge pull request #1280 from drpatelh/versions
drpatelh Oct 1, 2021
b402201
Update template to fix dumpsoftwareversions
JoseEspinosa Oct 6, 2021
56162a5
Update changelog
JoseEspinosa Oct 6, 2021
7ca734b
Merge pull request #1281 from JoseEspinosa/fix_software_ver
drpatelh Oct 7, 2021
fd64864
fix: update build system
Midnighter Oct 15, 2021
3177bd4
chore: explicitly include only template directories
Midnighter Oct 15, 2021
4e8a065
authentication using github_api_auto_auth
bunop Oct 22, 2021
22fe402
list modules from private repository
bunop Oct 22, 2021
2c8e199
solve DepreactionWarning in utils
bunop Oct 22, 2021
b60a7f2
fix test_wf_use_local_configs after first attempt
bunop Oct 22, 2021
d07653b
update changelog
bunop Oct 22, 2021
3f2581d
Fixed bug in `nf-core list` when `NXF_HOME` is set
ewels Oct 26, 2021
d79cdb6
change out-dated `/software/` paths to `/modules/
mashehu Oct 26, 2021
15e025d
Merge pull request #1299 from ewels/list-nxf-home-bug
drpatelh Oct 26, 2021
a7e0149
Merge branch 'dev' into switch-software-to-modules
ewels Oct 27, 2021
b6d2812
Merge pull request #1301 from nf-core/switch-software-to-modules
mashehu Oct 27, 2021
e9b6c63
Merge pull request #1298 from bunop/test_download_bug
ewels Nov 1, 2021
438a025
Merge branch 'dev' into auth-issue
bunop Nov 2, 2021
0aff2a9
update changelog
bunop Nov 2, 2021
bb5f460
Remove params.hostnames from pipeline template
drpatelh Nov 3, 2021
3c7613d
Add in CI tests for latest edge version
drpatelh Nov 3, 2021
c66d15b
Add in CI tests for latest edge version
drpatelh Nov 3, 2021
4d018b0
Update CHANGELOG
drpatelh Nov 3, 2021
b15c6c0
Add a check to see if any custom configuration is provided
drpatelh Nov 3, 2021
89af1d9
Re-word warning
drpatelh Nov 3, 2021
0c8a326
Merge pull request #1309 from drpatelh/versions
drpatelh Nov 3, 2021
49b5642
Remove remnant of params.hostnames
drpatelh Nov 3, 2021
bce7b3b
Merge pull request #1310 from drpatelh/versions
ewels Nov 8, 2021
74a8294
Auto-collapse installed modules and subworkflows in PRs
grst Nov 8, 2021
26b12e3
Update Changelog
grst Nov 8, 2021
c934fdd
Merge pull request #1311 from nf-core/grst-patch-2
drpatelh Nov 8, 2021
8803451
start using context manager for temporary files and folders
bunop Nov 9, 2021
1f9d795
Merge branch 'dev' into auth-issue
bunop Nov 9, 2021
cc9845f
refactor test_launch
bunop Nov 9, 2021
2d38e0a
deal with temporary files in test_lint
bunop Nov 9, 2021
74eaab9
solve circular import issue in nf_core.lint
bunop Nov 9, 2021
3556d74
deal with temporary files in test_modules
bunop Nov 9, 2021
c1a9c37
deal with temporary files in schema, sync and utils tests
bunop Nov 9, 2021
4067720
update changelog and run black
bunop Nov 9, 2021
c00f263
Add Julia support
apeltzer Nov 10, 2021
4b1d553
Merge remote-tracking branch 'origin/dev' into add-support-for-julia-pkg
apeltzer Nov 10, 2021
f89c7a4
Add changelog
apeltzer Nov 10, 2021
b2f0afc
check for nextflow.config
rpetit3 Nov 16, 2021
37984b6
check if readme is from modules
rpetit3 Nov 16, 2021
19b9a69
Apply suggestions from code review
ewels Nov 16, 2021
27b6453
Update CHANGELOG.md
rpetit3 Nov 16, 2021
60384ad
Improvements to stronger lint checks for param defaults.
ewels Nov 16, 2021
102cc8b
Template schema lib - show default if it's not null, even if falsey
ewels Nov 16, 2021
a1836fe
Revert accidental copy paste replacement.
ewels Nov 16, 2021
ab38d93
Merge branch 'master' into stricter-schema-linting
ewels Nov 16, 2021
738fb12
Move changelog to correct section
ewels Nov 16, 2021
8300599
Merge branch 'master' into gh-issue-forms
ewels Nov 16, 2021
6ff1472
Merge branch 'master' into fix/schemaVal_emptyDefaultStr
ewels Nov 16, 2021
373fe29
Update lint test files_exist for new filenames
ewels Nov 16, 2021
70e0cc7
Fix copy paste error
ewels Nov 16, 2021
690ee2f
Rerun black
ewels Nov 16, 2021
060a38c
Update lint test: files_unchanged
ewels Nov 16, 2021
0774214
Remove new test
ewels Nov 16, 2021
012acbd
Changelog
ewels Nov 16, 2021
249aead
Merge pull request #1165 from ewels/gh-issue-forms
ewels Nov 16, 2021
f58077e
Merge pull request #1100 from jpfeuffer/fix/schemaVal_emptyDefaultStr
ewels Nov 16, 2021
b35d1f2
Merge branch 'master' into maxulysse-patch-2
ewels Nov 16, 2021
d63d233
Merge branch 'master' into rpetit3-print-choices
ewels Nov 16, 2021
14abb1b
Merge pull request #1211 from nf-core/maxulysse-patch-2
ewels Nov 16, 2021
ffab773
Merge pull request #1266 from rpetit3/rpetit3-print-choices
ewels Nov 16, 2021
9fc8cdd
Merge branch 'master' into ewels-patch-1
ewels Nov 16, 2021
a135b8e
Print stdout as well as stderr on nextflow command errors.
ewels Nov 16, 2021
bc8e01c
Merge pull request #1267 from nf-core/ewels-patch-1
ewels Nov 16, 2021
1acbca3
Merge branch 'master' into fix-failing-lint
ewels Nov 16, 2021
02e7c58
Merge pull request #1314 from bunop/issue-1270
ewels Nov 17, 2021
68e9915
fix get_repo_type
rpetit3 Nov 17, 2021
aad0a85
Merge pull request #1322 from rpetit3/rp3-module-patch
ewels Nov 17, 2021
ad5f91f
pipeline readme - docs tweak for config profile quickstart
ewels Nov 18, 2021
bf46dc5
Update AWS test for v2 syntax of the tower-action
ewels Nov 18, 2021
ce9c73c
Update AWS full test to use v2 tower action syntax
ewels Nov 18, 2021
698cb1f
Update CHANGELOG.md
ewels Nov 18, 2021
39e793e
Merge pull request #1324 from nf-core/update-tower-action
drpatelh Nov 19, 2021
cdda843
Update nf_core/pipeline-template/README.md
ewels Nov 19, 2021
d928c0a
Apply suggestions from code review
ewels Nov 19, 2021
dadcf55
Merge pull request #1323 from nf-core/pipeline-readme-quickstart
ewels Nov 19, 2021
d08a2af
Update modules template to DSL2 v2.0 syntax
JoseEspinosa Nov 22, 2021
78b0d8a
Update lint for modules for DSL2 v2.0 (some code just commented, WIP)
JoseEspinosa Nov 22, 2021
dc361b0
Update "nf-core modules create" prompt
JoseEspinosa Nov 22, 2021
500e7c4
Remove functions.nf from pipeline template local module (fix lint)
JoseEspinosa Nov 22, 2021
f5cf6b7
Join dir to readme to determine repository type
JoseEspinosa Nov 22, 2021
54aceb6
Merge pull request #1329 from JoseEspinosa/fix_lint_dir
drpatelh Nov 22, 2021
5ec25c6
Merge branch 'dev' of https://github.com/nf-core/tools into mod_dsl2_v2
JoseEspinosa Nov 23, 2021
ba6c356
Remove functions_nf script
JoseEspinosa Nov 23, 2021
0e7915b
Remove checks for options defined in module main
JoseEspinosa Nov 23, 2021
80ae5f0
Remove functions.nf from module_changes checks
JoseEspinosa Nov 23, 2021
b506704
Update pipeline template to DSL2 v2.0
JoseEspinosa Nov 23, 2021
8bf5af6
Manually update modules in pipeline template
JoseEspinosa Nov 23, 2021
3846ebe
Use task.process within versions.yml creation
JoseEspinosa Nov 23, 2021
126f3da
Update how process and software name are retrieve for versions.yml
JoseEspinosa Nov 23, 2021
d200463
Update nf_core/module-template/modules/main.nf
JoseEspinosa Nov 23, 2021
84d1a31
Update nf_core/modules/create.py
JoseEspinosa Nov 23, 2021
070bbd7
Error in functions.nf found in local or nf-core modules
JoseEspinosa Nov 23, 2021
4664e66
Merge branch 'mod_dsl2_v2' of https://github.com/JoseEspinosa/nf-core…
JoseEspinosa Nov 23, 2021
de79a0e
Add errors if any of the deprecated functions after DSL2 v2.0 syntax …
JoseEspinosa Nov 23, 2021
027a534
Add nextflow.config when a module is created
JoseEspinosa Nov 24, 2021
00371d1
Remove module parameters from pipeline template
JoseEspinosa Nov 24, 2021
5bb4e83
Update container directive with new syntax
JoseEspinosa Nov 24, 2021
4c874eb
Adding publishDir to deprecated items in modules lint
JoseEspinosa Nov 24, 2021
dbeee2b
Update nextflow.config in module test template
JoseEspinosa Nov 24, 2021
83dc688
Update test.yml for consistency
JoseEspinosa Nov 24, 2021
3360f38
Quote the ${task.process} in versions.yml modules template
JoseEspinosa Nov 24, 2021
17e78a0
Update container directive in main.nf module template
JoseEspinosa Nov 24, 2021
bee3c37
add missing space before `--fix`, update readme
mashehu Nov 25, 2021
8f4350a
Apply suggestions from code review
drpatelh Nov 25, 2021
e6ce100
Merge pull request #1327 from JoseEspinosa/mod_dsl2_v2
drpatelh Nov 25, 2021
9e88474
Update module template
drpatelh Nov 25, 2021
e7b21ea
Update module main.nf
drpatelh Nov 25, 2021
f3c6041
Bump NF version from 21.04.0 to 21.10.3
drpatelh Nov 25, 2021
f98c17b
Create README.md when a dummy module is created
JoseEspinosa Nov 25, 2021
6708ec5
Update pipeline template CI to use specified version and latest edge …
drpatelh Nov 25, 2021
31e18d1
Merge pull request #1335 from JoseEspinosa/fix_readme_lint
drpatelh Nov 25, 2021
552f2ba
Update CHANGELOG
drpatelh Nov 25, 2021
26362a8
Change syntax in modules.config
drpatelh Nov 25, 2021
aa3dee8
Remove docs relative to old DSL2 syntax
drpatelh Nov 25, 2021
6b47328
Update nextflow.config for new syntax
drpatelh Nov 25, 2021
1490771
Remve --singularity_pull_docker_container
drpatelh Nov 25, 2021
175ab50
Remove addParams call!
drpatelh Nov 25, 2021
19f4953
Remove addParams call!
drpatelh Nov 25, 2021
e4874b5
Update container syntax
drpatelh Nov 25, 2021
dffa555
Remove --publish_dir_mode from pipeline template
drpatelh Nov 25, 2021
1c7727c
Artificially update nf-core/modules to fix linting everywhere else
drpatelh Nov 25, 2021
bc1e63e
Update modules.json
drpatelh Nov 25, 2021
44bc796
Merge pull request #1336 from drpatelh/update
drpatelh Nov 25, 2021
66fc9e7
Fix modules.config
JoseEspinosa Nov 26, 2021
ae1f2a6
Fix ci.yml template
JoseEspinosa Nov 26, 2021
8c030f6
Update modules.config
drpatelh Nov 26, 2021
156c86c
Update pytest options to only look search tests directory
grst Nov 26, 2021
2aca38b
Fix nextflow version in ci.yml template
JoseEspinosa Nov 26, 2021
92f96df
Merge branch 'fix_tests_dsl2v2' of https://github.com/JoseEspinosa/nf…
JoseEspinosa Nov 26, 2021
24cfa0f
Fix the nasty nasty bug
ewels Nov 26, 2021
286abaf
Fix modules test not discovering right repo type
grst Nov 26, 2021
a7be87d
Fix process name not used by new modules
grst Nov 26, 2021
a8842fb
Fix black
grst Nov 26, 2021
1d60935
Temporarily disable NXF_EDGE tests for CreateAndTestPipeline
grst Nov 26, 2021
50906eb
Merge pull request #1337 from JoseEspinosa/fix_tests_dsl2v2
drpatelh Nov 26, 2021
aa62332
Merge branch 'dev' into pr-1333-2
grst Nov 26, 2021
cc942c5
Merge pull request #1338 from ewels/branch-install-fix
drpatelh Nov 26, 2021
411fc0f
Merge pull request #1333 from mashehu/dev
drpatelh Nov 26, 2021
c8ee21a
Temporarily enable NXF_EDGE also in the pipeline template
grst Nov 26, 2021
9f11c85
Check for functions.nf
grst Nov 26, 2021
c3c8f87
Make missing task.process in script section a warning
grst Nov 26, 2021
c83156f
Fix lint for nextflow version in CI script
grst Nov 26, 2021
b882bee
against dev branch
grst Nov 26, 2021
7e998dc
Merge branch 'dev' into issue-1308
grst Nov 26, 2021
4b92c8c
Merge branch 'dev' into auth-issue
grst Nov 26, 2021
af00d3b
Merge pull request #1339 from nf-core/fix-tools
drpatelh Nov 26, 2021
e00e4c0
Merge pull request #1243 from ErikDanielsson/fix-failing-lint
ewels Nov 26, 2021
841894e
Merge branch 'dev' into stricter-schema-linting
grst Nov 26, 2021
1bab2c4
Re-install nf-core/modules in pipeline template
drpatelh Nov 26, 2021
c011c4a
Merge pull request #1340 from drpatelh/update
drpatelh Nov 26, 2021
2d33ffb
Amend error messages for old DSL2 syntax
drpatelh Nov 26, 2021
5bb9bca
Merge pull request #1341 from drpatelh/update
grst Nov 26, 2021
d52a0ac
Highlight functions.nf
drpatelh Nov 26, 2021
f95860d
Merge pull request #1342 from drpatelh/update
drpatelh Nov 26, 2021
0dc8776
describe how to access private modules repos
bunop Nov 26, 2021
f5b41c2
solve issue with markdownlint
bunop Nov 26, 2021
608feaa
Merge pull request #1307 from bunop/auth-issue
grst Nov 26, 2021
7baee69
fix linting comment
ggabernet Nov 26, 2021
deb5bb2
Nicer syntax for ci.yml matrix env variables
ewels Nov 26, 2021
a75ca80
Hyphens in the wrong place
ewels Nov 26, 2021
7d89ec3
Merge pull request #1345 from ggabernet/dev
ewels Nov 26, 2021
179ed26
Comment out NXF_EDGE
ewels Nov 26, 2021
a778bb2
Merge branch 'dev' into issue-1308
bunop Nov 27, 2021
2d9a75c
Update nextflow.config
apeltzer Nov 29, 2021
2ec2b7f
Merge branch 'dev' into add-support-for-julia-pkg
apeltzer Nov 29, 2021
551a5f0
Replaces suffix with completely customisable prefix variable
jfy133 Nov 30, 2021
26cb857
Update nf_core/modules/lint/main_nf.py
jfy133 Nov 30, 2021
5cd3b38
Update contributing in pipeline template
JoseEspinosa Dec 1, 2021
73052b8
Add NXF_VER to aws test yml files
JoseEspinosa Dec 2, 2021
78174c0
Update changelog
JoseEspinosa Dec 2, 2021
a505a2b
update modules in pipeline template to new prefix syntax
jfy133 Dec 2, 2021
c34f6d9
Merge pull request #1347 from jfy133/suffix-to-prefix
drpatelh Dec 2, 2021
d53f8e0
update repo logos for light and dark theme
mashehu Dec 2, 2021
6709dc9
fix linting errors
mashehu Dec 2, 2021
3e44f07
update changelog
mashehu Dec 2, 2021
d769f95
Merge branch 'dev' into add-github-dark-logos
mashehu Dec 2, 2021
31df888
add lint warning to remove old style repo logo
mashehu Dec 3, 2021
9d75d16
Merge branch 'add-github-dark-logos' of https://github.com/mashehu/to…
mashehu Dec 3, 2021
e1a8e31
make linting pass (only check for light logo in email template)
mashehu Dec 3, 2021
932b971
mention removal of old logos in changelog
mashehu Dec 3, 2021
15a0b99
Merge pull request #1351 from mashehu/add-github-dark-logos
mashehu Dec 3, 2021
0c8d1d7
Don't assume that the module repo branch is master if not set
ewels Dec 6, 2021
82b0819
Set to master without checking if using nf-core/modules
ewels Dec 6, 2021
aff69ca
Fix linting for new syntax
ewels Dec 6, 2021
518a527
Linting: better error message
ewels Dec 6, 2021
a42e530
Update Nextflow bump-version
ewels Dec 6, 2021
d7f1862
Update pytests
ewels Dec 6, 2021
b382053
Merge pull request #1344 from nf-core/ci.yml-matrix-env
ewels Dec 6, 2021
0250b6c
Merge pull request #1352 from ewels/detect-modules-default-branch
ewels Dec 8, 2021
58c37cf
Schema linting - check that schema default matches nextflow.config value
ewels Dec 9, 2021
df49066
Changelog update
ewels Dec 9, 2021
b1bb029
Merge branch 'master' into stricter-schema-linting
ewels Dec 9, 2021
288c206
Merge pull request #1106 from KevinMenden/stricter-schema-linting
ewels Dec 9, 2021
939763a
Merge pull request #1349 from JoseEspinosa/update_temp_dsl2_v2
drpatelh Dec 9, 2021
5130cc4
Bump version to 2.2
drpatelh Dec 9, 2021
6428518
Update miniconda base in base.Dockerfile
ewels Dec 9, 2021
14ed382
Strip DSL1 base-image Dockerfile and build
ewels Dec 9, 2021
ce28a44
Merge pull request #1317 from nf-core/add-support-for-julia-pkg
ewels Dec 9, 2021
63c6f6e
Merge pull request #1292 from nf-core/fix-setup
ewels Dec 9, 2021
6524a3e
Remove contents of tests/__init__.py
ewels Dec 9, 2021
84a4651
Merge branch 'dev' into issue-1308
ewels Dec 9, 2021
f728031
Merge pull request #1356 from ewels/remove-base-dockerfile
drpatelh Dec 9, 2021
f612ab0
Merge branch 'dev' into issue-1308
ewels Dec 9, 2021
d4d0439
Module lint: Fail instead of warn if local copy edited
ewels Dec 9, 2021
ea9f8d2
Modules lint: Check for md5sums of empty files
ewels Dec 9, 2021
a501ba2
Modules test builder: Don't add md5s for empty files
ewels Dec 9, 2021
c62517e
Fix bug when printing help for enums
drpatelh Dec 10, 2021
d60fc53
Remove joinModuleArgs function from template
drpatelh Dec 10, 2021
06e0403
Fix wording in bug_report.yml
drpatelh Dec 10, 2021
18bbd3d
Merge pull request #1316 from bunop/issue-1308
ewels Dec 10, 2021
9ae5ddc
Update test.config
drpatelh Dec 14, 2021
f61613d
test-yaml-generate - don't check md5s, check for empty files and rais…
ewels Dec 14, 2021
abe5c7e
Fix gzip empty file check
ewels Dec 14, 2021
055d2d0
Changelog
ewels Dec 14, 2021
4efad12
Don't exit with an error immediately, finish run then raise the UserW…
ewels Dec 14, 2021
1eb8018
Try alternative gzip method to make pytest work on GitHub Actions
ewels Dec 14, 2021
0f8059e
Also run CI tests with Python 3.10
ewels Dec 14, 2021
a20e953
Use quotes for Python versions. Don't want to test 3.1
ewels Dec 14, 2021
7698bad
Support python 3.7
ewels Dec 14, 2021
94e694a
Fix exception logic
ewels Dec 14, 2021
6e0f809
Module pytest - use a bioconda package that we don't have in modules
ewels Dec 14, 2021
a67bbaf
Update other tests execting star/align
ewels Dec 14, 2021
bf4ea00
Merge pull request #1358 from ewels/modules-lint-empty-md5s
ewels Dec 14, 2021
5f97742
Caught one more occurence of star in tests
ewels Dec 14, 2021
ef29b89
Merge branch 'dev' into module-lint-fail-if-local-edited
ewels Dec 14, 2021
303fb6e
Don't run `nextflow -self-update` in CI tests
ewels Dec 14, 2021
d7954e4
Merge pull request #1357 from ewels/module-lint-fail-if-local-edited
ewels Dec 14, 2021
19ffbcb
Merge pull request #1362 from ewels/fix-ci-nxf-version
drpatelh Dec 14, 2021
f719ff6
Merge branch 'dev' of https://github.com/nf-core/tools into update
drpatelh Dec 14, 2021
da4150a
Change date in CHANGELOG
drpatelh Dec 14, 2021
8585b24
Change date in CHANGELOG again
drpatelh Dec 14, 2021
fdf73f7
Merge pull request #1354 from drpatelh/update
drpatelh Dec 14, 2021
fed2e9b
fix gh wf workflow
ggabernet Dec 14, 2021
f51c462
fix test wf
ggabernet Dec 14, 2021
7719f3c
Update nf_core/pipeline-template/workflows/pipeline.nf
drpatelh Dec 14, 2021
cc54b9e
update changelog
ggabernet Dec 14, 2021
8cca94c
Merge pull request #1363 from ggabernet/fix-ci
ggabernet Dec 14, 2021
5f8fad6
Update nf_core/pipeline-template/lib/NfcoreTemplate.groovy
drpatelh Dec 14, 2021
a5dc3c8
Warn instead of fail if module is different from remote
drpatelh Dec 14, 2021
694dd44
Merge pull request #1364 from drpatelh/update
drpatelh Dec 14, 2021
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
45 changes: 0 additions & 45 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Bug report
description: Report something that is broken or incorrect
labels: bug
body:

- type: markdown
attributes:
value: |
Hi there!

Thanks for telling us about a problem with the nf-core/tools package.

- type: textarea
id: description
attributes:
label: Description of the bug
description: A clear and concise description of what the bug is.
validations:
required: true

- type: textarea
id: command_used
attributes:
label: Command used and terminal output
description: Steps to reproduce the behaviour. Please paste the command and output from your terminal.
render: console
placeholder: |
$ nf-core lint ...

Some output where something broke

- type: textarea
id: system
attributes:
label: System information
description: |
* Nextflow version _(eg. 21.10.3)_
* Hardware _(eg. HPC, Desktop, Cloud)_
* Executor _(eg. slurm, local, awsbatch)_
* OS _(eg. CentOS Linux, macOS, Linux Mint)_
* Version of nf-core/tools _(eg. 1.1, 1.5, 1.8.2)_
* Python version _(eg. 3.7, 3.8)_
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
blank_issues_enabled: false
contact_links:
- name: Join nf-core
url: https://nf-co.re/join
Expand Down
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Feature request
description: Suggest an idea for nf-core/tools
labels: enhancement
body:
- type: textarea
id: description
attributes:
label: Description of feature
description: Please describe your suggestion for a new feature. It might help to describe a problem or use case, plus any alternatives that you have considered.
validations:
required: true
11 changes: 8 additions & 3 deletions .github/workflows/create-lint-wf.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Create a pipeline and lint it
on: [push, pull_request]

# Uncomment if we need an edge release of Nextflow again
# env: NXF_EDGE: 1

jobs:
MakeTestWorkflow:
runs-on: ubuntu-latest
env:
NXF_ANSI_LOG: false
strategy:
matrix:
# Nextflow versions: check pipeline minimum and latest edge version
nxf_ver: ["NXF_VER=21.10.3", "NXF_EDGE=1"]
steps:
- uses: actions/checkout@v2
name: Check out source-code repository
Expand All @@ -27,6 +30,8 @@ jobs:
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
export ${{ matrix.nxf_ver }}
nextflow self-update

- name: nf-core create
run: nf-core --log-file log.txt create -n testpipeline -d "This pipeline is for testing" -a "Testing McTestface"
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/create-test-wf.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: Create a pipeline and test it
on: [push, pull_request]

# Uncomment if we need an edge release of Nextflow again
# env: NXF_EDGE: 1

jobs:
RunTestWorkflow:
runs-on: ubuntu-latest
env:
NXF_ANSI_LOG: false
strategy:
matrix:
# Nextflow versions: check pipeline minimum and latest edge version
nxf_ver:
- "NXF_VER=21.10.3"
# - "NXF_EDGE=1"
steps:
- uses: actions/checkout@v2
name: Check out source-code repository
Expand All @@ -27,6 +32,8 @@ jobs:
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
export ${{ matrix.nxf_ver }}
nextflow self-update
drpatelh marked this conversation as resolved.
Show resolved Hide resolved

- name: Run nf-core/tools
run: |
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/push_dockerhub_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,28 @@ name: nf-core Docker push (dev)
# Runs on nf-core repo releases and push event to 'dev' branch (PR merges)
on:
push:
branches:
- dev
branches: [dev]

jobs:
push_dockerhub:
name: Push new Docker image to Docker Hub (dev)
runs-on: ubuntu-latest
# Only run for the nf-core repo, for releases and merged PRs
if: ${{ github.repository == 'nf-core/tools'}}
if: ${{ github.repository == 'nf-core/tools' }}
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_PASS }}
strategy:
matrix:
image: [base, tools]
maxulysse marked this conversation as resolved.
Show resolved Hide resolved
fail-fast: false
steps:
- name: Check out tools code
- name: Check out code
uses: actions/checkout@v2

- name: Build new docker image
run: docker build --no-cache . -t nfcore/${{ matrix.image }}:dev -f ${{ matrix.image }}.Dockerfile
run: docker build --no-cache . -t nfcore/tools:dev

- name: Push Docker image to DockerHub (dev)
run: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push nfcore/${{ matrix.image }}:dev
docker push nfcore/tools:dev

10 changes: 4 additions & 6 deletions .github/workflows/push_dockerhub_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,17 @@ jobs:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_PASS }}
strategy:
matrix:
image: [base, tools]
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Build new docker image
run: docker build --no-cache . -t nfcore/${{ matrix.image }}:latest -f ${{ matrix.image }}.Dockerfile
run: docker build --no-cache . -t nfcore/tools:latest

- name: Push Docker image to DockerHub (release)
run: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push nfcore/${{ matrix.image }}:latest
docker tag nfcore/${{ matrix.image }}:latest nfcore/${{ matrix.image }}:${{ github.event.release.tag_name }}
docker push nfcore/${{ matrix.image }}:${{ github.event.release.tag_name }}
docker push nfcore/tools:latest
docker tag nfcore/tools:latest nfcore/tools:${{ github.event.release.tag_name }}
docker push nfcore/tools:${{ github.event.release.tag_name }}
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2

- name: Check code lints with Black
uses: jpetrucciani/black-check@master
uses: psf/black@stable

# If the above check failed, post a comment on the PR explaining the failure
- name: Post PR comment
Expand Down
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# nf-core/tools: Changelog

## [v2.2 - Lead Liger](https://github.com/nf-core/tools/releases/tag/2.2) - [2021-12-14]

### Template

* Update repo logos to utilize [GitHub's `#gh-light/dark-mode-only`](https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#specifying-the-theme-an-image-is-shown-to), to switch between logos optimized for light or dark themes. The old repo logos have to be removed (in `docs/images` and `assets/`).
* Deal with authentication with private repositories
* Bump minimun Nextflow version to 21.10.3
* Convert pipeline template to updated Nextflow DSL2 syntax
* Solve circular import when importing `nf_core.modules.lint`
* Disable cache in `nf_core.utils.fetch_wf_config` while performing `test_wf_use_local_configs`.
* Modify software version channel handling to support multiple software version emissions (e.g. from mulled containers), and multiple software versions.
* Update `dumpsoftwareversion` module to correctly report versions with trailing zeros.
* Remove `params.hostnames` from the pipeline template ([#1304](https://github.com/nf-core/tools/issues/1304))
* Update `.gitattributes` to mark installed modules and subworkflows as `linguist-generated` ([#1311](https://github.com/nf-core/tools/issues/1311))
* Adding support for [Julia](https://julialang.org) package environments to `nextflow.config`([#1317](https://github.com/nf-core/tools/pull/1317))
* New YAML issue templates for pipeline bug reports and feature requests, with a much richer interface ([#1165](https://github.com/nf-core/tools/pull/1165))
* Update AWS test GitHub Actions to use v2 of [nf-core/tower-action](https://github.com/nf-core/tower-action)
* Post linting comment even when `linting.yml` fails
* Update `CONTRIBUTION.md` bullets to remove points related to `scrape_software_versions.py`
* Update AWS test to set Nextflow version to 21.10.3

### General

* Made lint check for parameters defaults stricter [[#992](https://github.com/nf-core/tools/issues/992)]
* Default values in `nextflow.config` must match the defaults given in the schema (anything with `{` in, or in `main.nf` is ignored)
* Defaults in `nextflow.config` must now match the variable _type_ specified in the schema
* If you want the parameter to not have a default value, use `null`
* Strings set to `false` or an empty string in `nextflow.config` will now fail linting
* Bump minimun Nextflow version to 21.10.3
* Changed `questionary` `ask()` to `unsafe_ask()` to not catch `KeyboardInterupts` ([#1237](https://github.com/nf-core/tools/issues/1237))
* Fixed bug in `nf-core launch` due to revisions specified with `-r` not being added to nextflow command. ([#1246](https://github.com/nf-core/tools/issues/1246))
* Update regex in `readme` test of `nf-core lint` to agree with the pipeline template ([#1260](https://github.com/nf-core/tools/issues/1260))
* Update 'fix' message in `nf-core lint` to conform to the current command line options. ([#1259](https://github.com/nf-core/tools/issues/1259))
* Fixed bug in `nf-core list` when `NXF_HOME` is set
* Run CI test used to create and lint/run the pipeline template with minimum and latest edge release of NF ([#1304](https://github.com/nf-core/tools/issues/1304))
* New YAML issue templates for tools bug reports and feature requests, with a much richer interface ([#1165](https://github.com/nf-core/tools/pull/1165))
* Handle synax errors in Nextflow config nicely when running `nf-core schema build` ([#1267](https://github.com/nf-core/tools/pull/1267))
* Erase temporary files and folders while performing Python tests (pytest)
* Remove base `Dockerfile` used for DSL1 pipeline container builds
* Run tests with Python 3.10

### Modules

* Fixed typo in `module_utils.py`.
* Fixed failing lint test when process section was missing from module. Also added the local failing tests to the warned section of the output table. ([#1235](https://github.com/nf-core/tools/issues/1235))
* Added `--diff` flag to `nf-core modules update` which shows the diff between the installed files and the versions
* Update `nf-core modules create` help texts which were not changed with the introduction of the `--dir` flag
* Check if README is from modules repo
* Update module template to DSL2 v2.0 (remove `functions.nf` from modules template and updating `main.nf` ([#1289](https://github.com/nf-core/tools/pull/))
* Substitute get process/module name custom functions in module `main.nf` using template replacement ([#1284](https://github.com/nf-core/tools/issues/1284))
* Linting now fails instead of warning if a local copy of a module does not match the remote ([#1313](https://github.com/nf-core/tools/issues/1313))
* Check test YML file for md5sums corresponding to empty files ([#1302](https://github.com/nf-core/tools/issues/1302))
* Exit with an error if empty files are found when generating the test YAML file ([#1302](https://github.com/nf-core/tools/issues/1302))

## [v2.1 - Zinc Zebra](https://github.com/nf-core/tools/releases/tag/2.1) - [2021-07-27]

### Template
Expand Down
File renamed without changes.
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include LICENSE
include README.md
recursive-include nf_core *
graft nf_core/module-template
graft nf_core/pipeline-template
include requirements.txt
Loading