Giter Club home page Giter Club logo

pt's People

Contributors

anderssonjohan avatar bhenderson avatar dennyabraham avatar drselump14 avatar graygilmore avatar icetan avatar knack avatar kylewest avatar matthijsgroen avatar obra avatar orta avatar raul avatar stephencelis avatar terlar avatar xadn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pt's Issues

Search higher directories for .pt file

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.

`pt show` with prompt always appends the output for the first task from the list

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

create with description does not work for me

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>'

String encoding warning when using ruby 1.9

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.

run pt from ~/

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?

Support for labels

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?

undefined method `name' for nil:NilClass (NoMethodError)

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 methodname' 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:innew'
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:inload'
from /Users/mlussier/.rvm/gems/ruby-1.9.2-p180/bin/pt:19:in `

'
TweetyPop :: (master) »

400 Bad Request (RestClient::BadRequest)

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:inprocess_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:instart'
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:inexecute'
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:inget'
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:inget_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:ininitialize'
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

'

undefined method `any?' for #<String:0x00000100eab928> (NoMethodError)

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 methodany?' 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:ininitialize'
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! :)

Need to quote argument to mywork: filter

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.

Unable to log in

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?

support for creating stories with no assignment

➜ 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)

  • should just create a feature assigned to no-one

pt list raises NoMethodError

/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

case-insensitive email

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>'

Disable border graphics?

Is there a way to have pt print out the tables without the (unicode) border graphic characters around the tables?

start <id> is not working

Existing issue, RVM 1.9.3p392, pt version 0.6.4
issuing command pt start 49367347on 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!

FrozenError: can't modify frozen String: ""

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)>'

Git commit type submits

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.

500 error on all requests

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)

Exception when calling `pt comments`

/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 `

'

Ability to not enter interactive prompt

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?

Exception when calling `pt label <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

'

when i run rails app I am getting like this

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

Flag to see all tasks in unstarted state

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.

Unable to setup

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?

Order stories by priority?

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

Support for Multiple PT Accounts

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.

User name becomes stale

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.

highline.rb:608:in `get_line': The input stream is exhausted. (EOFError)

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

Should use https: for API requests

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.

pt crashes after initial set up

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 methodupcase' 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:ininitialize'
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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.