payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/GenericMappingTools/gmt/issues/2129","repository_url":"https://api.github.com/repos/GenericMappingTools/gmt","labels_url":"https://api.github.com/repos/GenericMappingTools/gmt/issues/2129/labels{/name}","comments_url":"https://api.github.com/repos/GenericMappingTools/gmt/issues/2129/comments","events_url":"https://api.github.com/repos/GenericMappingTools/gmt/issues/2129/events","html_url":"https://github.com/GenericMappingTools/gmt/issues/2129","id":527408306,"node_id":"MDU6SXNzdWU1Mjc0MDgzMDY=","number":2129,"title":"Cached remote files are never updated","user":{"login":"PaulWessel","id":26473567,"node_id":"MDQ6VXNlcjI2NDczNTY3","avatar_url":"https://avatars2.githubusercontent.com/u/26473567?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulWessel","html_url":"https://github.com/PaulWessel","followers_url":"https://api.github.com/users/PaulWessel/followers","following_url":"https://api.github.com/users/PaulWessel/following{/other_user}","gists_url":"https://api.github.com/users/PaulWessel/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulWessel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulWessel/subscriptions","organizations_url":"https://api.github.com/users/PaulWessel/orgs","repos_url":"https://api.github.com/users/PaulWessel/repos","events_url":"https://api.github.com/users/PaulWessel/events{/privacy}","received_events_url":"https://api.github.com/users/PaulWessel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-11-22T20:50:10Z","updated_at":"2019-11-22T20:50:10Z","closed_at":null,"author_association":"MEMBER","body":"When we access the remote files distributed via the GMT servers have checks on sha256 and dates, so if we update these files on the server then the users will notice within 24 hours or so.\r\n\r\nWe also allow remote files in two other formats:\r\n\r\n- Plain URL reference [e.g., _site_/file.txt]\r\n- URL Query [e.g., _site_?minmagnitude=5]\r\n\r\nThe query result is used locally and is always rerun each time, but the plain URL file is placed in the GMT cache file and is then found when read a 2nd time.  This means the user will have to remember to delete it if it may change with time.  However, even if we did not place it in cache and just in the current directory, as long as that file is there and the user rerun the command in that directory, the user will get the local file.\r\n\r\nThere is no perfect solution here, but I think leaving it in the local directory makes more sense than adding it to a hidden .gmt directory that the user may not think about.\r\n"}}
other: {"actor":{"display_login":"PaulWessel"}}