fcoury / octopi

A Ruby interface to GitHub API v2
http://hasmany.info/2009/4/18/ruby-interface-to-github-api
MIT License
216 stars 47 forks source link

Repository not deleted when using delete! #46

Open kristianmandrup opened 14 years ago

kristianmandrup commented 14 years ago
    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!