Commit Graph

3673 Commits

Author SHA1 Message Date
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
nicolargo
74ef264d90 On the orad of Glances 3.1.1 2019-01-19 16:48:21 +01:00
nicolargo
b668b0bf4c Resolve merge conflict with master branch 2019-01-19 16:43:35 +01:00
nicolargo
316d693c97 Glances 3.1.0 2019-01-19 16:41:03 +01:00
nicolargo
ebb8c8adeb 'chart' extra not provided #1389 2019-01-19 16:24:09 +01:00
nicolargo
9508300d54 Cannot get stats in Cloud plugin (404) #1384 2019-01-19 16:18:05 +01:00
Nicolas Hennion
e2d7f61eac
Merge pull request #1390 from apjanke/say-docker-works-on-Mac
README: note that docker plugin works on Mac
2019-01-19 15:55:32 +01:00
Nicolas Hennion
c5efa0bf9a
Merge pull request #1391 from limfreee/develop
Client Browser's thread management added.

@limfreee Very nice ! Thanks for the enhancement !
2019-01-19 15:54:38 +01:00
Nicolas Hennion
156eb61752
Merge pull request #1394 from EmilienMottet/develop
fix mistake in comment
2019-01-19 15:53:49 +01:00
Emilien Mottet
353e75f510 fix typo in comment 2019-01-19 15:26:20 +01:00
sangoh.hong
d4f06b3e0c improved server list sorting. 2019-01-18 22:45:25 +09:00
sangoh.hong
61dbe609c1 Sorting Condition check added. 2019-01-17 23:37:53 +09:00
sangoh.hong
ac978176b9 Server list sorting added.
Sort by server status.
Using key 1,2,3
2019-01-17 23:34:14 +09:00
sangoh.hong
43d51513f8 server status count added. 2019-01-16 22:32:56 +09:00