summaryrefslogtreecommitdiff
path: root/files
AgeCommit message (Collapse)Author
2015-10-08[docs] Add --delete to the couch-doc-update usagevarac
2015-10-07Adds a --delete flag for couch-doc-updatekaeff
As part of removing tapicero, we need to remove a user from couch. This seems like a job for couch-doc-update. To delete a user: couch-doc-update --db _users --id org.couchdb.user:ca_daemon --delete
2015-05-14ensure that set_document raises an exception or a valid result, but never ↵elijah
nil. resolves #6850, i think.
2015-04-26correctly log errors when restclient exceptions do not have a response.elijah
2015-02-03update couch-doc-update to use a more specific exception check (#6699)Micah Anderson
2015-01-13Also retry and wait if the response code is 422 (#6571)Micah Anderson
2014-11-02retry 500 Internal Server Errors a few times in order to get past timing ↵Micah Anderson
issues related to node deployment (#6287)
2014-06-23update couch-doc-update to also filter _replication fieldsAzul
we only need to keep id and rev to prevent conflicts
2014-06-20allow setting custom netrc in query and document definesAzul
We need to perform some actions as the replication user for plain couch.
2014-04-17fix for narrow timing issue that occurs when the check for a document ↵Micah Anderson
existence fails, but then the document appears in the cluster before the script is able to put the document, causing a 409 Conflict (#5523)
2013-12-16Use Hash#delete_if as it returns the hash in all cases.Azul
Hash#reject! returns nil if nothing was rejected. But we always want the data from the file - no matter if it contained keys we remove or not.
2013-12-04add new couch-doc-update that uses MultiJson instead, this could prevent the ↵Micah Anderson
outdated json errors (#4622)
2013-11-26enable uploading a document to couch from a file (#4256)Micah Anderson
2013-11-23more verbose error logging - also print the doc we triedAzul
2013-11-23fixed couch-doc-update: log errors to stderr and syslog (#4225)Azul
2013-11-23Revert "couch-doc-update: log errors to stderr and syslog (#4225)"Azul
This reverts commit d3153dd2da619035c0504b02f478796d656bb11d.
2013-11-22couch-doc-update: log errors to stderr and syslog (#4225)Azul
2013-09-19couch-doc-update now also works for _securityAzul
It also clears doc fields that are not set in the new data when updating a doc.
2013-09-16Improve couch doc diff (#3761)Azul
Both the couch document and the second paramter will be pretty printed before comparison so differences in spaces etc. do not matter. All keys starting with an underscore on the couch such as _id and _rev will be removed before the comparison - we assume we want to compare the real data, not the metadata about the document as we usually do not know or care about what the id and revision will be.
2013-08-28minor: cleanup spacing (feature #3485)Azul
2013-08-28use couchdb::document to create bigcouch node config (feature #3485)Azul
fixes the use of couch-doc-update with non standart hosts replaces couchdb::bigcouch::query with couchdb::bigcouch::document
2013-08-28couch:document - ensure state of a couch document - (feature #3485)Azul
also made the use of host, hostname and port a bit more consistent.
2013-08-28couch-doc-diff: diff of a document on the couch (feature 3485)Azul
Added the bash script couch-doc-diff. It runs a diff between the content of the couch document specified as the first parameter and the second parameter. Diff returns 0 if there is no difference. This way you can tell the data is already on the couch. The diff will ignore changes to whitespaces as these are usually irrelevant for security json docs.
2013-03-10added port parameter to couch-doc-update (for bigcouch support)varac
2013-03-09couchdb init file moved from site_couchdb to couchdb modulevarac
2012-12-11added couchdb::update (commented out)elijah
2012-11-01provide default local.inivarac