layman
layman copied to clipboard
Upon blank initial state, attempt to add an overlay errors instead of just downloading overlay list
Layman should attempt to download the list of overlays if it cannot find any sort of already extant overlays in its cache file.
mike@sabayon ~ $ sudo layman -a sublime-text Password:
- Adding overlay...
- Warning: an installed db file was not found at: [u'/var/lib/layman/cache_930c3ed4a5f89f74fd810585751a06e3.xml']
- Exception: Overlay "sublime-text" does not exist.
- CLI: Errors occurred processing action add
- Exception: Overlay "sublime-text" does not exist.
mike@sabayon ~ $ sudo layman -L
- Fetching remote list...
- Warning: an installed db file was not found at: [u'/var/lib/layman/cache_930c3ed4a5f89f74fd810585751a06e3.xml']
- Fetch Ok
- Program "/usr/bin/hg" not found
- File /usr/bin/hg seems to be missing! Overlay type "mercurial" not supported. Did you emerge dev-vcs/mercurial?
- Program "/usr/bin/svn" not found
- File /usr/bin/svn seems to be missing! Overlay type "svn" not supported. Did you emerge dev-vcs/subversion?
- abadonna-overlay [Git ](https://gitlab.com/Abadonna/abadonna-overlay.git, [email protected]:Abadonna/abadonna-overlay.git) -------------- tons of lines deleted ----------------
- zx2c4 [Git ] (git://git.zx2c4.com/portage, http://git.zx2c4.com/portage, ssh://[email protected]/portage
mike@sabayon ~ $ sudo layman -a sublime-text
- Adding overlay...
- Overlay "sublime-text" is not an official. Continue install? [y/n]: y
- Running Git... # ( cd /var/lib/layman && /usr/bin/git clone git://github.com/DamnWidget/sublime-text.git /var/lib/layman/sublime-text ) Cloning into '/var/lib/layman/sublime-text'... remote: Counting objects: 418, done. remote: Total 418 (delta 0), reused 0 (delta 0), pack-reused 418 Receiving objects: 100% (418/418), 83.91 KiB | 0 bytes/s, done. Resolving deltas: 100% (202/202), done. Checking connectivity... done.
- Running Git... # ( cd /var/lib/layman/sublime-text && /usr/bin/git config user.name "layman" )
- Running Git... # ( cd /var/lib/layman/sublime-text && /usr/bin/git config user.email "layman@localhost" )
- Successfully added overlay(s) sublime-text.