mfojtik / tracker

Simple GIT patch review tracker
1 stars 1 forks source link

most actions don't work on Windows #15

Open dkoper opened 11 years ago

dkoper commented 11 years ago

Most actions don't work on my machine, I assume because it's running Windows. I get errors like:

d:\sources\OSS\cloud\deltacloud\tests>tracker publish fatal: invalid --pretty format: '{ D:/programs/Ruby187/lib/ruby/gems/1.8/gems/tracker-client-1.1.3/lib/comm and.rb:357:in git_cmd': Child process returned 32768 (Tracker::Cmd::ChildCommandError) from D:/programs/Ruby187/lib/ruby/gems/1.8/gems/tracker-client-1.1.3/lib/comm and.rb:55:inpatches_to_json' from D:/programs/Ruby187/lib/ruby/gems/1.8/gems/tracker-client-1.1.3/lib/comm and.rb:72:in record' from D:/programs/Ruby187/lib/ruby/gems/1.8/gems/tracker-client-1.1.3/bin/trac ker:61 from D:/programs/Ruby187/bin/tracker:19:inload' from D:/programs/Ruby187/bin/tracker:19

Same for tracker status.

dkoper commented 11 years ago

More details:

d:\sources\OSS\cloud\deltacloud\server>git --version git version 1.8.0.msysgit.0

and adding puts GIT_CMD:

d:\sources\OSS\cloud\deltacloud\server>tracker status git --no-pager log origin/master..HEAD --format='{ "hashes":{ "commit":"%H", "tree":"%T", "parents":"%P" },"author":{ "date": "%ai", "name": "%an", "email":"%ae " },"committer":{ "date": "%ci", "name": "%cn", "email":"%ce" } },' . fatal: invalid --pretty format: '{