Commit Graph

3505 Commits

Author SHA1 Message Date
林博仁(Buo-ren Lin)
15a9925d2a snap: Unify sequence indentation style
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-04-12 00:45:47 +08:00
林博仁(Buo-ren Lin)
2401523cb4 snap: Migrate to core base
This patch allows the snap to use the latest Snapcraft features.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-04-12 00:40:28 +08:00
Nicolas Hennion
b9dacd1e98
Merge pull request #1466 from sentriz/webintfsensorsalias
show sensors alias in web interface
2019-04-11 13:32:21 +02:00
Nicolas Hennion
9b7e7f1ba7
Merge pull request #1464 from Lin-Buo-Ren/patch/snap/support-canonical-config-paths
snap: Support canonical config paths, fixes #1403
2019-04-11 13:31:21 +02:00
Nicolas Hennion
a5fc4fda45
Merge pull request #1463 from Lin-Buo-Ren/patch/snap/add-gitignore
snap: Add packaging-specific gitignore rules
2019-04-11 13:30:55 +02:00
Nicolas Hennion
bc9c0a4591
Merge pull request #1461 from Lin-Buo-Ren/patch/snap/fix-server
snap: Fix broken --webserver due to missing network-bind plug
2019-04-11 13:30:28 +02:00
Nicolas Hennion
5550289fe7
Merge pull request #1453 from riadvice/fix-docs
Update cmds.rst
2019-04-11 13:29:55 +02:00
Nicolas Hennion
707e793153
Merge pull request #1452 from Bengt/patch-1
Ignore loop back file systems under Ubuntu
2019-04-11 13:29:31 +02:00
nicolargo
f73ec13c8f PsUtil 5.6.1. Bring load on Windows OS 2019-04-11 13:27:53 +02:00
nicolargo
57e07faf02 Merge branch 'issue344' into develop 2019-04-11 13:24:35 +02:00
nicolargo
b7f684e81f Add Load Average (similar to Linux) on Windows #344 2019-04-11 13:24:17 +02:00
sentriz
fa5170d0e0
show sensors alias in web interface
sensor aliases currently work in the curses interface, but not in the
web one

