)]}'
{
  "commit": "d75693ea94de8595b69fcf8e9eb189664e115574",
  "tree": "77955b7f33d67e54a4608db8471eadcacf353b4d",
  "parents": [
    "b9e1f3b5d5a78a706abb358e17130fb7344567d2"
  ],
  "author": {
    "name": "Adrien Vergé",
    "email": "adrienverge@gmail.com",
    "time": "Thu Sep 01 22:31:57 2016 +0200"
  },
  "committer": {
    "name": "Adrien Vergé",
    "email": "adrienverge@gmail.com",
    "time": "Thu Sep 01 22:49:24 2016 +0200"
  },
  "message": "add_node: Don\u0027t fail if node name !\u003d \"couchdb\" or \"node1\"\n\nAdding nodes to a cluster fails if the node names (the `name` of\n`name@hostname` in vm.args) is different from \"couchdb\".\nThe code currently infers this name from the port: \"node1\" if 15984,\n\"node2\" if 25984, \"node3\" if 35984, \"couchdb\" otherwise. No other\npossibility.\n\nThis is not suited for a production set-up, where multiple servers could\nhave different names.\n\nThis patch fixes this problem by adding an optional \"name\" option to the\n\"add_node\" command:\n\n  POST /_cluster_setup\n  {\n    \"action\": \"add_node\",\n    \"username\": \"root\",\n    \"password\": \"******\",\n    \"host\": \"production-server.com\",\n    \"port\": 5984,\n    \"name\": \"node5\"\n  }\n\nThis fixes: COUCHDB-3119\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7043b0f84b620d5220d5b5aa4a88e651753cf906",
      "old_mode": 33188,
      "old_path": "README.md",
      "new_id": "7316b25ef1b9c7495be8914c4f6d87e2178f44a2",
      "new_mode": 33188,
      "new_path": "README.md"
    },
    {
      "type": "modify",
      "old_id": "34cbdffcc277ce26267760218e4181106b3d0350",
      "old_mode": 33188,
      "old_path": "src/setup.erl",
      "new_id": "144c2c33c1844d090ea2ebc9e4709bf38227948c",
      "new_mode": 33188,
      "new_path": "src/setup.erl"
    },
    {
      "type": "modify",
      "old_id": "006ed455b71dcc8b132149719ce4a9c73cf7dddc",
      "old_mode": 33188,
      "old_path": "src/setup_httpd.erl",
      "new_id": "59c9bf8810b4bea8acd9a55a7178d1cec46b1eac",
      "new_mode": 33188,
      "new_path": "src/setup_httpd.erl"
    },
    {
      "type": "modify",
      "old_id": "1c610b6cc9adeee61ba5d9f80a12f96f4b8b96de",
      "old_mode": 33261,
      "old_path": "test/t-frontend-setup.sh",
      "new_id": "7888925029c4d10d112fceced5c6894362e0e4e5",
      "new_mode": 33261,
      "new_path": "test/t-frontend-setup.sh"
    },
    {
      "type": "modify",
      "old_id": "62abb61d7ca32fc80ee5cdaae1f206f81cca1121",
      "old_mode": 33261,
      "old_path": "test/t.sh",
      "new_id": "4fbe7ea32b37403e0f6cb858b5b9a7c0e4012fc4",
      "new_mode": 33261,
      "new_path": "test/t.sh"
    }
  ]
}
