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

Use something other than /tmp/git2prov? #8

Open
timrdf opened this issue Jun 6, 2014 · 3 comments
Open

Use something other than /tmp/git2prov? #8

timrdf opened this issue Jun 6, 2014 · 3 comments

Comments

@timrdf
Copy link

timrdf commented Jun 6, 2014

My /tmp fills up when trying to work on a big repo. Is there away to point git2prov to a different directory to clone the repo?

Thanks!
Tim

git2prov https://github.com/timrdf/csv2rdf4lod-automation.git > csv.ttl

/usr/local/lib/node_modules/git2prov/bin/git2prov:21
    throw error;
          ^
Error: Command failed: fatal: write error: No space left on device
fatal: index-pack failed

    at ChildProcess.exithandler (child_process.js:647:15)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:753:16)
    at Socket.<anonymous> (child_process.js:966:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:465:12)

$ du -sh /tmp/git2prov/
79M /tmp/git2prov/
@RubenVerborgh
Copy link
Member

The system temp folder is used by default.
This could be changed by a switch by overriding this line.

@timrdf
Copy link
Author

timrdf commented Jun 6, 2014

Thanks for the pointer. Would it make sense to accept a --cache-loc parameter or similar? I could have a go at it and submit a pull request...

@RubenVerborgh
Copy link
Member

That could make sense. Perhaps --temp?

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