fixes #1456
2019-04-11 11:59:48 +01:00
林博仁(Buo-ren Lin)
2249251895 snap: Support canonical config paths, fixes #1403
This patch supports canonical config paths by the help of the
`personal-files` and the `system-files` security confinement interfaces.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-04-10 17:35:42 +08:00
林博仁(Buo-ren Lin)
ddeb8d1b79 snap: Add packaging-specific gitignore rules
This should drop the -dirty tag in the snap version string.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-04-10 16:43:08 +08:00
nicolargo
d31805232b Ctach CertificateError in outdated plugin 2019-04-08 14:51:57 +02:00
nicolargo
0c0adb35cf Merge branch 'issue1446' into develop 2019-04-08 14:43:44 +02:00
nicolargo
c3f04f2cca Update documentation for sparklines. 2019-04-08 14:39:18 +02:00
林博仁
c05dd8a05d snap: Fix broken --webserver due to missing network-bind plug
Signed-off-by: 林博仁 <Buo.Ren.Lin@gmail.com>
2019-04-05 18:40:43 +08:00
Ghazi Triki
5d4faa206b
Update cmds.rst
Fix `--modules-list`
2019-03-31 20:05:21 +01:00
nicolargo
a35a7d547b Version to be tested. All feature are implemented. Documentation to be done. 2019-03-31 18:27:03 +02:00
Bengt Lüers
96825c7eac
Ignore loop back file systems under Ubuntu
This hides about a dozen loop back file systems on my Ubuntu 18.04 machine, cleaning up the side bar tremendously.
2019-03-31 17:57:40 +02:00
nicolargo
20ca58d5a4 Merge branch 'develop' into issue1446 2019-03-31 16:59:31 +02:00
nicolargo
f9ae1eb7dc Merge branch 'issue1449' into develop 2019-03-31 11:43:05 +02:00
nicolargo
624d8c0204 l keypress (hide alert log) not working after some time #1449 2019-03-31 11:41:45 +02:00
nicolargo
a5eee3405c Change NEWS file 2019-03-31 11:05:38 +02:00
nicolargo
96bfd95e4b Merge branch 'issue1450' into develop 2019-03-31 11:02:53 +02:00
nicolargo
2030adf58a Connection to MQTT server failed : getaddrinfo() argument 2 must be integer or string #1450 2019-03-31 11:02:36 +02:00
nicolargo
2853f54ee6 Size is now ok 2019-03-27 23:07:57 +01:00
nicolargo
0c2f3acbd2 First commit with basic function. The plugin is to large. The default bahavor should be bar. Sparkline should be activated uppon --sparklines tag 2019-03-24 19:30:09 +01:00
Nicolas Hennion
6f5ea9592d
Merge pull request #1441 from genevera/elasticsearch-fix-fix
switch back to timestamp el name, clean up verbiage
2019-03-14 21:40:47 +01:00
genevera
536f04ae90
switch back to timestamp el name, clean up verbiage 2019-03-14 12:46:00 -04:00
nicolargo
06867c9f19 Add NEWS file for ElasticSearch: add date to index, unbreak object push (thanks to @genevera) # 1438 2019-03-13 22:08:14 +01:00
Nicolas Hennion
57597aa0cc
Merge pull request #1438 from genevera/elasticsearch-fix
add date to index, unbreak object push
2019-03-13 22:06:04 +01:00
genevera
65e748a15c
make _id more precise 2019-03-13 05:42:16 -04:00
genevera
b24ad72557
remove extra time field 2019-03-13 05:37:34 -04:00
genevera
b7041b3acb
use dynamic templating for values, clean up fields some more 2019-03-13 05:28:06 -04:00
genevera
5bf7069053
add date to index, unbreak object push 2019-03-13 05:24:49 -04:00
nicolargo
be696ec8c5 Fixes a typo in command-line options docs #1425 2019-03-02 08:54:18 +01:00
nicolargo
b21074d33d Merge branch 'issue1415' into develop 2019-01-29 06:55:42 +01:00
nicolargo
70085b9dc5 Issue #1514 already corrected by issue #1348. Nevertheless, this commit improve code quality off the network plugin 2019-01-29 06:55:23 +01:00
Nicolas Hennion
e10dbe86c4
Merge pull request #1410 from Lin-Buo-Ren/patch/fix-snap-version
Improve snap version generation and introducing metadata sharing with setuptools
2019-01-26 07:55:04 +01:00
Nicolas Hennion
9eb1310a6e
Merge pull request #1411 from Lin-Buo-Ren/patch/pin-deps
Patch/pin deps
2019-01-26 07:54:51 +01:00
林博仁(Buo-ren Lin)
c9bc0b38f9 Minimize history fetch depth to cut down pull time
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 11:26:22 +08:00
林博仁(Buo-ren Lin)
cf670d2eaa Pin release of the runtime dependencies in snap
This patch specifies the exact release of the dependencies to pull in,
this avoids regressions and incompatibilities from the new upstream
changes.

The maintainer should check and bump the dependency version once in a
while and check for breakage.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 11:26:22 +08:00
林博仁(Buo-ren Lin)
f541e9215b Use new metadata extracting feature in snaps
This patch replaces the deprecated `version-script` key with new
Snapcraft metadata extracting features based on the `adopt-info` and
`parse-info` keys and the `snapcraftctl set-version` command.

This allows metadata sharing with Setuptools setup.py file.

Refernce:

    Extracting information from sources in snapcraft parts - doc - snapcraft.io
    https://forum.snapcraft.io/t/extracting-information-from-sources-in-snapcraft-parts/4642

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 06:04:44 +08:00
林博仁(Buo-ren Lin)
044fd14137 Implement custom snap version string generation
The snap version string generated by the `git` value of the `version`
key isn't mimicing the previous versioning style due to the prefixing
`v` in the git tag, this patch replace it with a custom implementation
based on the `version-script` key.

Note the `version` key is still required to exist due to schema
requirements, but has no effect when the `version-script` key is
defined.

Reference:

    Snapcraft version scripts - snapcraft - snapcraft.io
    https://forum.snapcraft.io/t/snapcraft-version-scripts/106

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 04:44:03 +08:00
nicolargo
38706c975b Add Snap packager 2019-01-25 20:16:41 +01:00
Nicolas Hennion
42d1142c2d
Merge pull request #1408 from Lin-Buo-Ren/patch/improve-snap-packaging
Patch/improve snap packaging
2019-01-25 20:00:23 +01:00
林博仁(Buo-ren Lin)
7a8330aa07 ReReRevert Permission denied: '/etc/glances/glances.conf' #1403
The snapd version that supports the interface hasn't released to the
stable channel yet, and the Snap Store autoconnection isn't granted,
hold back the patch until both conditions are met.

This reverts commit c904a8a and (parts of) 108dc7b.
2019-01-26 02:57:28 +08:00
林博仁(Buo-ren Lin)
988c9a7613 Switch to automatic git versioning for snap version
Snapcraft supports `git describe` style snap version string generation
this patch exploits it.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 02:51:44 +08:00