These are chat archives for nextflow-io/nextflow

6th
Oct 2015
Matthieu Foll
@mfoll
Oct 06 2015 13:27
hi paolo, sorry for the late reply, I would be happy to try the new local gitlab repo feature!
Paolo Di Tommaso
@pditommaso
Oct 06 2015 13:44
@mfoll That would be great. To download the snapshot simply define an env variable NXF_VER=0.16.0-SNAPSHOT
when you execute nextflow it will download the deps
then create a file at this path $HOME/.nextflow/scm, with this content
providers {
    my {
        server = 'http://54.154.228.240'
        user = 'pditommaso'
        password = 'x35AkF_zw8duzcPDTjmm'
        platform = 'gitlab'
    }
}
using your data, the password must be your gitlab auth token
Matthieu Foll
@mfoll
Oct 06 2015 13:46
ok
Paolo Di Tommaso
@pditommaso
Oct 06 2015 13:47
then it should work using this cmd line:
nextflow run <project> -hub my
Paolo Di Tommaso
@pditommaso
Oct 06 2015 14:12
@mfoll one more thing, could you please open an issue including the variables that you want to be able to access for logging purpose
Matthieu Foll
@mfoll
Oct 06 2015 14:19
So it is working great but I have a problem when the repo is private:
Paolo Di Tommaso
@pditommaso
Oct 06 2015 14:20
ah
ok, if so I will need to make another iteration
Matthieu Foll
@mfoll
Oct 06 2015 14:20
N E X T F L O W  ~  version 0.16.0-SNAPSHOT
Pulling FollM/nf_test …
my_gitlab_server/nf_test.git: not authorized
Paolo Di Tommaso
@pditommaso
Oct 06 2015 14:21
I see, I think I know what's the problem
Matthieu Foll
@mfoll
Oct 06 2015 14:22
And if I try a second time I have:
N E X T F L O W  ~  version 0.16.0-SNAPSHOT
ERROR ~ Unexpected error [NullPointerException]
If I put a wrong password the error is different:
Not authorized -- Check that the GitLab user name and password provided are correct
Paolo Di Tommaso
@pditommaso
Oct 06 2015 14:22
yes because it can download it, so your local repo is corrupted . .
Matthieu Foll
@mfoll
Oct 06 2015 14:23
Note that I added my ssh key in gitlab (http://doc.gitlab.com/ce/ssh/README.html)
And still the same
Paolo Di Tommaso
@pditommaso
Oct 06 2015 14:23
I don't think it's necessary to nextflow because it uses http protocol
I think the problem is that it is required to specify the username + password + auth token
Matthieu Foll
@mfoll
Oct 06 2015 14:24
ok
Paolo Di Tommaso
@pditommaso
Oct 06 2015 14:25
instead now I'm just using the auth token as password
Matthieu Foll
@mfoll
Oct 06 2015 14:25
I’ll let you figure out the problem...
Paolo Di Tommaso
@pditommaso
Oct 06 2015 14:25
;)
Matthieu Foll
@mfoll
Oct 06 2015 14:25
I’ll submit an issue about the variables access for logging
Paolo Di Tommaso
@pditommaso
Oct 06 2015 14:25
Thanks
you may be interested to this
Matthieu Foll
@mfoll
Oct 06 2015 14:29
Thanks, I saw that but unfortunatly I can’t attend at these dates...
Paolo Di Tommaso
@pditommaso
Oct 06 2015 14:29
ok, just to share