{"action":"created","issue":{"url":"https://api.github.com/repos/Traumflug/Teacup_Firmware/issues/169","labels_url":"https://api.github.com/repos/Traumflug/Teacup_Firmware/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/Traumflug/Teacup_Firmware/issues/169/comments","events_url":"https://api.github.com/repos/Traumflug/Teacup_Firmware/issues/169/events","html_url":"https://github.com/Traumflug/Teacup_Firmware/issues/169","id":94109580,"number":169,"title":"Configtool: distribute new entries to older user-saved files","user":{"login":"Traumflug","id":318581,"avatar_url":"https://avatars.githubusercontent.com/u/318581?v=3","gravatar_id":"","url":"https://api.github.com/users/Traumflug","html_url":"https://github.com/Traumflug","followers_url":"https://api.github.com/users/Traumflug/followers","following_url":"https://api.github.com/users/Traumflug/following{/other_user}","gists_url":"https://api.github.com/users/Traumflug/gists{/gist_id}","starred_url":"https://api.github.com/users/Traumflug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Traumflug/subscriptions","organizations_url":"https://api.github.com/users/Traumflug/orgs","repos_url":"https://api.github.com/users/Traumflug/repos","events_url":"https://api.github.com/users/Traumflug/events{/privacy}","received_events_url":"https://api.github.com/users/Traumflug/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jbernardis","id":704460,"avatar_url":"https://avatars.githubusercontent.com/u/704460?v=3","gravatar_id":"","url":"https://api.github.com/users/jbernardis","html_url":"https://github.com/jbernardis","followers_url":"https://api.github.com/users/jbernardis/followers","following_url":"https://api.github.com/users/jbernardis/following{/other_user}","gists_url":"https://api.github.com/users/jbernardis/gists{/gist_id}","starred_url":"https://api.github.com/users/jbernardis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbernardis/subscriptions","organizations_url":"https://api.github.com/users/jbernardis/orgs","repos_url":"https://api.github.com/users/jbernardis/repos","events_url":"https://api.github.com/users/jbernardis/events{/privacy}","received_events_url":"https://api.github.com/users/jbernardis/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-07-09T17:37:56Z","updated_at":"2015-07-13T12:26:40Z","closed_at":null,"body":"A new #define just appeared in the board config file, see issue #166. The problem now is, users which saved their configuration before will see this pin and can choose it, but it won't be written out at save time. Very misleading.\r\n\r\nThs underlying problem is, when saving, Configtool takes the previously saved file and just changes the values already existing in there. It does *not* write a file from scratch.\r\n\r\nOne possible solution is to change this behaviour to write this file solely from information existing in memory. With all the formatting, so the result becomes the same as what we have now.\r\n\r\nThis would give another advantage: when loading a printer or a board, Configtool can load a generic file first, then add the configuration from the file actually requested. This way, new #defines and other changes automatically get into previously saved, not distributed files. Overriding one configuration with another one at load time works already.\r\n\r\nIf you have other ideas, they're welcome."},"comment":{"url":"https://api.github.com/repos/Traumflug/Teacup_Firmware/issues/comments/120909108","html_url":"https://github.com/Traumflug/Teacup_Firmware/issues/169#issuecomment-120909108","issue_url":"https://api.github.com/repos/Traumflug/Teacup_Firmware/issues/169","id":120909108,"user":{"login":"jbernardis","id":704460,"avatar_url":"https://avatars.githubusercontent.com/u/704460?v=3","gravatar_id":"","url":"https://api.github.com/users/jbernardis","html_url":"https://github.com/jbernardis","followers_url":"https://api.github.com/users/jbernardis/followers","following_url":"https://api.github.com/users/jbernardis/following{/other_user}","gists_url":"https://api.github.com/users/jbernardis/gists{/gist_id}","starred_url":"https://api.github.com/users/jbernardis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbernardis/subscriptions","organizations_url":"https://api.github.com/users/jbernardis/orgs","repos_url":"https://api.github.com/users/jbernardis/repos","events_url":"https://api.github.com/users/jbernardis/events{/privacy}","received_events_url":"https://api.github.com/users/jbernardis/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T12:26:40Z","updated_at":"2015-07-13T12:26:40Z","body":"you're exactly right.  I pushed up the two new files this AM."}}