oesmith / ralio Goto Github PK
View Code? Open in Web Editor NEWA usable command-line client for Rally
Home Page: https://github.com/oesmith/ralio
A usable command-line client for Rally
Home Page: https://github.com/oesmith/ralio
Travis CI tests are failing on the editor tests. The tests assume /usr/bin/true and /usr/bin/false are available on the system to be exec'd, which is not portable. Replace with purpose built node.js cli stubs?
When the command ralio start is executed, ralio expects a TA instead of a US. No error's outputted ralio assign me to the wrong task.
I was thinking in return a funny message when the user types ralio current
and it has nothing to return. Like "Humm... seems like you're just chilling hum..."
Ideas?
Hi @oesmith What command are you using to run unit tests?
Currently "workspace" isn't an option in the .raliorc
If you have to work on multiple workspaces, there is no way to do that without logging into Rally and modifying your default workspace.
It would be great if we could specify this in the config so we can work on multiple workspaces / projects
Block command does not accept a description even though it is supported by Rally.
Adding User-Agent: "ralio #{version}" to the HTTP request header will identify this tool to the Rally servers.
This is the stacktrace error when I try to execute a instruction to rally without the ~/.raliorc
fs.js:338
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory '/Users/igorescobar/.raliorc'
at Object.fs.openSync (fs.js:338:18)
at Object.fs.readFileSync (fs.js:182:15)
at CLI.configure (/usr/local/share/npm/lib/node_modules/ralio/lib/cli.js:16:31)
at new CLI (/usr/local/share/npm/lib/node_modules/ralio/lib/cli.js:10:8)
at Command. (/usr/local/share/npm/lib/node_modules/ralio/bin/ralio:27:30)
at Command.action (/usr/local/share/npm/lib/node_modules/ralio/node_modules/commander/lib/commander.js:234:8)
at Command.EventEmitter.emit (events.js:126:20)
at Command.parseArgs (/usr/local/share/npm/lib/node_modules/ralio/node_modules/commander/lib/commander.js:406:12)
at Command.parse (/usr/local/share/npm/lib/node_modules/ralio/node_modules/commander/lib/commander.js:356:15)
at Object. (/usr/local/share/npm/lib/node_modules/ralio/bin/ralio:69:9)
When using ralio start
to mark a task as In-Progress, the estimate and todo fields on the task are changed to "1.0". This is probably incorrect behaviour.
Happened with me when I got connected through wifi network. In case of its wifi has a proxy and that proxy denied my access to Rally. Things get ugly.
Hi @oesmith !
Are you using something to semantic versioning like https://github.com/kawamanza/step-up?
With this new feature I think that it's time to release the version 0.1.0.
The .raliorc
file stores passwords in plaintext but is left open for anyone to read. It probably should be made 0600 so only the user can read the file. I'm pretty sure this is the change that needs to be made (I've never worked with node and so I'm just opening this issue instead of making a proper PR).
diff --git a/bin/ralio b/bin/ralio
index 539b83f..383a553 100755
--- a/bin/ralio
+++ b/bin/ralio
@@ -124,7 +124,7 @@ program
var fs = require('fs'),
path = require('path');
- fs.writeFile(path.join(process.env.HOME, '.raliorc'), JSON.stringify(ralio_configuration), function(err) {
+ fs.writeFile(path.join(process.env.HOME, '.raliorc'), JSON.stringify(ralio_configuration), {"mode": 0600}, function(err) {
err ? console.log(err) : console.log("All set! :)".green);
});
It might also be nice to print a warning to stderr if ralio reads .raliorc
and determines it is not secured.
We have a custom scheduled state of T
(Triage) before D
(Defined).
With a bug in the Triage
state, running the following causes this error:
»ralio sprint
1 DE31 - · Some bug
TypeError: Cannot read property 'green' of undefined
at CLI.printTaskLine (/usr/lib/node_modules/ralio/lib/cli.js:285:55)
at /usr/lib/node_modules/ralio/lib/cli.js:70:16
at Array.forEach (native)
at /usr/lib/node_modules/ralio/lib/cli.js:59:13
at /usr/lib/node_modules/ralio/lib/ralio.js:154:9
at Request._callback (/usr/lib/node_modules/ralio/lib/ralio.js:62:7)
at Request.self.callback (/usr/lib/node_modules/ralio/node_modules/request/main.js:120:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request.<anonymous> (/usr/lib/node_modules/ralio/node_modules/request/main.js:555:16)
at Request.EventEmitter.emit (events.js:95:17)
This is caused by the defect with the custom status; moving it on to Defined
makes the command run successfully again.
Just reporting and documenting, there is a bug when you try to "start" on a "DE" on Rally, somehow Ralio try to find a TASK (TA) and assign me to the wrong task.
Suddenly,
All Ralio's commands are returning SSL Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE.
Any thoughts?
Things get ugly when I try to assign points to any task type instead a TA.
Our company uses SSO login for Rally access. Investigating what would be necessary to provide the capability to use ralio in this setting.
Any advice would be greatly appreciated.
⚡ ralio open TA17979
/Users/igorescobar/Projects/ralio/lib/ralio.js:182
story.Tasks = self.orderTasks(story.Tasks);
^
TypeError: Cannot read property 'Tasks' of undefined
at Ralio.story (/Users/igorescobar/Projects/ralio/lib/ralio.js:182:44)
at Request.Ralio.request as _callback
at Request.init.self.callback (/Users/igorescobar/Projects/ralio/node_modules/request/main.js:120:22)
at Request.EventEmitter.emit (events.js:99:17)
at Request. (/Users/igorescobar/Projects/ralio/node_modules/request/main.js:555:16)
at Request.EventEmitter.emit (events.js:96:17)
at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/Users/igorescobar/Projects/ralio/node_modules/request/main.js:517:14)
at IncomingMessage.EventEmitter.emit (events.js:126:20)
at IncomingMessage._emitEnd (http.js:366:10)
at HTTPParser.parserOnMessageComplete as onMessageComplete
what configuration do I need to set up proxy?
ralio show US62764
getaddrinfo ENOTFOUND rally1.rallydev.com rally1.rallydev.com:443
'ralio edit US1234' should pull up the $EDITOR with a set of common fields to edit. Currently 'ralio edit' only supports editing a single field at a time.
Ralio has a very simple and intuitive interface in my opinion but I think it would be very nice if we have autocompletion on the commands.
This is super low-priority but just as an FYI if you have valid credentials but your password has expired then all (?) ralio commands print gibberish. I'm thinking it must be some kind of redirect or something. Once I logged in manually and updated my password everywhere I got running just fine again.
Going by the webservice documentation The TimeEntryValue web service does support a date parameter.
ralio show TA17979
/Users/igorescobar/Projects/ralio/lib/ralio.js:182
story.Tasks = self.orderTasks(story.Tasks);
^
TypeError: Cannot read property 'Tasks' of undefined
at Ralio.story (/Users/igorescobar/Projects/ralio/lib/ralio.js:182:44)
at Request.Ralio.request as _callback
at Request.init.self.callback (/Users/igorescobar/Projects/ralio/node_modules/request/main.js:120:22)
at Request.EventEmitter.emit (events.js:99:17)
at Request. (/Users/igorescobar/Projects/ralio/node_modules/request/main.js:555:16)
at Request.EventEmitter.emit (events.js:96:17)
at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/Users/igorescobar/Projects/ralio/node_modules/request/main.js:517:14)
at IncomingMessage.EventEmitter.emit (events.js:126:20)
at IncomingMessage._emitEnd (http.js:366:10)
at HTTPParser.parserOnMessageComplete as onMessageComplete
Artifact prefixes (['US', 'DE', 'TA', ...]) are configurable in Rally. Ralio should load and possibly cache these instead of using hardcoded values.
The hard-coded STATES and TASKSTATES should be populated from WSAPI and/or user config since these are configurable values in Rally.
Hi @oesmith just to let you know, currently I'm working on a feature on ralio task create
that the user can assign one or more tags to a task. Here at Grupo Abril, SM's are used to assign tags like BLUE_TASK (unpredictable effort) to task at the moment of creation so here we go ... ;)
as a developer, I'd like to edit HTML fields (e.g. Description) in markdown instead of HTML.
Hi @oesmith!
Do do you think that is a good idea start developing new features for scrum masters?
The thing is that here is very common teams submit the tasks after the planning (2) to the scrum master and then he has to create all tasks inside of histories.
What kind of features do you think we can develop focusing on scrum masters?
I'm thinking in start to develop a feature that we can add tasks inside a history, in order of priority this is the top 1 for me.
What do you think?
Upgrade the Rally API calls to 2.x. This requires removing the use of adhoc.js since it's not supported in 2.x.
Hi man!
Nice work with your client!
I'm experiencing this problems after execute the following: ralio sprint
/usr/local/share/npm/lib/node_modules/ralio/lib/cli.js:177
fields.push(story.Blocked ? state.red : state.green);
^
TypeError: Cannot read property 'green' of undefined
at CLI.printStoryLine (/usr/local/share/npm/lib/node_modules/ralio/lib/cli.js:177:50)
at CLI.sprint (/usr/local/share/npm/lib/node_modules/ralio/lib/cli.js:49:14)
at Array.forEach (native)
at CLI.sprint (/usr/local/share/npm/lib/node_modules/ralio/lib/cli.js:47:13)
at Ralio.sprint (/usr/local/share/npm/lib/node_modules/ralio/lib/ralio.js:143:9)
at Request.Ralio.bulk as _callback
at Request.init.self.callback (/usr/local/share/npm/lib/node_modules/ralio/node_modules/request/main.js:120:22)
at Request.EventEmitter.emit (events.js:99:17)
at Request. (/usr/local/share/npm/lib/node_modules/ralio/node_modules/request/main.js:555:16)
at Request.EventEmitter.emit (events.js:96:17)
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.