tpope / pickler

PIvotal traCKer Liaison to cucumbER
MIT License
299 stars 23 forks source link

Can't push a new feature file on 0.2.0 #13

Closed ivanoblomov closed 13 years ago

ivanoblomov commented 13 years ago

For a new feature file (tagged with @http://www.pivotaltracker.com/story/new), pushing it yields the following results...

$ pickler push features/customer_registers_domain.feature

The provided requested_by user '[username]' is not a valid member of the project.

...where [username] is the local environment's login. I confirmed this by changing my user account's full name in OS X.

Note that both pulling a story from Pivotal Tracker and pushing an existing story (tagged with the appropriate Tracker URL) work fine.

tpope commented 13 years ago

Since Tracker doesn't provide me an API to find out the logged in user's name, I had to make a guess that the local user name and the tracker user name are the same. If they aren't, you can set 'real_name: Your Tracker Namein your~/.tracker.yml` to override.

ivanoblomov commented 13 years ago

Worked like a charm, thanks. But please document it. It'd also be helpful to point out that it's the "account name" referenced in https://www.pivotaltracker.com/accounts/new and not the login.

On Apr 9, 2011, at 12:18 PM, tpope wrote:

Since Tracker doesn't provide me an API to find out the logged in user's name, I had to make a guess that the local user name and the tracker user name are the same. If they aren't, you can set 'real_name: Your Tracker Namein your~/.tracker.yml` to override.

Reply to this email directly or view it on GitHub: https://github.com/tpope/pickler/issues/13#comment_977740