2017-06-24 19:47:16 +03:00
|
|
|
name: glances
|
2019-01-26 00:49:14 +03:00
|
|
|
adopt-info: glances
|
2017-06-24 19:47:16 +03:00
|
|
|
summary: Glances an Eye on your system. A top/htop alternative.
|
|
|
|
description: |
|
|
|
|
Glances is a cross-platform monitoring tool which aims to present
|
|
|
|
a maximum of information in a minimum of space through a curses or
|
|
|
|
Web based interface. It can adapt dynamically the displayed information
|
|
|
|
depending on the user interface size.
|
|
|
|
|
2019-04-11 19:40:28 +03:00
|
|
|
base: core
|
2017-06-24 19:47:16 +03:00
|
|
|
grade: stable
|
|
|
|
confinement: strict
|
|
|
|
|
|
|
|
apps:
|
|
|
|
glances:
|
2019-04-10 12:35:42 +03:00
|
|
|
command: >
|
|
|
|
bin/glances-launch
|
|
|
|
$SNAP/bin/glances
|
2017-06-24 19:47:16 +03:00
|
|
|
plugs:
|
|
|
|
- network
|
2017-11-02 23:08:24 +03:00
|
|
|
- system-observe
|
2018-01-01 12:43:34 +03:00
|
|
|
- mount-observe
|
|
|
|
- hardware-observe
|
|
|
|
- log-observe
|
|
|
|
- network-observe
|
|
|
|
- physical-memory-observe
|
|
|
|
- upower-observe
|
2019-01-23 22:30:27 +03:00
|
|
|
- home
|
2019-04-05 13:40:43 +03:00
|
|
|
- network-bind
|
2019-01-25 11:50:08 +03:00
|
|
|
environment:
|
|
|
|
LANG: C.UTF-8
|
|
|
|
LC_ALL: C.UTF-8
|
2019-01-23 22:30:27 +03:00
|
|
|
|
2019-04-10 12:35:42 +03:00
|
|
|
plugs:
|
|
|
|
home-glances-config:
|
|
|
|
interface: personal-files
|
|
|
|
read:
|
2019-04-11 19:45:47 +03:00
|
|
|
- $HOME/.config/glances/glances.conf
|
2019-04-10 12:35:42 +03:00
|
|
|
etc-glances-config:
|
|
|
|
interface: system-files
|
|
|
|
read:
|
2019-04-11 19:45:47 +03:00
|
|
|
- /etc/glances/glances.conf
|
2019-04-10 12:35:42 +03:00
|
|
|
|
2017-06-24 19:47:16 +03:00
|
|
|
parts:
|
|
|
|
glances:
|
2019-04-11 19:55:02 +03:00
|
|
|
after:
|
|
|
|
- selective-checkout
|
2017-06-24 19:47:16 +03:00
|
|
|
plugin: python
|
2019-01-25 11:54:34 +03:00
|
|
|
source: .
|
2019-01-26 00:49:14 +03:00
|
|
|
# FIXME: Theoretically this also replaces `summary` and `description`
|
|
|
|
# keys, however due to the following bug we still need to keep
|
|
|
|
# them until it is fixed.
|
|
|
|
# https://bugs.launchpad.net/snapcraft/+bug/1813364
|
|
|
|
parse-info: [setup.py]
|
|
|
|
override-pull: |
|
|
|
|
snapcraftctl pull
|
2019-04-11 19:55:02 +03:00
|
|
|
"$SNAPCRAFT_STAGE"/scriptlets/selective-checkout
|
2017-06-24 19:47:16 +03:00
|
|
|
bottle:
|
|
|
|
plugin: python
|
|
|
|
source: https://github.com/bottlepy/bottle.git
|
2019-01-26 06:17:50 +03:00
|
|
|
source-branch: release-0.12
|
2019-01-26 06:21:22 +03:00
|
|
|
source-depth: 1
|
2017-06-25 11:17:12 +03:00
|
|
|
docker:
|
|
|
|
plugin: python
|
|
|
|
source: https://github.com/docker/docker-py.git
|
2020-03-10 23:52:01 +03:00
|
|
|
source-tag: '3.7.3'
|
2019-01-26 06:21:22 +03:00
|
|
|
source-depth: 1
|
2019-04-10 12:35:42 +03:00
|
|
|
launchers:
|
|
|
|
source: snap/local/launchers
|
|
|
|
plugin: dump
|
|
|
|
organize:
|
|
|
|
'*': bin/
|
2019-04-11 19:55:02 +03:00
|
|
|
selective-checkout:
|
|
|
|
plugin: nil
|
|
|
|
build-packages:
|
|
|
|
- git
|
|
|
|
stage-snaps:
|
|
|
|
- selective-checkout
|
|
|
|
prime:
|
|
|
|
- -*
|