{"action":"opened","issue":{"url":"https://api.github.com/repos/Great-Hill-Corporation/quickBlocks/issues/892","repository_url":"https://api.github.com/repos/Great-Hill-Corporation/quickBlocks","labels_url":"https://api.github.com/repos/Great-Hill-Corporation/quickBlocks/issues/892/labels{/name}","comments_url":"https://api.github.com/repos/Great-Hill-Corporation/quickBlocks/issues/892/comments","events_url":"https://api.github.com/repos/Great-Hill-Corporation/quickBlocks/issues/892/events","html_url":"https://github.com/Great-Hill-Corporation/quickBlocks/issues/892","id":383894570,"node_id":"MDU6SXNzdWUzODM4OTQ1NzA=","number":892,"title":"Need a much better installation script","user":{"login":"tjayrush","id":5417918,"node_id":"MDQ6VXNlcjU0MTc5MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/5417918?v=4","gravatar_id":"","url":"https://api.github.com/users/tjayrush","html_url":"https://github.com/tjayrush","followers_url":"https://api.github.com/users/tjayrush/followers","following_url":"https://api.github.com/users/tjayrush/following{/other_user}","gists_url":"https://api.github.com/users/tjayrush/gists{/gist_id}","starred_url":"https://api.github.com/users/tjayrush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjayrush/subscriptions","organizations_url":"https://api.github.com/users/tjayrush/orgs","repos_url":"https://api.github.com/users/tjayrush/repos","events_url":"https://api.github.com/users/tjayrush/events{/privacy}","received_events_url":"https://api.github.com/users/tjayrush/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-23T17:30:11Z","updated_at":"2018-11-23T17:30:11Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"There are a few files that must be present for QuickBlocks to work properly. These are copied to ~/.quickBlocks on installation (at least I think they are, but this may not be consistent). The trouble is that we then refer to the files in the code based on their location depending on the end user having specified a different location for the cache:\r\n\r\nThings to do:\r\n\r\n1) Find all the files that get copied into ~/.quickBlocks on running `cmake ../src` if any\r\n2) Find all the files that get copied with `make install` if any\r\n3) Distinguish between files that are needed for proper operation of QBlocks (quickBlocks.toml, names.txt, 0xTokenLib, etc.)\r\n4) Improve the copying/install process so that these files are always present in the ~/.quickBlocks folder\r\n5) Find all uses of these files in the code and change them so they always look in ~/.quickBlocks ignoring the customized cache location (do this so we can confidently tell the end user they can delete their cache at any time with no loss of function)\r\n6) Decide if copying config files to the local folder is the best way to do these things as opposed to say writing code on initialization of the libraries checks for the existence of the required file and creates is if not found\r\n7) Make this versionable, so if a user later re-installs (or re-builds after a pull), we have a way to rebuild the data in the new format if there is one.\r\n\r\nItem (7) argues for item (6)."}}
{"actor":{"display_login":"tjayrush"}}