raul / pt Goto Github PK
View Code? Open in Web Editor NEWMinimal client to use Pivotal Tracker from the console.
License: MIT License
Minimal client to use Pivotal Tracker from the console.
License: MIT License
Hello guys, it looks like this project is deprecated and unmaintained. So I decided to fork the project and upload a new gem called ptt that works with API v5. Enjoy :)
It would be more convenient to be able to interact with pt from within any subdirectory of my project, without creating a .pt file in each directory.
Not sure, but it seems there is something wrong somewhere inside this piece of code:
tasks = @client.get_my_work(@project, @local_config[:user_name])
table = PT::TasksTable.new(tasks)
As for me, whenever I launch pt show
and then select a task ordered number from the list, it will always append the output for the first and second tasks to the one I requested
Another issue, when trying to create a ticket with description:
pt create "titile of the issue here" ~"My Name" ~bug -m "Description of the issue"
/Users/roman/.rvm/gems/ruby-1.9.3-p392/gems/pt-0.6.4/lib/pt/ui.rb:115:in `create': undefined method `create_task_with_description' for #<PT::Client:0x007fb22c0323f8 @project=nil> (NoMethodError)
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/gems/pt-0.6.4/lib/pt/ui.rb:20:in `initialize'
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/gems/pt-0.6.4/bin/pt:10:in `new'
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/gems/pt-0.6.4/bin/pt:10:in `<top (required)>'
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/bin/pt:19:in `load'
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/bin/pt:19:in `<main>'
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `<main>'
If the prompt is interrupted with CTRL-C
for example, it is not handled gracefully throwing an exception.
This is more of a minor annoyance, but whenever I run pt I see the following warning message on stderr:
/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
We have several stories that aren't associated with code. Would it be reasonable/easy to allow us to run it from our home directory instead of a project dir?
When creating an issue, it would be nice to be able to add labels to it. Are there any plans to support this in the future?
Can look at both the foldername and the git address if it exists
When I run PT in a project directory ir correctly shows the list of pivotal projects. However when I pick the right one, the following error always appears: NOTE: Picking 1 always gives bad access error (see other ticket) vs this one
Please select the project for the current directory (1-9, 'q' to exit)
8
/Users/mlussier/.rvm/gems/ruby-1.9.2-p180/gems/pt-0.2.1/lib/pt/ui.rb:216:in load_local_config': undefined method
name' for nil:NilClass (NoMethodError)
from /Users/mlussier/.rvm/gems/ruby-1.9.2-p180/gems/pt-0.2.1/lib/pt/ui.rb:14:in initialize' from /Users/mlussier/.rvm/gems/ruby-1.9.2-p180/gems/pt-0.2.1/bin/pt:8:in
new'
from /Users/mlussier/.rvm/gems/ruby-1.9.2-p180/gems/pt-0.2.1/bin/pt:8:in <top (required)>' from /Users/mlussier/.rvm/gems/ruby-1.9.2-p180/bin/pt:19:in
load'
from /Users/mlussier/.rvm/gems/ruby-1.9.2-p180/bin/pt:19:in `
if someone assigns OT something it fails, but OT is my initials, it should be supported.
iMac-de-David-Ramirez:looplay davidrv$ pt
I can't find info about this project in /Users/davidrv/Sites/looplay/.pt
┌─────┬─────────┐
│ num │ name │
├─────┼─────────┤
│ 1 ╎ looplay │
└─────┴─────────┘
Please select the project for the current directory (1-1, 'q' to exit)
1
/Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/rest-client-1.6.3/lib/restclient/abstract_response.rb:48:in return!': 400 Bad Request (RestClient::BadRequest) from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/rest-client-1.6.3/lib/restclient/request.rb:228:in
process_result'
from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/rest-client-1.6.3/lib/restclient/request.rb:176:in block in transmit' from /Users/davidrv/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:627:in
start'
from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/rest-client-1.6.3/lib/restclient/request.rb:170:in transmit' from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/rest-client-1.6.3/lib/restclient/request.rb:64:in
execute'
from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/rest-client-1.6.3/lib/restclient/request.rb:33:in execute' from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/rest-client-1.6.3/lib/restclient/resource.rb:51:in
get'
from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/pivotal-tracker-0.3.1/lib/pivotal-tracker/membership.rb:7:in all' from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/pt-0.2.1/lib/pt/client.rb:24:in
get_membership'
from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/pt-0.2.1/lib/pt/ui.rb:215:in load_local_config' from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/pt-0.2.1/lib/pt/ui.rb:14:in
initialize'
from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/pt-0.2.1/bin/pt:8:in new' from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/pt-0.2.1/bin/pt:8:in
<top (required)>'
from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/bin/pt:19:in load' from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/bin/pt:19:in
Hi,
I've an error when I'm showing a story:
Please select a story to show (1-31, 'q' to exit)
5
Maquetar e-mails de "Registro, recuperar password, etc...
Unstarted feature | 2 points | Req: David | Owns: David Inga
/Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/pt-0.3.5/lib/pt/ui.rb:314:in show_task': undefined method
any?' for #String:0x00000100eab928 (NoMethodError)
from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/pt-0.3.5/lib/pt/ui.rb:170:in show' from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/pt-0.3.5/lib/pt/ui.rb:19:in
initialize'
from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/pt-0.3.5/bin/pt:8:in new' from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/gems/pt-0.3.5/bin/pt:8:in
<top (required)>'
from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/bin/pt:19:in load' from /Users/davidrv/.rvm/gems/ruby-1.9.2-p0@looplay/bin/pt:19:in
See u Raul! :)
I happen to have my middle initial (followed by a period) in my name in Tracker. This breaks the "my work" search that pt-without-arguments does. You can fix it by wrapping the user's name with (URL escaped) single or double quotes.
I know I'm using the right email and password. I can login in the browser without issue.
❯ pt --debug
I can't find info about your Pivotal Tracker account in /Users/z/.pt.
What is your email?
[email protected]
And your password? (won't be displayed on screen)
**************
Request: POST https://www.pivotaltracker.com/services/v3/tokens/active
Payload: username=zeke%40sikelianos.com&password=**************&timeout=60
Bad email/password combination. Please try again.
What is your email?
➜ gravity git:(master) ✗ pt create "blah blah"
/Users/orta/.rvm/gems/ruby-1.9.2-p290/gems/pt-0.5/lib/pt/ui.rb:539:in `index': type mismatch: NilClass given (TypeError)
/Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/pt-0.10.0/lib/pt/data_row.rb:21:in `method_missing': undefined method `name' for #<TrackerApi::Resources::ProjectMembership id=123> (NoMethodError)
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:10:in `block (2 levels) in render'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:10:in `each'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:10:in `inject'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:10:in `block in render'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:9:in `each'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:9:in `inject'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:9:in `render'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/helpers/auto_table.rb:22:in `render'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/formatter.rb:73:in `_format_output'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/formatter.rb:56:in `format_output'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/view.rb:205:in `render_output'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/console.rb:18:in `render_output'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hirb-0.7.3/lib/hirb/console.rb:30:in `table'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/pt-0.10.0/lib/pt/data_table.rb:27:in `print'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/pt-0.10.0/lib/pt/helper.rb:233:in `select'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/pt-0.10.0/lib/pt/cli.rb:76:in `list'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
from /Users/bhenderson/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/pt-0.10.0/bin/pt:10:in `<top (required)>'
from /Users/bhenderson/.rbenv/versions/2.4.1/bin/pt:23:in `load'
from /Users/bhenderson/.rbenv/versions/2.4.1/bin/pt:23:in `<main>'
This is a fresh install of the gem.
thanks
Pivotal Tracker is actually case-sensitive with regards to email, so if your registered email address is not the same case as what you entered in the prompt, you get this:
/path/pt-0.5.4/lib/pt/ui.rb:451:in `load_local_config': undefined method `name' for nil:NilClass (NoMethodError)
from /path/pt-0.5.4/lib/pt/ui.rb:15:in `initialize'
from /path/pt-0.5.4/bin/pt:8:in `new'
from /path/pt-0.5.4/bin/pt:8:in `<top (required)>'
from /path/bin/pt:19:in `load'
from /path/bin/pt:19:in `<main>'
Is there a way to have pt print out the tables without the (unicode) border graphic characters around the tables?
pt create "get current users follow list" feature "gib"
feature for Orta Therox created: http://www.pivotaltracker.com/story/show/XXXX
Existing issue, RVM 1.9.3p392, pt version 0.6.4
issuing command pt start 49367347
on an existing issue gets me this stacktrace:
/Users/roman/.rvm/gems/ruby-1.9.3-p392/gems/pt-0.6.4/lib/pt/ui.rb:220:in `start': undefined method `name' for nil:NilClass (NoMethodError)
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/gems/pt-0.6.4/lib/pt/ui.rb:20:in `initialize'
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/gems/pt-0.6.4/bin/pt:10:in `new'
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/gems/pt-0.6.4/bin/pt:10:in `<top (required)>'
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/bin/pt:19:in `load'
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/bin/pt:19:in `<main>'
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/roman/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `<main>'
Happy to provide more details if needs, thanks in advance!
I'm getting following exception from ruby 2.7.2
Please select the project for the current directory (1-1, 'q' to exit)
1
Thanks! I'm saving this project's info
in /Users/dhurba/code/random/pt/.pt: remember to .gitignore it!
[1/199]
bundler: failed to load command: ./bin/pt (./bin/pt)
FrozenError: can't modify frozen String: ""
/Users/dhurba/code/random/pt/lib/pt/data_row.rb:22:in `force_encoding'
/Users/dhurba/code/random/pt/lib/pt/data_row.rb:22:in `method_missing'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:10:in `block (2 levels) in render'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:10:in `each'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:10:in `inject'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:10:in `block in render'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:9:in `each'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:9:in `inject'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/helpers/object_table.rb:9:in `render'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/helpers/auto_table.rb:22:in `render'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/formatter.rb:73:in `_format_output'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/formatter.rb:56:in `format_output'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/view.rb:205:in `render_output'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/console.rb:18:in `render_output'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/hirb-0.7.3/lib/hirb/console.rb:30:in `table'
/Users/dhurba/code/random/pt/lib/pt/data_table.rb:27:in `print'
/Users/dhurba/code/random/pt/lib/pt/helper.rb:233:in `select'
/Users/dhurba/code/random/pt/lib/pt/helper.rb:256:in `select_story_from_paginated_table'
/Users/dhurba/code/random/pt/lib/pt/cli.rb:52:in `block (2 levels) in <class:CLI>'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
/Users/dhurba/.rvm/gems/ruby-2.7.2/gems/thor-1.1.0/lib/thor/base.rb:485:in `start'
/Users/dhurba/code/random/pt/bin/pt:10:in `<top (required)>'
This is a great project. Really great. I was a little surprised to not find 'description' as an argument to pt create
I understand that this might be because it's not practical to add long descriptions on the command line.
What if, like in git, when a commit was made without '-m' it opened an editor, and if the user saved and quit the editor, it submitted that as a description?
I suppose I ought to write this feature myself, but I know nearly nothing about ruby.
I just ran pt
and went through the setup (fantastic setup procedure, by the way!). Now running pt
results in
My Work for Me (ME) in Project MY APPLICATION
/Users/me/.rvm/gems/ree-1.8.7-2011.03/gems/rest-client-1.6.3/lib/restclient/abstract_response.rb:48:in `return!': 500 Internal Server Error (RestClient::InternalServerError)
/usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/pt-0.10.0/lib/pt/cli.rb:55:in block (2 levels) in <class:CLI>': undefined method
comments_story' for #PT::CLI:0x007f9a2a912410 (NoMethodError)
from /usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.4/lib/thor/command.rb:27:in run' from /usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in
invoke_command'
from /usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.4/lib/thor.rb:369:in dispatch' from /usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.4/lib/thor/base.rb:444:in
start'
from /usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/pt-0.10.0/bin/pt:10:in <top (required)>' from /usr/local/var/rbenv/versions/2.2.0/bin/pt:23:in
load'
from /usr/local/var/rbenv/versions/2.2.0/bin/pt:23:in `
It's just getting out of hand now. =)
I find myself using this gem to see the ids of stories i've started just so I could add the story id to the commit message.
A minor frustration is that after i run pt started
i need to exit the interactive console using q > ENTER
. I understand that for browsing this prompt is useful for large lists, but for short ones I'd like to skip the prompt entirely.
Can we add a local config so that the interactive prompt can be skipped or something similar?
$ pt create "bug issue title" ~"My Name" ~bug
feature for My Name created: http://www.pivotaltracker.com/story/show/<id>
/usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/pt-0.10.0/lib/pt/action.rb:70:in label_story': undefined method
[]' for nil:NilClass (NoMethodError)
from /usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/pt-0.10.0/lib/pt/cli.rb:55:in block (2 levels) in <class:CLI>' from /usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.4/lib/thor/command.rb:27:in
run'
from /usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in invoke_command' from /usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.4/lib/thor.rb:369:in
dispatch'
from /usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/thor-0.19.4/lib/thor/base.rb:444:in start' from /usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/pt-0.10.0/bin/pt:10:in
<top (required)>'
from /usr/local/var/rbenv/versions/2.2.0/bin/pt:23:in load' from /usr/local/var/rbenv/versions/2.2.0/bin/pt:23:in
karthik@dev1:~/Desktop/ss$ rails s
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/usr/lib/ruby/vendor_ruby/railties/lib/rails_generator/generators/applications/app/app_generator.rb:7: Use RbConfig instead of obsolete and deprecated Config.
exists
exists app/controllers
exists app/helpers
exists app/models
exists app/views/layouts
exists config/environments
exists config/initializers
exists config/locales
exists db
exists doc
exists lib
exists lib/tasks
exists log
exists public/images
exists public/javascripts
exists public/stylesheets
exists script/performance
exists test/fixtures
exists test/functional
exists test/integration
exists test/performance
exists test/unit
exists vendor
exists vendor/plugins
exists tmp/sessions
exists tmp/sockets
exists tmp/cache
exists tmp/pids
identical Rakefile
identical README
identical app/controllers/application_controller.rb
identical app/helpers/application_helper.rb
identical config/database.yml
identical config/routes.rb
identical config/locales/en.yml
identical db/seeds.rb
identical config/initializers/backtrace_silencers.rb
identical config/initializers/inflections.rb
identical config/initializers/mime_types.rb
identical config/initializers/new_rails_defaults.rb
overwrite config/initializers/session_store.rb? (enter "h" for help) [Ynaqdh] ^C
It would be great to have a command to see all of my unstarted
tasks, but perhaps it would be simple enough to say pt [status]
to get all of my tasks with that status, or pt [status] [member]
to get all tasks of that status for a different member with, all
being an option to get all tasks in that state.
Just installed the gem and tried to setup from within a repo:
pt started
fatal: Not a git repository (or any of the parent directories): .git
/<LOCAL STUFF>/.gem/ruby/2.2.5/gems/bundler-1.13.6/lib/bundler/resolver.rb:366:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'minitest (~> 5.0)' in any of the gem sources listed in your Gemfile or available on this machine. (Bundler::GemNotFound)
Tried a couple of different ruby versions (2.2.5 and 2.3.1) and was unable to start up in either. Is this in a current functioning state? Is there something else I should try?
I feel a bit stupid but how do I get a list of stories from current/backlog/icebox in the order they appear in Pivotal Tracker?
The use case I'm trying to solve is: As a project member I would like to see a list of the current iteration so I can assign my next work item.
Thanks in advance!
Regards,
Johan Andersson
Has there been any talk of adding support for multiple PT accounts? For example, I could envision the gem first looking in the local config for the email and api_number before checking the global config. That would allow access to PT accounts on a per-directory basis.
If someone edits their user name in their Tracker Profile (which I did as a work-around for Issue #16), and doesn't manually change their project .pt file to match, their My Work search becomes empty.
Need a way to list only the next N stories. I.e., pt list -n 5
.
Finishing a story removes all associated labels.
I'm running MacOSX Lion
Just did a sudo gem install pt
(I had to sudo since it wanted access to /Library/
)
Then pt
and provided the connection settings. That worked since it gave me the list of project correctly. Then it crashed:
Please select the project for the current directory (1-5, 'q' to exit)
/Library/Ruby/Gems/1.8/gems/highline-1.6.2/lib/highline.rb:608:in `get_line': The input stream is exhausted. (EOFError)
from /Library/Ruby/Gems/1.8/gems/highline-1.6.2/lib/highline.rb:629:in `get_response'
from /Library/Ruby/Gems/1.8/gems/highline-1.6.2/lib/highline.rb:216:in `ask'
from /Library/Ruby/Gems/1.8/gems/pt-0.3.9/lib/pt/ui.rb:291:in `ask'
from /Library/Ruby/Gems/1.8/gems/pt-0.3.9/lib/pt/ui.rb:272:in `select'
from /Library/Ruby/Gems/1.8/gems/pt-0.3.9/lib/pt/ui.rb:222:in `load_local_config'
from /Library/Ruby/Gems/1.8/gems/pt-0.3.9/lib/pt/ui.rb:15:in `initialize'
from /Library/Ruby/Gems/1.8/gems/pt-0.3.9/bin/pt:8:in `new'
from /Library/Ruby/Gems/1.8/gems/pt-0.3.9/bin/pt:8
from /usr/bin/pt:19:in `load'
from /usr/bin/pt:19
By default, Tracker projects have "Use HTTPS--Require that API accesses for this project use SSL. Improves security of data, at the expense of some performance." turned on, which causes project-specific requests to fail with "400 Bad Request" unless they use https. In my initial use of "pt" to do setup, it failed with this error on the get projects//memberships request after I selected my project. Turning that setting of (not my preference) allowed me to proceed.
Hi, I was trying pt for the first time and crashed when configuring, see:
therobot@Electric-Sweat:~]$ pt
I can't find info about your Pivotal Tracker account in /Volumes/Datarock/Users/therobot/.pt
What is your email?
[email protected]
And your password? (won't be displayed on screen)
Thanks!
Your API id is xxxxxxxxxxx
I'm saving it in /Volumes/Datarock/Users/therobot/.pt to don't ask you again.
/Volumes/Datarock/Users/therobot/.rvm/gems/ruby-1.9.2-p180/gems/pt-0.2/lib/pt/ui.rb:289:in project_to_s': undefined method
upcase' for nil:NilClass (NoMethodError)
from /Volumes/Datarock/Users/therobot/.rvm/gems/ruby-1.9.2-p180/gems/pt-0.2/lib/pt/ui.rb:22:in my_work' from /Volumes/Datarock/Users/therobot/.rvm/gems/ruby-1.9.2-p180/gems/pt-0.2/lib/pt/ui.rb:18:in
initialize'
from /Volumes/Datarock/Users/therobot/.rvm/gems/ruby-1.9.2-p180/gems/pt-0.2/bin/pt:8:in new' from /Volumes/Datarock/Users/therobot/.rvm/gems/ruby-1.9.2-p180/gems/pt-0.2/bin/pt:8:in
<top (required)>'
from /Volumes/Datarock/Users/therobot/.rvm/gems/ruby-1.9.2-p180/bin/pt:19:in load' from /Volumes/Datarock/Users/therobot/.rvm/gems/ruby-1.9.2-p180/bin/pt:19:in
I'm using ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0] with rvm
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.