You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a remote component repository, most modules and subworkflows commands need to be augmented with --git-remote or -g and if needed the --branch. It ok when installing multiple modules or subworkflows back-to-back, the command line still in history.
In my lab, however it has become increasingly heavy, since most of our modules and subworkflows live outside of nf-core repositories for now and the creation of a new component requires to call create, test and lint commands a lot. It would be nice to have a programmatic way to configure those remotes, may it be in nf-core configuration directly, or through the CLI environment.
I'm not sure the best way to do this, environment variables seems easy to do, but XDG_CONFIG_HOME is maybe a more standard way to do it. In any case, let's talk about it !
The text was updated successfully, but these errors were encountered:
I've thought about this myself for the same reason as the OP. I would like to implement a "config" that would allow the user to define remotes and then just choose the remote via --remote <defined_name> as well as setting a non-nf-core default remote. However when I started scoping it out the way config is loaded across tools was too complicated to implement this easily/quickly.
Description of feature
When using a remote component repository, most
modules
andsubworkflows
commands need to be augmented with--git-remote
or-g
and if needed the--branch
. It ok when installing multiple modules or subworkflows back-to-back, the command line still in history.In my lab, however it has become increasingly heavy, since most of our
modules
andsubworkflows
live outside ofnf-core
repositories for now and the creation of a new component requires to callcreate
,test
andlint
commands a lot. It would be nice to have a programmatic way to configure those remotes, may it be innf-core
configuration directly, or through the CLI environment.I'm not sure the best way to do this,
environment variables
seems easy to do, butXDG_CONFIG_HOME
is maybe a more standard way to do it. In any case, let's talk about it !The text was updated successfully, but these errors were encountered: