{"action":"created","issue":{"url":"https://api.github.com/repos/RasppleII/a2server/issues/51","labels_url":"https://api.github.com/repos/RasppleII/a2server/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/RasppleII/a2server/issues/51/comments","events_url":"https://api.github.com/repos/RasppleII/a2server/issues/51/events","html_url":"https://github.com/RasppleII/a2server/issues/51","id":123171644,"number":51,"title":"reorganize \"files\" (binaries) folder and add to repo","user":{"login":"IvanExpert","id":1761075,"avatar_url":"https://avatars.githubusercontent.com/u/1761075?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanExpert","html_url":"https://github.com/IvanExpert","followers_url":"https://api.github.com/users/IvanExpert/followers","following_url":"https://api.github.com/users/IvanExpert/following{/other_user}","gists_url":"https://api.github.com/users/IvanExpert/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanExpert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanExpert/subscriptions","organizations_url":"https://api.github.com/users/IvanExpert/orgs","repos_url":"https://api.github.com/users/IvanExpert/repos","events_url":"https://api.github.com/users/IvanExpert/events{/privacy}","received_events_url":"https://api.github.com/users/IvanExpert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-20T17:05:37Z","updated_at":"2015-12-21T04:00:12Z","closed_at":null,"body":"Ok, need your help here, read the whole thing:\r\n\r\nI'm in the process of reorganizing the A2SERVER files folder (which is mostly binaries) to have more consistent names, e.g. \"foo-rpi.tgz\" for Raspberry Pi, \"foo-debian_x86.tgz\" for Debian x86, \"foo-debian_x64.tgz\" for Debian x64, and \"foo-debian7_x86.tgz\" for something specific to Debian 7 (e.g. due to some dependency on an older package not supplied in Debian 8).\r\n\r\nSince these binaries are as important a part of the install process as the scripts, I want to add them to the repo, excluding the enormous OS distribution files, which will get a separate folder (e.g. \"rasppleii/dist\"). And then I want these binaries to be supported by the A2SERVER_SCRIPT_URL export. So far, so good, I can do all that.\r\n\r\nHere's a problem I don't know quite how to resolve: Several files, e.g. unar-rpi.tgz, nulib2-rpi.tgz, and raspbian-update.txt, are shared by A2SERVER and A2CLOUD. I don't want to potentially have redundant and potentially inconsistent versions in the A2SERVER and A2CLOUD hierarchies. In the bad old pre-Github days, I logged into the web host's shell and simply made symlinks to a single file as a way to avoid this.\r\n\r\nHowever, that isn't gonna fly now. My inclination is to put common files in rasppleii/common/files and then change any links in the scripts to use that. I've already started to do this. However, this poses two problems:\r\n- As the A2SERVER_SCRIPT_URL shell variable is currently implemented, it would require ugly reach-backwards URL's like\r\n```\r\nwget -qO /tmp/somefile.tgz ${A2SERVER_SCRIPT_URL}../rasppleii/common/files/somefile.tgz\r\n```\r\n- A developer can't clone just the rasppleii/a2server project -- they also have to get rasppleii/rasppleii\r\n\r\nThe first would seem to be addressable by a more generalized A2SERVER_SCRIPT_URL, e.g. RASPPLEII_SCRIPT_URL, and then the A2SERVER URLs would all need to specify \"a2server/\", e.g. `${RASPPLEII_SCRIPT_URL}a2server/etc/etc.txt`\r\n\r\nThe second is would seem to be addressable by indicating rasppleii/rasppleii as a dependency which can be requested during the git clone, though I don't know how to do that; or just clear instructions that the developer needs both.\r\n\r\nOr, maybe there's another way to maintain consistent binaries in separate hierarchies in Git; if so, I don't know how to do that either.\r\n\r\nTL;dr: What do you propose we do to make the 'files' subdirectory part of the repo but also keep things consistent for common files?\r\n\r\n(Of course, this also confuses issues somewhat because Raspple II is being used generically as the parent of A2SERVER and A2CLOUD, even for non-Raspberry Pi setups, but that's, I think, just how things are gonna be, e.g. the name of this whole repo.)"},"comment":{"url":"https://api.github.com/repos/RasppleII/a2server/issues/comments/166196141","html_url":"https://github.com/RasppleII/a2server/issues/51#issuecomment-166196141","issue_url":"https://api.github.com/repos/RasppleII/a2server/issues/51","id":166196141,"user":{"login":"iKarith","id":10780557,"avatar_url":"https://avatars.githubusercontent.com/u/10780557?v=3","gravatar_id":"","url":"https://api.github.com/users/iKarith","html_url":"https://github.com/iKarith","followers_url":"https://api.github.com/users/iKarith/followers","following_url":"https://api.github.com/users/iKarith/following{/other_user}","gists_url":"https://api.github.com/users/iKarith/gists{/gist_id}","starred_url":"https://api.github.com/users/iKarith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iKarith/subscriptions","organizations_url":"https://api.github.com/users/iKarith/orgs","repos_url":"https://api.github.com/users/iKarith/repos","events_url":"https://api.github.com/users/iKarith/events{/privacy}","received_events_url":"https://api.github.com/users/iKarith/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T04:00:12Z","updated_at":"2015-12-21T04:00:12Z","body":"Likewise, drop libssl0.9.8?"}}