x-formation / pulsekit Goto Github PK
View Code? Open in Web Editor NEWCommand line client for Zutubi Pulse server.
License: MIT License
Command line client for Zutubi Pulse server.
License: MIT License
When pulse is unstable (which happens often) then pulsecli hangs forever. Change the default timeout to something sensible.
~ $ pulsecli status
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x80 pc=0x435fd5]
goroutine 16 [running]:
runtime.panic(0x7c64a0, 0xa34fb3)
/home/rjeczalik/.gvm/gos/go1.3.3/src/pkg/runtime/panic.c:279 +0xf5
github.com/x-formation/pulsekit/cli.(*CLI).init(0xc2080f4000, 0xc2080f4180, 0x0, 0x0)
/tmp/gobin497561534/src/github.com/x-formation/pulsekit/cli/cli.go:271 +0x825
github.com/x-formation/pulsekit/cli.(*CLI).Status(0xc2080f4000, 0xc2080f4180)
/tmp/gobin497561534/src/github.com/x-formation/pulsekit/cli/cli.go:624 +0x42
github.com/x-formation/pulsekit/cli.*CLI.Status·fm(0xc2080f4180)
/tmp/gobin497561534/src/github.com/x-formation/pulsekit/cli/cli.go:210 +0x30
github.com/codegangsta/cli.Command.Run(0x821170, 0x6, 0x0, 0x0, 0x847370, 0x14, 0x0, 0x0, 0x0, 0x0, ...)
/tmp/gobin497561534/src/github.com/codegangsta/cli/command.go:113 +0xeb2
github.com/codegangsta/cli.(*App).Run(0xc20803f380, 0xc20800e000, 0x2, 0x2, 0x0, 0x0)
/tmp/gobin497561534/src/github.com/codegangsta/cli/app.go:156 +0xaea
github.com/x-formation/pulsekit/cli.(*CLI).Run(0xc2080f4000, 0xc20800e000, 0x2, 0x2)
/tmp/gobin497561534/src/github.com/x-formation/pulsekit/cli/cli.go:660 +0x49
main.main()
/tmp/gobin497561534/src/github.com/x-formation/pulsekit/cmd/pulsecli/main.go:10 +0x52
goroutine 19 [finalizer wait]:
runtime.park(0x412e80, 0xa39b28, 0xa37d29)
/home/rjeczalik/.gvm/gos/go1.3.3/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0xa39b28, 0xa37d29)
/home/rjeczalik/.gvm/gos/go1.3.3/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/home/rjeczalik/.gvm/gos/go1.3.3/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/home/rjeczalik/.gvm/gos/go1.3.3/src/pkg/runtime/proc.c:1445
goroutine 17 [syscall]:
runtime.goexit()
/home/rjeczalik/.gvm/gos/go1.3.3/src/pkg/runtime/proc.c:1445
goroutine 25 [select]:
net/http.(*persistConn).readLoop(0xc2080da0b0)
/home/rjeczalik/.gvm/gos/go1.3.3/src/pkg/net/http/transport.go:868 +0x829
created by net/http.(*Transport).dialConn
/home/rjeczalik/.gvm/gos/go1.3.3/src/pkg/net/http/transport.go:600 +0x93f
goroutine 26 [select]:
net/http.(*persistConn).writeLoop(0xc2080da0b0)
/home/rjeczalik/.gvm/gos/go1.3.3/src/pkg/net/http/transport.go:885 +0x38f
created by net/http.(*Transport).dialConn
/home/rjeczalik/.gvm/gos/go1.3.3/src/pkg/net/http/transport.go:601 +0x957
Current filtering does not work for the trigger
subcommand, but it may be caused by #4.
Current record files (#21, 6ae7628) for tests were recorded over VPN, which causes test failures as show here:
https://travis-ci.org/x-formation/pulsekit/jobs/35677874
https://ci.appveyor.com/project/rjeczalik/pulsekit
Recording tests again and committing changes will fix those failures.
This is the case at least for --project property. It causes problems when, valid project name is invalid regex, for example: "C++ - Unittest":
pulsecli --patch f.diff --project "C++ Unittest" personal
Verify if other properties have the same issue and fix this, using result of regex instead of regex itself.
If valid credentials are already saved, and user tries to provide new ones, which are invalid, there should be message informing about keeping existing creds.
Just like you can trigger a build you should also be able to clean a build.
$ pulsecli -p '..*' health
pulse: invalid build: id=0, status=UNKNOWN, reqid=0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.