Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to work with local bare repos or bad documentation #1492

Closed
dantefff opened this issue Feb 12, 2020 · 2 comments · Fixed by #1624
Closed

Unable to work with local bare repos or bad documentation #1492

dantefff opened this issue Feb 12, 2020 · 2 comments · Fixed by #1624
Labels

Comments

@dantefff
Copy link

When I make a local bare repo as explained in documentation, I can run from it only once.

Expected behavior and actual behavior

When I run a workflow from a local bare repository it works only first time. Next time I run it says
Can't find any configured provider for git server XXX-- Make sure to have specified it in yourscm file. For details check https://www.nextflow.io/docs/latest/sharing.html#scm-configuration-file

Steps to reproduce the problem

mkdir /tmp/deleteme
cd /tmp/deleteme
git init --bare bare.git
git clone /tmp/deleteme/bare.git repo
cd repo
echo -e '#!/usr/bin/env nextflow\nprocess dummy {"sleep 1"}' > main.nf
git commit main.nf -m "dummy"
git push
cd ..
rm repo -rf
nextflow run file:/tmp/deleteme/bare.git
####THIS RUNS OK WITH SAFE WARNINGS####
nextflow run file:/tmp/deleteme/bare.git
####THIS COMPLAINS:
####Can't find any configured provider for git server `/tmp/deleteme` -- Make sure to have specified it in your `scm` file. For details check https://www.nextflow.io/docs/latest/sharing.html#scm-configuration-file

Program output

N E X T F L O W  ~  version 19.10.0
Can't find any configured provider for git server `/tmp/deleteme` -- Make sure to have specified it in your `scm` file. For details check https://www.nextflow.io/docs/latest/sharing.html#scm-configuration-file

Environment

  • Nextflow version: 19.10.0 build 5170
  • Java version: openjdk version "1.8.0_232"
  • Operating system: Linux Debian 9.11
  • Bash version: GNU bash, versión 4.4.12(1)-release (x86_64-pc-linux-gnu)

Realted to

#95 Add support for local bare git repositories

@stale
Copy link

stale bot commented Apr 27, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 27, 2020
@dantefff
Copy link
Author

This issue is still active

@pditommaso pditommaso added stale and removed wontfix labels Apr 27, 2020
emi80 added a commit that referenced this issue Jun 9, 2020
…es - #1492

Signed-off-by: Emilio Palumbo <emiliopalumbo@gmail.com>
emi80 added a commit that referenced this issue Jun 10, 2020
…es - #1492

Signed-off-by: Emilio Palumbo <emiliopalumbo@gmail.com>
pditommaso pushed a commit that referenced this issue Jun 12, 2020
…es - #1492 (#1624)

Signed-off-by: Emilio Palumbo <emiliopalumbo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants