Skip to content

using snakedeploy with repos not on githubΒ #26

@nate-d-olson

Description

@nate-d-olson
  • snakedeploy version: 0.3.0
  • Python version: 3.10.1
  • Operating System: Debian GNU/Linux 9

Description

Would like to use snakedelopy with either a local git repository or an internal gitlab server.

I get the following error that the object has no attribute get_repo_name

I understand that this repo is under activate development and you might not be able to support this functionality at this time.

What I Did

When I tried to use the gitlab url

snakedeploy deploy-workflow --tag v0.002 https://gitlab.nist.gov/gitlab/njd2/giab-asm-bench-whole-genome /working/geneteam/testdeploy
Writing Snakefile with module definition...
Traceback (most recent call last):
  File "/working/geneteam/mambaforge/envs/defrabb/bin/snakedeploy", line 10, in <module>
    sys.exit(main())
  File "/working/geneteam/mambaforge/envs/defrabb/lib/python3.10/site-packages/snakedeploy/client.py", line 156, in main
    deploy(
  File "/working/geneteam/mambaforge/envs/defrabb/lib/python3.10/site-packages/snakedeploy/deploy.py", line 36, in deploy
    name=name or provider.get_repo_name().replace("-", "_"),
AttributeError: 'NoneType' object has no attribute 'get_repo_name'

When I tried to use a local path

 snakedeploy deploy-workflow --tag v0.002 /working/geneteam/giab-asm-bench-whole-genome testdeploy_local
Writing Snakefile with module definition...
Traceback (most recent call last):
  File "/working/geneteam/mambaforge/envs/defrabb/bin/snakedeploy", line 10, in <module>
    sys.exit(main())
  File "/working/geneteam/mambaforge/envs/defrabb/lib/python3.10/site-packages/snakedeploy/client.py", line 156, in main
    deploy(
  File "/working/geneteam/mambaforge/envs/defrabb/lib/python3.10/site-packages/snakedeploy/deploy.py", line 36, in deploy
    name=name or provider.get_repo_name().replace("-", "_"),
AttributeError: 'NoneType' object has no attribute 'get_repo_name'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions