{"action":"closed","issue":{"url":"https://api.github.com/repos/Starcounter/Blending/issues/302","repository_url":"https://api.github.com/repos/Starcounter/Blending","labels_url":"https://api.github.com/repos/Starcounter/Blending/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/Starcounter/Blending/issues/302/comments","events_url":"https://api.github.com/repos/Starcounter/Blending/issues/302/events","html_url":"https://github.com/Starcounter/Blending/issues/302","id":366276591,"node_id":"MDU6SXNzdWUzNjYyNzY1OTE=","number":302,"title":"Too many changes between import and export files","user":{"login":"warpech","id":566463,"node_id":"MDQ6VXNlcjU2NjQ2Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/566463?v=4","gravatar_id":"","url":"https://api.github.com/users/warpech","html_url":"https://github.com/warpech","followers_url":"https://api.github.com/users/warpech/followers","following_url":"https://api.github.com/users/warpech/following{/other_user}","gists_url":"https://api.github.com/users/warpech/gists{/gist_id}","starred_url":"https://api.github.com/users/warpech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warpech/subscriptions","organizations_url":"https://api.github.com/users/warpech/orgs","repos_url":"https://api.github.com/users/warpech/repos","events_url":"https://api.github.com/users/warpech/events{/privacy}","received_events_url":"https://api.github.com/users/warpech/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"PatrykSzwer","id":25042256,"node_id":"MDQ6VXNlcjI1MDQyMjU2","avatar_url":"https://avatars2.githubusercontent.com/u/25042256?v=4","gravatar_id":"","url":"https://api.github.com/users/PatrykSzwer","html_url":"https://github.com/PatrykSzwer","followers_url":"https://api.github.com/users/PatrykSzwer/followers","following_url":"https://api.github.com/users/PatrykSzwer/following{/other_user}","gists_url":"https://api.github.com/users/PatrykSzwer/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrykSzwer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrykSzwer/subscriptions","organizations_url":"https://api.github.com/users/PatrykSzwer/orgs","repos_url":"https://api.github.com/users/PatrykSzwer/repos","events_url":"https://api.github.com/users/PatrykSzwer/events{/privacy}","received_events_url":"https://api.github.com/users/PatrykSzwer/received_events","type":"User","site_admin":false},"assignees":[{"login":"PatrykSzwer","id":25042256,"node_id":"MDQ6VXNlcjI1MDQyMjU2","avatar_url":"https://avatars2.githubusercontent.com/u/25042256?v=4","gravatar_id":"","url":"https://api.github.com/users/PatrykSzwer","html_url":"https://github.com/PatrykSzwer","followers_url":"https://api.github.com/users/PatrykSzwer/followers","following_url":"https://api.github.com/users/PatrykSzwer/following{/other_user}","gists_url":"https://api.github.com/users/PatrykSzwer/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrykSzwer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrykSzwer/subscriptions","organizations_url":"https://api.github.com/users/PatrykSzwer/orgs","repos_url":"https://api.github.com/users/PatrykSzwer/repos","events_url":"https://api.github.com/users/PatrykSzwer/events{/privacy}","received_events_url":"https://api.github.com/users/PatrykSzwer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2018-10-03T10:42:41Z","updated_at":"2018-10-17T10:08:44Z","closed_at":"2018-10-17T10:08:44Z","author_association":"MEMBER","body":"When you import a JSON configuration and then export JSON to a file, the input and output files should be mostly (or exactly the same).\r\n\r\nCurrently it is not the case. For Heads Omni configuration, there are  2305 insertions(+), 1369 deletions(-)!\r\n\r\nI can see the following problems:\r\n\r\n- the order of the data in the output file seems to be different (reversed?) than the order in the input file\r\n- there are many GUIDs which are regenerated for export. @PatrykSzwer why do we need such GUIDs? Couldn't you use object IDs instead of GUIDs generated on the fly?\r\n\r\nThis makes it hard to reviews PRs like https://github.com/Starcounter/HeadsOmni/pull/435\r\n\r\n![2018-10-03 12_37_45-sourcetree](https://user-images.githubusercontent.com/566463/46405812-bb8ccc80-c709-11e8-8083-d9454d420a50.png)\r\n"}}
{"actor":{"display_login":"PatrykSzwer"}}