You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not know if this list is correct with the list of dependencies, it may be that some are not compatible with the functionality of the project.
But I think this is the way.
What do you think, @ekalinin?
It's failing because curl --silent -L http://nodejs.org/dist/node-v-RC1.tar.gz returns a 404.
I'm going to poke at this today (trying to get better windows support in pre-commit/pre-commit#159). I think eliminating a few of the requirements is pretty straightforward.
curl (at least in my configuration) has different options than unix. Should be easy enough to replace with the urllib equivalent however and eliminate that binary dependency.
tar (at least in my configuration) seems identical to POSIX tar
The node binaries are packaged differently for windows (ugh)
For nodejs.org they are at /dist/{version}/node.exe for x86 and /dist/{version}/x64/node.exe for x86_64
For iojs.org they are at /dist/{version}/win-x86 and /dist/{version}/win-x64
Activity
gladson commentedon Feb 27, 2014
As I'm not very good, even in coding in Python, I think this would be the way:
To dependence:
curl
http://stackoverflow.com/a/22721/3191497
http://docs.python.org/2/library/urllib2.html#examples
egrep
http://docs.python.org/2/library/re.html
http://docs.python.org/2/library/re.html#examples
sort
http://docs.python.org/2/library/functions.html#sorted
http://www.tutorialspoint.com/python/list_sort.htm
tail
https://gist.github.com/amitsaha/5990310
tar
http://docs.python.org/2/library/tarfile.html#module-tarfile
http://docs.python.org/2/library/tarfile.html#examples
I do not know if this list is correct with the list of dependencies, it may be that some are not compatible with the functionality of the project.
But I think this is the way.
What do you think, @ekalinin?
ekalinin commentedon Feb 28, 2014
It's a good idea, but I have no windows-like system near me.
But patches are welcome.
gladson commentedon Feb 28, 2014
👍
Thanks man.
neverfox commentedon Mar 11, 2014
It's failing because
curl --silent -L http://nodejs.org/dist/node-v-RC1.tar.gzreturns a 404.asottile commentedon Feb 8, 2015
I'm going to poke at this today (trying to get better windows support in pre-commit/pre-commit#159). I think eliminating a few of the requirements is pretty straightforward.
ekalinin commentedon Feb 8, 2015
👍
asottile commentedon Feb 8, 2015
Some notes for now:
The configuration I'm targeting is
Git Shell(provided by github tools), though I should be able to get it working with less than that probably.egrepandsortcurl(at least in my configuration) has different options than unix. Should be easy enough to replace with theurllibequivalent however and eliminate that binary dependency.tar(at least in my configuration) seems identical to POSIX tar/dist/{version}/node.exefor x86 and/dist/{version}/x64/node.exefor x86_64/dist/{version}/win-x86and/dist/{version}/win-x64techtonik commentedon Feb 9, 2016
I believe this now can be moved to #140, because error message have changed since then, and some progress was made on
--prebuiltbinaries.ekalinin commentedon Feb 13, 2016
Will be fixed in #140