{"action":"created","issue":{"url":"https://api.github.com/repos/quelpa/quelpa/issues/91","labels_url":"https://api.github.com/repos/quelpa/quelpa/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/quelpa/quelpa/issues/91/comments","events_url":"https://api.github.com/repos/quelpa/quelpa/issues/91/events","html_url":"https://github.com/quelpa/quelpa/pull/91","id":106963688,"number":91,"title":"[WIP] fetch local directory as a package for url fetcher","user":{"login":"vyp","id":3889405,"avatar_url":"https://avatars.githubusercontent.com/u/3889405?v=3","gravatar_id":"","url":"https://api.github.com/users/vyp","html_url":"https://github.com/vyp","followers_url":"https://api.github.com/users/vyp/followers","following_url":"https://api.github.com/users/vyp/following{/other_user}","gists_url":"https://api.github.com/users/vyp/gists{/gist_id}","starred_url":"https://api.github.com/users/vyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vyp/subscriptions","organizations_url":"https://api.github.com/users/vyp/orgs","repos_url":"https://api.github.com/users/vyp/repos","events_url":"https://api.github.com/users/vyp/events{/privacy}","received_events_url":"https://api.github.com/users/vyp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":71,"created_at":"2015-09-17T11:28:27Z","updated_at":"2015-09-25T11:18:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/quelpa/quelpa/pulls/91","html_url":"https://github.com/quelpa/quelpa/pull/91","diff_url":"https://github.com/quelpa/quelpa/pull/91.diff","patch_url":"https://github.com/quelpa/quelpa/pull/91.patch"},"body":"Work in progress, obviously don't merge.\r\n\r\nSo a few disclaimers:\r\n\r\n- primarily opened for discussion, as someone new to emacs, lisp and elisp, I have no idea what I'm doing, so I don't really expect this to work.\r\n\r\n- if eventually good enough to merge, the commits will all be squashed into one with an appropriate commit message. these commit messages are just temporary.\r\n\r\nSo regarding the hashes. I'm thinking just have a hash of the concatenated hashes of all the relevant files (using `quelpa-check-file-hash`)? Where \"relevant files\" are by default all the .el files (recursively)? (Or otherwise can be changed with the `:files` in the recipe.)\r\n\r\nI guess the hardest part is getting the version number to prepend to the hash? Possible to just check each relevant file for a `;; Version:` header, and settle on the first one found? And if none found, use the current local system date and time like package-build (melpa) does? But then if the datetime is used, it will *always* result in a new package being built, even if no change has been made, correct? So that would be a problem.\r\n\r\ncc @steckerhalter @wasamasa"},"comment":{"url":"https://api.github.com/repos/quelpa/quelpa/issues/comments/143189793","html_url":"https://github.com/quelpa/quelpa/pull/91#issuecomment-143189793","issue_url":"https://api.github.com/repos/quelpa/quelpa/issues/91","id":143189793,"user":{"login":"vyp","id":3889405,"avatar_url":"https://avatars.githubusercontent.com/u/3889405?v=3","gravatar_id":"","url":"https://api.github.com/users/vyp","html_url":"https://github.com/vyp","followers_url":"https://api.github.com/users/vyp/followers","following_url":"https://api.github.com/users/vyp/following{/other_user}","gists_url":"https://api.github.com/users/vyp/gists{/gist_id}","starred_url":"https://api.github.com/users/vyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vyp/subscriptions","organizations_url":"https://api.github.com/users/vyp/orgs","repos_url":"https://api.github.com/users/vyp/repos","events_url":"https://api.github.com/users/vyp/events{/privacy}","received_events_url":"https://api.github.com/users/vyp/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T11:18:01Z","updated_at":"2015-09-25T11:18:01Z","body":"Yes `location` fetcher seems like a good choice if one fetcher to handle both cases is desired."}}