Skip to content

VCS plugin fails to install #803

Closed
Closed
@dermetfan

Description

@dermetfan

Description of the problem or steps to reproduce

> plugin install vcs
Downloading "vcs" (0.4.0) from "https://bitbucket.org/dermetfan/micro-vcs/get/0.4.0.zip"
open /home/dermetfan/.config/micro/plugins/vcs/help/vcs.md: no such file or directory

It appears Micro fails to properly unpack the zip as some files are missing:

❯ l ~/.config/micro/plugins/vcs/
.rw-r--r-- 121 dermetfan users  7 Sep 21:53 .hg_archival.txt
.rw-r--r-- 188 dermetfan users  7 Sep 21:53 .hgtags
.rw-r--r-- 483 dermetfan users  7 Sep 21:53 LICENSE
.rw-r--r-- 148 dermetfan users  7 Sep 21:53 README.md

I confirmed they should be there:

❯ curl https://bitbucket.org/dermetfan/micro-vcs/get/0.4.0.zip > vcs-test.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3801  100  3801    0     0   3801      0  0:00:01 --:--:--  0:00:01  7423

❯ x vcs-test.zip
Archive:  vcs-test.zip
  inflating: vcs-test/dermetfan-micro-vcs-f3a8f4277a50/.hg_archival.txt
  inflating: vcs-test/dermetfan-micro-vcs-f3a8f4277a50/.hgtags
  inflating: vcs-test/dermetfan-micro-vcs-f3a8f4277a50/LICENSE
  inflating: vcs-test/dermetfan-micro-vcs-f3a8f4277a50/README.md
  inflating: vcs-test/dermetfan-micro-vcs-f3a8f4277a50/help/vcs.md
  inflating: vcs-test/dermetfan-micro-vcs-f3a8f4277a50/repo.json
  inflating: vcs-test/dermetfan-micro-vcs-f3a8f4277a50/vcs.lua

Specifications

Commit hash: d41a255
OS: NixOS
Terminal: st

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions