Git client...

80 views
Skip to first unread message

Ingwie Phoenix

unread,
Jun 26, 2014, 1:05:27 PM6/26/14
to nod...@googlegroups.com
Hey.

I am working on a software, that should update itself. Its running on a server, and should recognize when it can update itself. I have the concept and how this is gonna work so far. Problem: I need a git client. Like, a way to figure out if there are pull-able changes. Something like this - obviously a mockup - would be great:

if(git.canPull()) runUpdate();

simple and good.

Kind regards, Ingwie.

Alex Kocharin

unread,
Jun 26, 2014, 3:29:14 PM6/26/14
to nod...@googlegroups.com

if (child_process.execSync('git blah-blah')) child_process.execSync('git blah-blah-blah') ?


(there is also creationix/js-git, I have no idea what it can do though)


26.06.2014, 21:02, "Ingwie Phoenix" <ingwi...@googlemail.com>:
> --
> Job board: http://jobs.nodejs.org/
> New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
> To post to this group, send email to nod...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/7A7BFE04-7C53-4697-916F-ED8B82340B5B%40googlemail.com.
> For more options, visit https://groups.google.com/d/optout.

Ingwie Phoenix

unread,
Jun 26, 2014, 3:35:15 PM6/26/14
to nod...@googlegroups.com
I am not on 0.12.x - still on 0.10.29, so no execSync for me for now :)

but I will see if js-git is what I need, thanks!
> To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/1208491403806791%40web4j.yandex.ru.

Ryan Schmidt

unread,
Jun 27, 2014, 3:57:50 AM6/27/14
to nod...@googlegroups.com

On Jun 26, 2014, at 2:29 PM, Ingwie Phoenix wrote:

> I am not on 0.12.x - still on 0.10.29, so no execSync for me for now :)

There are execSync modules available in npm that work on node 0.10, if that's the only problem to overcome.

Martín Ciparelli

unread,
Jun 27, 2014, 12:24:29 PM6/27/14
to nod...@googlegroups.com
Or simply exec, right? It's not like you won't find any async-flow library out there :D


--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages