{"action":"closed","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/1657","repository_url":"https://api.github.com/repos/esp8266/Arduino","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/1657/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/1657/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/1657/events","html_url":"https://github.com/esp8266/Arduino/issues/1657","id":135099457,"number":1657,"title":"Add SPIFFS.unmount() for use in OTA.onEnd()","user":{"login":"andig","id":184815,"avatar_url":"https://avatars.githubusercontent.com/u/184815?v=3","gravatar_id":"","url":"https://api.github.com/users/andig","html_url":"https://github.com/andig","followers_url":"https://api.github.com/users/andig/followers","following_url":"https://api.github.com/users/andig/following{/other_user}","gists_url":"https://api.github.com/users/andig/gists{/gist_id}","starred_url":"https://api.github.com/users/andig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andig/subscriptions","organizations_url":"https://api.github.com/users/andig/orgs","repos_url":"https://api.github.com/users/andig/repos","events_url":"https://api.github.com/users/andig/events{/privacy}","received_events_url":"https://api.github.com/users/andig/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/esp8266/Arduino/labels/component:%20core","name":"component: core","color":"fad8c7"},{"url":"https://api.github.com/repos/esp8266/Arduino/labels/staged-for-release","name":"staged-for-release","color":"5319e7"},{"url":"https://api.github.com/repos/esp8266/Arduino/labels/type:%20enhancement","name":"type: enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"igrr","id":4349050,"avatar_url":"https://avatars.githubusercontent.com/u/4349050?v=3","gravatar_id":"","url":"https://api.github.com/users/igrr","html_url":"https://github.com/igrr","followers_url":"https://api.github.com/users/igrr/followers","following_url":"https://api.github.com/users/igrr/following{/other_user}","gists_url":"https://api.github.com/users/igrr/gists{/gist_id}","starred_url":"https://api.github.com/users/igrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrr/subscriptions","organizations_url":"https://api.github.com/users/igrr/orgs","repos_url":"https://api.github.com/users/igrr/repos","events_url":"https://api.github.com/users/igrr/events{/privacy}","received_events_url":"https://api.github.com/users/igrr/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/esp8266/Arduino/milestones/6","html_url":"https://github.com/esp8266/Arduino/milestones/2.3.0","labels_url":"https://api.github.com/repos/esp8266/Arduino/milestones/6/labels","id":1712958,"number":6,"title":"2.3.0","description":"","creator":{"login":"igrr","id":4349050,"avatar_url":"https://avatars.githubusercontent.com/u/4349050?v=3","gravatar_id":"","url":"https://api.github.com/users/igrr","html_url":"https://github.com/igrr","followers_url":"https://api.github.com/users/igrr/followers","following_url":"https://api.github.com/users/igrr/following{/other_user}","gists_url":"https://api.github.com/users/igrr/gists{/gist_id}","starred_url":"https://api.github.com/users/igrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrr/subscriptions","organizations_url":"https://api.github.com/users/igrr/orgs","repos_url":"https://api.github.com/users/igrr/repos","events_url":"https://api.github.com/users/igrr/events{/privacy}","received_events_url":"https://api.github.com/users/igrr/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":41,"state":"open","created_at":"2016-04-18T08:03:51Z","updated_at":"2016-06-23T09:16:37Z","due_on":"2016-04-29T21:00:00Z","closed_at":null},"comments":1,"created_at":"2016-02-20T16:56:38Z","updated_at":"2016-06-23T09:16:37Z","closed_at":"2016-06-23T09:16:37Z","body":"Use case: allow to store configuration from ram back to freshly updated SPIFFS. Avoid loss on configuration due to OTA wiping the filesystem config files. \r\n\r\nPotential flow:\r\n\r\n    // OTA update overwrites SPIFFS and unmounts the SPIFFS library\r\n\r\n    ArduinoOTA.onEnd([]() {\r\n      if (SPIFFS.begin()) {\r\n        // write config files to spiffs again\r\n      }\r\n    });\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31055085-add-spiffs-unmount-for-use-in-ota-onend?utm_campaign=plugin&utm_content=tracker%2F14245935&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F14245935&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}
{"actor":{"display_login":"igrr"}}