Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identity rm #127

Merged
merged 7 commits into from
Apr 11, 2013
Merged

Identity rm #127

merged 7 commits into from
Apr 11, 2013

Conversation

iurisilvio
Copy link
Contributor

For now, I'm removing all names from cache. I'll change it.

@MaddieM4
Copy link
Owner

MaddieM4 commented Apr 8, 2013

Sounds good. Let me know when it's ready for review!

On Mon, Apr 8, 2013 at 4:53 PM, Iuri de Silvio notifications@github.comwrote:

For now, I'm removing all names from cache. I'll change it.

You can merge this Pull Request by running

git pull https://github.com/iurisilvio/EJTP-lib-python identity-rm

Or view, comment on, or merge it at:

#127
Commit Summary

  • ejtp-identity rm working with one valid name
  • Add test to ejtp-identity rm with two names
  • Test do ejtp-identity rm with an invalid name

File Changes

Patch Links:

@iurisilvio
Copy link
Contributor Author

It is done, including the rm -A and the error when more than one identity was found.

@MaddieM4
Copy link
Owner

The output when deleting an identity from multiple caches is a bit messed up. There's no space between "delete" and "from":

philip@philip-desktop:~/projects/EJTP-lib-python$ ejtp-identity rm freckle@lackadaisy.com
Multiple freckle@lackadaisy.com identities found.
Use --cache-source to specify which file to deletefrom or use -A to delete from all sources.

And unless it's prohibitively complex, we should print out a list of all files where freckle@lackadaisy is found.

Other than those two things, this looks spot-on to me.

@iurisilvio
Copy link
Contributor Author

Fixed the `deletefrom´ issue.

I extended the list_identities to filter only one name, so I just call list_identities(cache_source, by_file=True, name='some@lackadaisy.com') before quit(1).

@MaddieM4
Copy link
Owner

This looks good to me. Although it has inspired my next issue that I want to make :) Merging and paying now.

MaddieM4 added a commit that referenced this pull request Apr 11, 2013
@MaddieM4 MaddieM4 merged commit 8492467 into MaddieM4:development Apr 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants