{"action":"created","issue":{"url":"https://api.github.com/repos/LeelaChessZero/lc0/issues/976","repository_url":"https://api.github.com/repos/LeelaChessZero/lc0","labels_url":"https://api.github.com/repos/LeelaChessZero/lc0/issues/976/labels{/name}","comments_url":"https://api.github.com/repos/LeelaChessZero/lc0/issues/976/comments","events_url":"https://api.github.com/repos/LeelaChessZero/lc0/issues/976/events","html_url":"https://github.com/LeelaChessZero/lc0/issues/976","id":515691932,"node_id":"MDU6SXNzdWU1MTU2OTE5MzI=","number":976,"title":"Make Lc0 and client Linux-friendly.","user":{"login":"mooskagh","id":11266455,"node_id":"MDQ6VXNlcjExMjY2NDU1","avatar_url":"https://avatars3.githubusercontent.com/u/11266455?v=4","gravatar_id":"","url":"https://api.github.com/users/mooskagh","html_url":"https://github.com/mooskagh","followers_url":"https://api.github.com/users/mooskagh/followers","following_url":"https://api.github.com/users/mooskagh/following{/other_user}","gists_url":"https://api.github.com/users/mooskagh/gists{/gist_id}","starred_url":"https://api.github.com/users/mooskagh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mooskagh/subscriptions","organizations_url":"https://api.github.com/users/mooskagh/orgs","repos_url":"https://api.github.com/users/mooskagh/repos","events_url":"https://api.github.com/users/mooskagh/events{/privacy}","received_events_url":"https://api.github.com/users/mooskagh/received_events","type":"User","site_admin":false},"labels":[{"id":949709014,"node_id":"MDU6TGFiZWw5NDk3MDkwMTQ=","url":"https://api.github.com/repos/LeelaChessZero/lc0/labels/good%20first%20issue","name":"good first issue","color":"7057ff","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-10-31T19:35:26Z","updated_at":"2019-11-01T10:34:09Z","closed_at":null,"author_association":"MEMBER","body":"Currently Lc0 tries to write lots of files into binarie's directory, making it not suitable to put Lc0 into linux distros (as natural location for lc0 binary is `/usr/bin/lc0` and an app should not write files there).\r\n\r\nLet's make it properly!\r\n\r\nSuggestion:\r\n1. For windows keep everything like it is now.\r\n\r\n2. For unix and macos do the following:\r\n\r\n2.1. Lc0\r\n\r\n2.1.1. Make `<autodiscover>` search networks in the following directories (in this order):\r\n`.` (we do that already)\r\n`./networks` (we do that already)\r\n`~/.cache/lc0/networks` (to be added)\r\n`/usr/share/lc0/networks` (to be added)\r\n\r\n2.1.2 Change default config file location from `./lc0.config` to `~/.config/lc0/lc0.config`\r\n\r\n2.1.3 Store `leelaz_opencl_tuning` file in `~/.cache/lc0/`, make it possible to change filename using `-\r\n-backend-opts`\r\n\r\n2.1.4 During training game generation, by default generate games in `~/.cache/lc0/<tmp-dir>` instead of `./<tmp-dir>`, and have a command line parameter to change this. (alternatevely, we can do that in `/tmp`)\r\n\r\n2.2 client\r\n\r\n2.2.1. Rename `client` to `lc0-client`\r\n\r\n2.2.2. Make client first search `lc0` in the current directory, then in `$PATH`\r\n\r\n2.2.3. By default make client cache networks in `~/.cache/lc0/client-cache` instead of `./client-cache`"},"comment":{"url":"https://api.github.com/repos/LeelaChessZero/lc0/issues/comments/548742448","html_url":"https://github.com/LeelaChessZero/lc0/issues/976#issuecomment-548742448","issue_url":"https://api.github.com/repos/LeelaChessZero/lc0/issues/976","id":548742448,"node_id":"MDEyOklzc3VlQ29tbWVudDU0ODc0MjQ0OA==","user":{"login":"mooskagh","id":11266455,"node_id":"MDQ6VXNlcjExMjY2NDU1","avatar_url":"https://avatars3.githubusercontent.com/u/11266455?v=4","gravatar_id":"","url":"https://api.github.com/users/mooskagh","html_url":"https://github.com/mooskagh","followers_url":"https://api.github.com/users/mooskagh/followers","following_url":"https://api.github.com/users/mooskagh/following{/other_user}","gists_url":"https://api.github.com/users/mooskagh/gists{/gist_id}","starred_url":"https://api.github.com/users/mooskagh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mooskagh/subscriptions","organizations_url":"https://api.github.com/users/mooskagh/orgs","repos_url":"https://api.github.com/users/mooskagh/repos","events_url":"https://api.github.com/users/mooskagh/events{/privacy}","received_events_url":"https://api.github.com/users/mooskagh/received_events","type":"User","site_admin":false},"created_at":"2019-11-01T10:34:09Z","updated_at":"2019-11-01T10:34:09Z","author_association":"MEMBER","body":"For windows, while there are places like /home and /tmp, many people still remember old times and like apps to be self-contained.\r\nUsually, if app is installed through installer, it uses all that (and resides in `C:\\Program files`), but if it's just .zip to unpack, people prefer to have it not littering in arbitrary systems.\r\n\r\nFor `/usr/share/lc0/networks` the intention is exactly to be able to also have a package with the network (`lc0-data` or something like that), so that you can install and use. It's the last location to search for networks, so will only be searched when there's no weights in other locations."}}
{"actor":{"display_login":"mooskagh"}}