Commit Graph

3486 Commits

Author SHA1 Message Date
nicolargo
c3f04f2cca Update documentation for sparklines. 2019-04-08 14:39:18 +02:00
nicolargo
a35a7d547b Version to be tested. All feature are implemented. Documentation to be done. 2019-03-31 18:27:03 +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
林博仁(Buo-ren Lin)
665626e44b Use local source tree for glances part
This avoids the additional time to clone the already existing repository

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 02:51:44 +08:00
林博仁(Buo-ren Lin)
cd096cc8a8 Fix locale error due to missing compiled data
This patch hardcoded the locale variables to use the `C.UTF-8` locale
which is the only locale that is available in the Ubuntu Core.

Additional information:

* The gettext-launch remote part - doc - snapcraft.io
  https://forum.snapcraft.io/t/the-gettext-launch-remote-part/9111
* The locales-launch remote part - doc - snapcraft.io
  https://forum.snapcraft.io/t/the-locales-launch-remote-part/8729
* Python cannot determine the locale used when inside a snap - snapcraft - snapcraft.io
  https://forum.snapcraft.io/t/python-cannot-determine-the-locale-used-when-inside-a-snap/9492

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-01-26 02:51:41 +08:00
nicolargo
2529c66fe4 Fan speed always high CPU consuming on my laptop... 2019-01-24 22:27:17 +01:00
nicolargo
203dd28794 Fan speed and voltages section? #1398 2019-01-24 22:20:26 +01:00
nicolargo
6ca31c947a Add an unitest for issue #1401 2019-01-24 21:43:50 +01:00
nicolargo
c904a8a3fe ReRevert Permission denied: '/etc/glances/glances.conf' #1403 2019-01-24 21:38:18 +01:00
nicolargo
f4e80561df Revert Permission denied: '/etc/glances/glances.conf' #1403 because Snapbuild fail 2019-01-23 22:24:50 +01:00
nicolargo
91a96edd58 500 Internal Server Error /api/3/network/interface_name #1401 2019-01-23 21:47:50 +01:00
Nicolas Hennion
c35a7dacfc
Merge pull request #1405 from tdeckers/develop
Allow use of configuration files when installed as snap.
2019-01-23 21:32:12 +01:00
Nicolas Hennion
871a0d1405
Merge pull request #1402 from EmilienMottet/develop
fix tablename cassandra export and variabilize the cassandra table-name
2019-01-23 21:30:21 +01:00
Tom Deckers
108dc7babe Allow use of configuration files when installed as snap.
Closes #1403
2019-01-23 20:30:27 +01:00
Emilien Mottet
1dcc3d07b6 fix tablename cassandra export and variabilize the cassandra table-name 2019-01-23 10:13:49 +01:00
nicolargo
62debf21b4 Documentation is unclear how to get Docker information #1386 and also add a all target to the Pip install in order to install all dependencies 2019-01-20 10:56:30 +01:00
nicolargo
fede502478 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2019-01-20 10:15:06 +01:00
nicolargo
0a948d8799 Update docs and NEWS file 2019-01-20 10:14:45 +01:00
Nicolas Hennion
15fba1b81d
Merge pull request #1396 from limfreee/develop
Curses's browser server list sorting added.
2019-01-20 10:07:25 +01:00
Nicolas Hennion
067e1981c2
Merge pull request #1395 from EmilienMottet/add-auth-provider-cassandra
add authprovider for cassandra export
2019-01-20 10:06:40 +01:00
Emilien Mottet
c17a530a76 update example conf for connect cassandra with username and password 2019-01-19 17:48:36 +01:00
Emilien Mottet
f5e53e4566 add authprovider for cassandra export 2019-01-19 17:45:15 +01:00