{"action":"created","issue":{"url":"https://api.github.com/repos/dCache/dcache/issues/1773","labels_url":"https://api.github.com/repos/dCache/dcache/issues/1773/labels{/name}","comments_url":"https://api.github.com/repos/dCache/dcache/issues/1773/comments","events_url":"https://api.github.com/repos/dCache/dcache/issues/1773/events","html_url":"https://github.com/dCache/dcache/issues/1773","id":96347117,"number":1773,"title":"make poolmanager.conf output reproducible","user":{"login":"calestyo","id":919933,"avatar_url":"https://avatars.githubusercontent.com/u/919933?v=3","gravatar_id":"","url":"https://api.github.com/users/calestyo","html_url":"https://github.com/calestyo","followers_url":"https://api.github.com/users/calestyo/followers","following_url":"https://api.github.com/users/calestyo/following{/other_user}","gists_url":"https://api.github.com/users/calestyo/gists{/gist_id}","starred_url":"https://api.github.com/users/calestyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calestyo/subscriptions","organizations_url":"https://api.github.com/users/calestyo/orgs","repos_url":"https://api.github.com/users/calestyo/repos","events_url":"https://api.github.com/users/calestyo/events{/privacy}","received_events_url":"https://api.github.com/users/calestyo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dCache/dcache/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"gbehrmann","id":1125766,"avatar_url":"https://avatars.githubusercontent.com/u/1125766?v=3","gravatar_id":"","url":"https://api.github.com/users/gbehrmann","html_url":"https://github.com/gbehrmann","followers_url":"https://api.github.com/users/gbehrmann/followers","following_url":"https://api.github.com/users/gbehrmann/following{/other_user}","gists_url":"https://api.github.com/users/gbehrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/gbehrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbehrmann/subscriptions","organizations_url":"https://api.github.com/users/gbehrmann/orgs","repos_url":"https://api.github.com/users/gbehrmann/repos","events_url":"https://api.github.com/users/gbehrmann/events{/privacy}","received_events_url":"https://api.github.com/users/gbehrmann/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-07-21T15:33:31Z","updated_at":"2015-07-29T06:39:45Z","closed_at":null,"body":"Hi.\r\n\r\nEvery time the poolmanager.conf is save(d) it, or respectively subparts of it, seem to be arbitrarily re-ordered,... e.g. the created pools and so on.\r\n\r\nThis is kinda annoying when e.g. tracking the conf file with git, as diffs (that should only show the actual changes) are completely cluttered up.\r\n\r\nIt would be nice if the poolmanager.conf could be written in the same order (favourably version sort) for each of the respective subparts.\r\n\r\nAlso, I think one could/should drop all date/time information in the comments when the file was created.\r\nThis is already available in the mtime of the file.\r\n\r\nCheers,\r\nChris. "},"comment":{"url":"https://api.github.com/repos/dCache/dcache/issues/comments/125858665","html_url":"https://github.com/dCache/dcache/issues/1773#issuecomment-125858665","issue_url":"https://api.github.com/repos/dCache/dcache/issues/1773","id":125858665,"user":{"login":"gbehrmann","id":1125766,"avatar_url":"https://avatars.githubusercontent.com/u/1125766?v=3","gravatar_id":"","url":"https://api.github.com/users/gbehrmann","html_url":"https://github.com/gbehrmann","followers_url":"https://api.github.com/users/gbehrmann/followers","following_url":"https://api.github.com/users/gbehrmann/following{/other_user}","gists_url":"https://api.github.com/users/gbehrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/gbehrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbehrmann/subscriptions","organizations_url":"https://api.github.com/users/gbehrmann/orgs","repos_url":"https://api.github.com/users/gbehrmann/repos","events_url":"https://api.github.com/users/gbehrmann/events{/privacy}","received_events_url":"https://api.github.com/users/gbehrmann/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T06:39:45Z","updated_at":"2015-07-29T06:39:45Z","body":"If I remember correctly, if two links have the same preference, both are used (the lists of pools pointed to by the links are combined).\r\n\r\nI chose (b) because I have been annoyed by not being able to find what I was looking for in poolmanager.conf. Keeping the existing order would solve the version control issue, but it wouldn't help with making the file easier to read. Your ticket was just the excuse I needed to actually move forward with the change. :-)"}}