onefetch: Snap version 2.11.0 fail to run
When trying to use onefetch from snap its fails with Error: please run onefetch inside of a non-bare git repository
$ onefetch --help
onefetch 2.11.0
When using version from apt everything works
$ onefetch --help
onefetch 2.10.2
My system:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.10
Release: 21.10
Codename: impish
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20 (8 by maintainers)
Links to this issue
Commits related to this issue
- skip first condition in is_valid check, #588 — committed to o2sh/onefetch by o2sh 2 years ago
- add snap interface to allow read access to /etc/gitconfig #588 — committed to o2sh/onefetch by o2sh 2 years ago
- add snapcraft plugs to read gitconfig files from HOME, #588 — committed to o2sh/onefetch by o2sh 2 years ago
- rename snapcraft plugs, #588 — committed to o2sh/onefetch by o2sh 2 years ago
- use SNAP_REAL_HOME instead of HOME, #588 — committed to o2sh/onefetch by o2sh 2 years ago
- map HOME to SNAP_REAL_HOME, #588 — committed to o2sh/onefetch by o2sh 2 years ago
https://forum.snapcraft.io/t/system-files-request-for-onefetch/28963
Following 125c610, a manual review was automatically created and is currently pending: https://dashboard.snapcraft.io/snaps/onefetch/revisions/1855/
Since the v.2.12.0 release, this should also work on the stable channel.