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

Repository not deleted when using delete! #46

Open
kristianmandrup opened this issue Apr 5, 2010 · 0 comments
Open

Repository not deleted when using delete! #46

kristianmandrup opened this issue Apr 5, 2010 · 0 comments

Comments

@kristianmandrup
Copy link

    desc "delete NAME", "delete public repository NAME from your github account"    
    def delete(name)        
      authenticated do                 
        user = Api.api.user
        repository = user.repositories.find(name)
        say "Repository #{name} was deleted successfully" if repository.delete!
      end
    end
kristian-mandrups-macbook-pro:lib kristianconsult$ thor github:repo:delete cool_stuff
W, [2010-04-05T15:47:58.330303 #22724]  WARN -- : Using in memory store
Repository cool_stuff was deleted successfully

But looking at my github account, the repo was not deleted.
Is there a better way I can determine if the repository was deleted? What does the warning mean?
It creates a repository ok with this warning. How do I disable the in memory store?

Thanks!

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

No branches or pull requests

1 participant