Skip to content

borges pack fails with "feature not supported" #309

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

Closed
campoy opened this issue Jun 19, 2018 · 2 comments
Closed

borges pack fails with "feature not supported" #309

campoy opened this issue Jun 19, 2018 · 2 comments

Comments

@campoy
Copy link

campoy commented Jun 19, 2018

After installing borges in a brand new VM borges pack fails with the repos.txt below:

https://github.com/src-d/borges

Below the logs:

➜ borges pack --file=repos.txt
[2018-06-18T20:44:18.759639351-07:00] ERROR error pushing changes to rooted repository endpoint=https://github.com/src-d/borges error=push to rooted repo f281ab6f2e0e38dcc3af05360667d8f530c00103 failed: feature not supported

github.com/src-d/borges.(*Archiver).pushChangesToRootedRepositories
	/Users/francesc/src/github.com/src-d/borges/archiver.go:322
github.com/src-d/borges.(*Archiver).doPush
	/Users/francesc/src/github.com/src-d/borges/archiver.go:220
github.com/src-d/borges.(*Archiver).do
	/Users/francesc/src/github.com/src-d/borges/archiver.go:159
github.com/src-d/borges.(*Archiver).Do
	/Users/francesc/src/github.com/src-d/borges/archiver.go:103
github.com/src-d/borges.NewArchiverWorkerPool.func1
	/Users/francesc/src/github.com/src-d/borges/archiver.go:602
github.com/src-d/borges.(*Worker).Start.func2
	/Users/francesc/src/github.com/src-d/borges/worker.go:63
runtime.goexit
	/Users/francesc/go/src/runtime/asm_amd64.s:2361 job=01641624-7570-8bb8-b941-0c23766b8aa3 root=f281ab6f2e0e38dcc3af05360667d8f530c00103
[2018-06-18T20:44:18.824499881-07:00] ERROR job finished with error error=repository processed with errors: archiving 1 out of 1 roots failed: f281ab6f2e0e38dcc3af05360667d8f530c00103

github.com/src-d/borges.(*Archiver).doPush
	/Users/francesc/src/github.com/src-d/borges/archiver.go:223
github.com/src-d/borges.(*Archiver).do
	/Users/francesc/src/github.com/src-d/borges/archiver.go:159
github.com/src-d/borges.(*Archiver).Do
	/Users/francesc/src/github.com/src-d/borges/archiver.go:103
github.com/src-d/borges.NewArchiverWorkerPool.func1
	/Users/francesc/src/github.com/src-d/borges/archiver.go:602
github.com/src-d/borges.(*Worker).Start.func2
	/Users/francesc/src/github.com/src-d/borges/worker.go:63
runtime.goexit
	/Users/francesc/go/src/runtime/asm_amd64.s:2361 job=01641624-7570-8bb8-b941-0c23766b8aa3
[2018-06-18T20:44:18.824567744-07:00] ERROR error on job error=repository processed with errors: archiving 1 out of 1 roots failed: f281ab6f2e0e38dcc3af05360667d8f530c00103

github.com/src-d/borges.(*Archiver).doPush
	/Users/francesc/src/github.com/src-d/borges/archiver.go:223
github.com/src-d/borges.(*Archiver).do
	/Users/francesc/src/github.com/src-d/borges/archiver.go:159
github.com/src-d/borges.(*Archiver).Do
	/Users/francesc/src/github.com/src-d/borges/archiver.go:103
github.com/src-d/borges.NewArchiverWorkerPool.func1
	/Users/francesc/src/github.com/src-d/borges/archiver.go:602
github.com/src-d/borges.(*Worker).Start.func2
	/Users/francesc/src/github.com/src-d/borges/worker.go:63
runtime.goexit
	/Users/francesc/go/src/runtime/asm_amd64.s:2361 worker=0

It seems like the error fails while trying to push the siva file to https://github.com/src-d/borges?
Am I holding this wrong?

@ajnavarro
Copy link
Contributor

ajnavarro commented Jun 19, 2018

I guess you are compiling from source code instead of using a binary from release page, right?

To do that, right now you need to add a special flag when building, to make go-git compatible with filesystems that only allows read or write, not both at the same time (in this case we are using go-billy-siva as filesystem):

-tags norwfs

We are preparing a PR to avoid that on go-git: src-d/go-git#864

@campoy
Copy link
Author

campoy commented Jun 20, 2018

I'll close as duplicated of src-d/go-git#864 then

@campoy campoy closed this as completed Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants