Is the following a known bug? I forked the modules...
# tools
m
Is the following a known bug? I forked the modules repo but I still cannot run an update command.
Copy code
āÆ nf-core modules update sourmash/gather


                                          ,--./,-.
          ___     __   __   __   ___     /,-._.--~\
    |\ | |__  __ /  ` /  \ |__) |__         }  {
    | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                          `._,._,'

    nf-core/tools version 3.3.2 - <https://nf-co.re>


ERROR    Modules can not be updated in clones of the nf-core/modules repository.
āÆ gr -v
origin  git@github.com:Midnighter/modules.git (fetch)
origin  git@github.com:Midnighter/modules.git (push)
upstream        git@github.com:nf-core/modules.git (fetch)
upstream        git@github.com:nf-core/modules.git (push)
j
Is this for version bump?
nf-core modules bump-versions sourmash/gather
m
Oh, I ran update šŸ˜›
j
indeed
p
should change the error message to append
", only pipelines"
m
Yeah, that would have led me in the right direction, although this is squarely a user error. Your help text is nice and clear.
Copy code
āÆ nf-core modules -h


                                          ,--./,-.
          ___     __   __   __   ___     /,-._.--~\
    |\ | |__  __ /  ` /  \ |__) |__         }  {
    | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                          `._,._,'

    nf-core/tools version 3.3.2 - <https://nf-co.re>



 Usage: nf-core modules [OPTIONS] COMMAND [ARGS]...

 Commands to manage Nextflow DSL2 modules (tool wrappers).

╭─ For pipelines ──────────────────────────────────────────────────────────────────────────────────╮
│ list          List modules in a local pipeline or remote repository.                             │
│ info          Show developer usage information about a given module.                             │
│ install       Install DSL2 modules within a pipeline.                                            │
│ update        Update DSL2 modules within a pipeline.                                             │
│ remove        Remove a module from a pipeline.                                                   │
│ patch         Create a patch file for minor changes in a module                                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Developing new modules ─────────────────────────────────────────────────────────────────────────╮
│ create          Create a new DSL2 module from the nf-core template.                              │
│ lint            Lint one or more modules in a directory.                                         │
│ test            Run nf-test for a module.                                                        │
│ bump-versions   Bump versions for one or more modules in a clone of the nf-core/modules repo.    │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮
│ --git-remote  -g  TEXT  Remote git repo to fetch files from                                      │
│ --branch      -b  TEXT  Branch of git repository hosting modules.                                │
│ --no-pull     -N        Do not pull in latest changes to local clone of modules repository.      │
│ --help        -h        Show this message and exit.                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