{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":48021097,"defaultBranch":"master","name":"zimfw","ownerLogin":"zimfw","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2015-12-15T05:13:58.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/22506548?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1714331394.0","currentOid":""},"activityList":{"items":[{"before":"eb37844857acbb6365a77c5f79029708866fa7f8","after":"0785d87ea418dc4c7fd65bcfa0f5ffaaa519f417","ref":"refs/heads/master","pushedAt":"2024-06-21T20:46:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Improve error messages and check ZIM_HOME\n\nfor write permission. Also, if ZIM_HOME is not defined, don't \"autoload\"\nthe zimfw function, since this is going to be a scenario where the user\nonly has something like `source /path/to/zim/init.zsh` in their .zshrc.","shortMessageHtmlLink":"Improve error messages and check ZIM_HOME"}},{"before":"3e812ed311db32034c8d12759d6095bfc58be5ba","after":"eb37844857acbb6365a77c5f79029708866fa7f8","ref":"refs/heads/master","pushedAt":"2024-06-18T22:42:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Disable background version check if no write access\n\nto zimfw.zsh or if it's a symlink or not a regular file. It does not\nmake sense to show a message to user saying \"Run zimfw upgrade to\nupgrade\" if the action will then fail.","shortMessageHtmlLink":"Disable background version check if no write access"}},{"before":"897afc9cf9045922922f962176fc48949b6c85e8","after":"3e812ed311db32034c8d12759d6095bfc58be5ba","ref":"refs/heads/master","pushedAt":"2024-06-18T22:17:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Don't upgrade zimfw.zsh if not in a writable path\n\nor if it's a symlink or not a regular file. This makes more sense now\nthat zimfw.zsh can exist outside ZIM_HOME, that the same file can be\nused my multiple users in the same machine, and that it is going to be\npossible to install it with a package manager once it's stable to do so.","shortMessageHtmlLink":"Don't upgrade zimfw.zsh if not in a writable path"}},{"before":"76164d62179dc58a487e3e493d4167e80fa9795f","after":"897afc9cf9045922922f962176fc48949b6c85e8","ref":"refs/heads/master","pushedAt":"2024-06-17T12:29:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Reapply \"Use `${HOME}` in generated static init.zsh script\"\n\nThis reverts commit 9a47fde0c8bda7f401befc45d430e2dc06d337be.","shortMessageHtmlLink":"Reapply \"Use ${HOME} in generated static init.zsh script\""}},{"before":"9a47fde0c8bda7f401befc45d430e2dc06d337be","after":"76164d62179dc58a487e3e493d4167e80fa9795f","ref":"refs/heads/master","pushedAt":"2024-06-15T01:18:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Allow zimfw.zsh to exist outside ZIM_HOME\n\nand change initialization so ZIM_HOME is required before sourcing the\nscript.","shortMessageHtmlLink":"Allow zimfw.zsh to exist outside ZIM_HOME"}},{"before":"06f8bc71a34a8eb27b4a31f8b72822e401deb0e3","after":"9a47fde0c8bda7f401befc45d430e2dc06d337be","ref":"refs/heads/master","pushedAt":"2024-06-10T12:52:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Revert \"Use `${HOME}` in generated static init.zsh script\"\n\nThis reverts commit 06f8bc71a34a8eb27b4a31f8b72822e401deb0e3.\n\nThis breaks allowing a machine to have just one init.zsh script that can\nbe sourced by different users.","shortMessageHtmlLink":"Revert \"Use ${HOME} in generated static init.zsh script\""}},{"before":"9dc4056c4e79ad092de50e8dc99a21a33cd14fd9","after":"06f8bc71a34a8eb27b4a31f8b72822e401deb0e3","ref":"refs/heads/master","pushedAt":"2024-06-09T16:33:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Use `${HOME}` in generated static init.zsh script\n\nFixes #509","shortMessageHtmlLink":"Use ${HOME} in generated static init.zsh script"}},{"before":"96f60da36685802d08a05a95bf34272951bb7f4d","after":"9dc4056c4e79ad092de50e8dc99a21a33cd14fd9","ref":"refs/heads/master","pushedAt":"2024-06-03T13:53:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"chmod a+r init.zsh so all users can read it\n\nThis better allows a global instalation of Zim that can be sourced by\nother users in the same machine.\n\nSee #486","shortMessageHtmlLink":"chmod a+r init.zsh so all users can read it"}},{"before":"4fcc85b2dbaaef0444a2f14e5df222169a106b9e","after":"96f60da36685802d08a05a95bf34272951bb7f4d","ref":"refs/heads/master","pushedAt":"2024-05-30T14:39:24.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Improve zimfw's degit error message\n\nHopefully make it clearer when either the git or the degit tool is being\nused.\n\nSee #535","shortMessageHtmlLink":"Improve zimfw's degit error message"}},{"before":"4200e6cdb358d1e93cdcfea4a7a9ee91ced9e7b7","after":"4fcc85b2dbaaef0444a2f14e5df222169a106b9e","ref":"refs/heads/master","pushedAt":"2024-05-26T17:46:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Update README.md with ZIM_CONFIG_FILE instructions\n\nAlso add git-info and duration-info modules to the basic templates for a\nbetter user experience.","shortMessageHtmlLink":"Update README.md with ZIM_CONFIG_FILE instructions"}},{"before":"c86223f4737bba455890463638620562c0769a84","after":"4200e6cdb358d1e93cdcfea4a7a9ee91ced9e7b7","ref":"refs/heads/master","pushedAt":"2024-04-28T19:07:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"v1.13.1","shortMessageHtmlLink":"v1.13.1"}},{"before":"39d2087ad4ecb0bac474ba605923c3a497d96577","after":"c86223f4737bba455890463638620562c0769a84","ref":"refs/heads/master","pushedAt":"2024-04-28T19:06:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Don't use tar --strip\n\nas it's not compatible with BSD distributions.\nFixes #534","shortMessageHtmlLink":"Don't use tar --strip"}},{"before":"460869c1629c1ef5522b89b3637e67459d718d45","after":"39d2087ad4ecb0bac474ba605923c3a497d96577","ref":"refs/heads/master","pushedAt":"2024-02-17T02:08:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"v1.13.0","shortMessageHtmlLink":"v1.13.0"}},{"before":"2e9256a5679b6ebc57ae2398e3199079ca41ba54","after":"460869c1629c1ef5522b89b3637e67459d718d45","ref":"refs/heads/master","pushedAt":"2024-02-17T02:05:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"v1.13.0","shortMessageHtmlLink":"v1.13.0"}},{"before":"8bec2f754964d4b7fe6d50028cad487e8001cbbf","after":"2e9256a5679b6ebc57ae2398e3199079ca41ba54","ref":"refs/heads/master","pushedAt":"2024-02-17T01:49:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Add new mkdir tool to generate empty modules\n\nThis will allow creating modules that contain only externally generated\nfiles. For example, this is how I currently use it to generate modules\nfor code that is supposed to be eval'ed:\n\n zmodule-eval() {\n local -r zcommand=${${=1}[1]} ztarget=${1//[^[:alnum:]]/-}.zsh\n zmodule custom-${zcommand} --use mkdir --if-command ${zcommand} \\\n --cmd \"if [[ ! {}/${ztarget} -nt \\${commands[${zcommand}]} ]]; then ${1} >! {}/${ztarget}; zcompile -UR {}/${ztarget}; fi\" \\\n --source ${ztarget}\n }\n zmodule-eval 'starship init zsh'\n unfunction zmodule-eval","shortMessageHtmlLink":"Add new mkdir tool to generate empty modules"}},{"before":"5f649d3031d44ff2f3b99d31eeadbd38982e44ad","after":"8bec2f754964d4b7fe6d50028cad487e8001cbbf","ref":"refs/heads/master","pushedAt":"2024-01-23T02:37:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Add `--if-command` option to `zmodule`","shortMessageHtmlLink":"Add --if-command option to zmodule"}},{"before":"26151d2f543ea4dca77783adda5c7da0974d9dc8","after":"5f649d3031d44ff2f3b99d31eeadbd38982e44ad","ref":"refs/heads/master","pushedAt":"2023-09-16T18:27:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"v1.12.1","shortMessageHtmlLink":"v1.12.1"}},{"before":"d33d632ec13dc2f2d6cdab1f79c35e6b2dc3bd1f","after":"26151d2f543ea4dca77783adda5c7da0974d9dc8","ref":"refs/heads/master","pushedAt":"2023-09-16T18:21:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Remove prompt expansion from print statements\n\nand replace the foreground color and bold expansions by ANSI escape\ncodes. This should make the print calls now safe and no expansion at all\nshould happen as we're using `-R` -- unless the `-e` flag is given.\nFixes #521. Closes #522","shortMessageHtmlLink":"Remove prompt expansion from print statements"}},{"before":"e0d067977c93b23c43c902cc93b0237bc3db9c39","after":"d33d632ec13dc2f2d6cdab1f79c35e6b2dc3bd1f","ref":"refs/heads/master","pushedAt":"2023-09-16T00:58:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Use `--sort=-v:refname` in _zimfw_check_version\n\nto sort tags, instead of using Zsh's `(On)`. The tags will come sorted\nalready.","shortMessageHtmlLink":"Use --sort=-v:refname in _zimfw_check_version"}},{"before":"49386cad6def77fb335278b7ee641212c41d545b","after":"e0d067977c93b23c43c902cc93b0237bc3db9c39","ref":"refs/heads/master","pushedAt":"2023-07-17T23:56:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"v1.12.0","shortMessageHtmlLink":"v1.12.0"}},{"before":"0566b9b8a35d5175820113bc91bf0c3465ca9479","after":"49386cad6def77fb335278b7ee641212c41d545b","ref":"refs/heads/master","pushedAt":"2023-06-17T01:29:05.549Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Make forced check-version asynchronous (again)\n\nas it was before a34b8dab64214216ffb27c00474d7c8314b1c98e.\nDon't make zimfw hang in the foreground waiting for git to connect to\nGitHub, mainly because the waiting can take too long in case of\nconnection issues or no network. Also set git timeout to 30 seconds so\nbackground check also does hang for too long, just it case.\n\nFixes #514","shortMessageHtmlLink":"Make forced check-version asynchronous (again)"}},{"before":"f9648e07a9e9713c2194b2bf4a975339a6b943bd","after":"0566b9b8a35d5175820113bc91bf0c3465ca9479","ref":"refs/heads/master","pushedAt":"2023-06-15T14:33:37.946Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Use _zimfw_print","shortMessageHtmlLink":"Use _zimfw_print"}},{"before":"db96076cf004efcced3b2f3e02cf85913675a989","after":"f9648e07a9e9713c2194b2bf4a975339a6b943bd","ref":"refs/heads/master","pushedAt":"2023-06-15T14:26:37.996Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Handle module root directories without write permission\n\nCloses #513. Fixes #512","shortMessageHtmlLink":"Handle module root directories without write permission"}},{"before":null,"after":"10c307f405705afc2335521e9fbb397b50f2fee7","ref":"refs/heads/use-home-in-init-zsh","pushedAt":"2023-05-07T00:39:16.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Use `${HOME}` in generated static init.zsh script\n\nFixes #509","shortMessageHtmlLink":"Use ${HOME} in generated static init.zsh script"}},{"before":"f93e43e8a5cb07fc54be71440b1bd11b9ed52fcd","after":"db96076cf004efcced3b2f3e02cf85913675a989","ref":"refs/heads/master","pushedAt":"2023-04-01T13:31:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"fixup! Don't use a new shell to run tool anymore","shortMessageHtmlLink":"fixup! Don't use a new shell to run tool anymore"}},{"before":"67de6ec25bf2a9e1de20ff0ab9915f1147783e77","after":"f93e43e8a5cb07fc54be71440b1bd11b9ed52fcd","ref":"refs/heads/master","pushedAt":"2023-04-01T01:34:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Tools run in a subshell","shortMessageHtmlLink":"Tools run in a subshell"}},{"before":"ee93f7944fc49c779dfe7e2bb88b79d599783bef","after":"67de6ec25bf2a9e1de20ff0ab9915f1147783e77","ref":"refs/heads/master","pushedAt":"2023-03-30T13:40:15.071Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Don't resolve symlinks when building init.zsh\n\nSo init.zsh is consistent after symlinks change to point to something\nelse. See zimfw/completion#15","shortMessageHtmlLink":"Don't resolve symlinks when building init.zsh"}},{"before":"312b08c20a2076acd02586c05c7b525e958da37e","after":"ee93f7944fc49c779dfe7e2bb88b79d599783bef","ref":"refs/heads/master","pushedAt":"2023-03-28T13:30:55.011Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Don't use a new shell to run tool anymore\n\nThis was needed when we were using xargs, but we're already using zargs\ninstead for quite some time. Pro is that now common functions are reused\ninstead of repeated. Con (or change) is that due to that reuse, and in\nfavor of simplification, the warning for a module with git submodules in\ndegit is in a separate line from a separate print call now.\n\nAlso fix regressions from recent commits:\n- Need to call _zimfw_source_zimrc twice with 1 and 2 flags instead of\n with flag 3, since flag 2 must be used after module is installed or\n updated.\n- Need to call _zimfw_print_okay from the function that handles on-pull,\n since we want to include the on-pull output in verbose mode. This\n function was called just `handle` before, now it's called\n _zimfw_pull_print_okay.\n\nStill need to figure out how to return a final error code from\n_zimfw_run_tool_action.","shortMessageHtmlLink":"Don't use a new shell to run tool anymore"}},{"before":"903e0e524923479505a0fd0cdac29c5012bd8cf2","after":"312b08c20a2076acd02586c05c7b525e958da37e","ref":"refs/heads/master","pushedAt":"2023-03-26T21:51:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Fix missing -C in command git","shortMessageHtmlLink":"Fix missing -C in command git"}},{"before":"b7b33f3786aa18f2db6f59c906e05b059692a991","after":"903e0e524923479505a0fd0cdac29c5012bd8cf2","ref":"refs/heads/master","pushedAt":"2023-03-26T14:40:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ericbn","name":"Eric Nielsen","path":"/ericbn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4120606?s=80&v=4"},"commit":{"message":"Add check and rename version-check to check-version\n\nactions. Return 4 if there's a zimfw update from check-version. Don't\nreturn a specific error code if there are module updates from check, as\nit uses zargs to check all and each check runs in a separate shell. Need\nto figure out how to propagate all that to a final error code.\n\nSee #503","shortMessageHtmlLink":"Add check and rename version-check to check-version"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEa_SKUQA","startCursor":null,"endCursor":null}},"title":"Activity ยท zimfw/zimfw"}