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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

couchapp push shouldn't require you to be in a CouchApp #199

Open
BigBlueHat opened this issue Nov 13, 2015 · 2 comments
Open

couchapp push shouldn't require you to be in a CouchApp #199

BigBlueHat opened this issue Nov 13, 2015 · 2 comments

Comments

@BigBlueHat
Copy link
Member

Mostly because the existence of .couchapprc in a directory isn't really the best signifier, and it's quite possible I want to push a "random" directory containing a _id file (or not! 馃槈) to a CouchDB.

See https://github.com/jo/couchdb-push for inspiration.

@iblislin
Copy link
Collaborator

Hmmm... This is one of situation we can use couchapp init.

Currently, the simplest workaround: if catch the exception of AppError, invoke init than push. User can enjoy the arbitrary push.

I'm not sure removing .couchapprc on push if it will fail or not. I will investigate on it.

@iblislin
Copy link
Collaborator

@BigBlueHat Hmmm... can pushdocs meet your requirements?

@BigBlueHat BigBlueHat changed the title couchapp push shouldn're require you to be in a CouchApp couchapp push shouldn't require you to be in a CouchApp Nov 17, 2015
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

2 participants