nf-core / nf-core/tools

Havin an ssh remote for modules fails linting

Open
#3,510 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug linting
Dominant language
Python
Stars
322
Forks
255
Avg merge
2d 3h
Merged PRs (30d)
5

Description

Description of the bug

When I have this in my modules.json git@github.com:XXX/modules.git, it fails linting.
Switching it to https https://github.com/XXX/modules.git solves that issue.

Command used and terminal output
$ nf-core pipelines lint

modules_json: Your modules.json file is outdated. It will be automatically generated by running any module command.
System information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the nf-core pipelines lint entry point and the handling of the modules.json remote shown in the report. Reproduce the lint with the SSH URL, compare it with the HTTPS URL, and verify that a valid SSH remote no longer produces the outdated-modules result.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.