Commit Graph

66 Commits

Author SHA1 Message Date
Nicolas Hennion
363a66c263 UodateSnapcraft 2024-07-08 08:54:40 +00:00
nicolargo
f603e8412c Add another connector to snap 2024-07-07 18:47:46 +02:00
nicolargo
90f4934c62 Glances 4.1.2 2024-07-03 19:41:40 +02:00
nicolargo
154ae8e610 On the road (again) to Glances 4.2.0 2024-06-29 16:36:22 +02:00
nicolargo
582ca07716 Glances 4.1.0 2024-06-29 09:49:36 +02:00
nicolargo
0227d221da [snap] PermissionError: [Errno 13] Permission denied: '/proc/net/wireless' #2829 2024-06-15 08:42:32 +02:00
nicolargo
9b0d0a7ff0 Get back to Glances 4.1.0 2024-06-08 10:29:57 +02:00
nicolargo
15b0a9bbab Update snapcraft 2024-05-18 11:18:01 +02:00
nicolargo
4ff7c82559 Update docs and API 2024-05-12 11:10:59 +02:00
nicolargo
374bf0944b On the road of Glances 4.1.0 2024-05-12 10:49:45 +02:00
nicolargo
d9056e6027 Glances version 4.0.0 2024-05-12 10:45:03 +02:00
nicolargo
a7b45ff585 Change SNAP version to 4.0.0RC02 2024-05-06 10:26:57 +02:00
nicolargo
2e72a1e3de Get nack toSnapCraft Core22 because Snap is ... 2024-04-29 11:42:00 +02:00
nicolargo
af6576e448 Upgrade SnapCraft to Core24 2024-04-29 11:26:35 +02:00
nicolargo
cc7eeb2931 Try a simple Snapcraft.yaml file, add version 2024-03-24 14:18:21 +01:00
nicolargo
7ad9066f22 Try a simple Snapcraft.yaml file 2024-03-24 14:08:04 +01:00
nicolargo
9ed81b438d Another try for the fucking Snapcraft package 2024-03-23 11:39:21 +01:00
nicolargo
a5249a1893 Update Snapcraft 2024-02-03 09:59:31 +01:00
nicolargo
c28089ae47 First step of the migration 2023-11-26 22:40:36 +01:00
nicolargo
bcf4ce45fc Rename any reference to Bottle in doc and dep file. Ready to refactor the main glances_restful_api.py file. 2023-11-26 10:02:30 +01:00
nicolargo
d0b7e034e8 Get back to Core20 because Snap is PISA again 2023-05-19 10:30:46 +02:00
nicolargo
d42544fb8c Get back to Core20 because Snap is PISA 2023-05-19 10:15:12 +02:00
nicolargo
2ac78a8320 SNAP is PITA 2023-05-19 10:05:01 +02:00
nicolargo
33d767b7de Snap is a pain in the ass 2023-05-19 09:48:31 +02:00
nicolargo
50838c4bd6 Try to migrate SnapCraft Core 20 to 22 (following guide: https://forum.snapcraft.io/t/micro-howto-migrate-from-core20-to-core22/30188) 2023-05-19 09:34:36 +02:00
nicolargo
4a242e718a No module named 'influxdb' on the snap version of glances #1738 2023-05-19 09:02:10 +02:00
nicolargo
f5892af699 Another try for snap - Related to #1801 2022-10-22 12:25:41 +02:00
nicolargo
facb436030 Another try for snap - Related to #1801 2022-10-22 11:53:39 +02:00
Kian-Meng Ang
4046fbb18c Fix typos
Found via `codespell -S ./venv,./glances/outputs,*.svg -L hart,bu,te,statics`
2022-10-03 21:53:24 +08:00
nicolargo
2e3b47eb2e Another unsuccess try for SNAP 2021-04-23 09:58:56 +02:00
nicolargo
2592077eaa Correct launch issue in Snapcraft another try again... 2021-03-13 11:35:12 +01:00
nicolargo
3076e816f6 Correct launch issue in Snapcraft another try... 2021-03-13 11:26:49 +01:00
nicolargo
e6512ff2e8 Correct launch issue in Snapcraft 2021-03-13 11:19:15 +01:00
nicolargo
6a82592664 Add debug message for snap packaging again 2021-03-13 09:42:23 +01:00
nicolargo
6962bc425f One more try for snapcraft 2021-03-13 09:31:57 +01:00
nicolargo
67d050cedc Add debug message for snap packaging 2021-03-13 09:16:09 +01:00
nicolargo
025ee1d77d Resolve SNAP conflict 2021-01-24 21:51:58 +01:00
nicolargo
102a6fb9a4 Force Ubuntu 20.01 for SNAP 2021-01-24 20:59:03 +01:00
nicolargo
8b5b19501b Glances 3.1.4 ready to be released 2020-03-10 21:52:01 +01:00
林博仁(Buo-ren Lin)
6fdf37ef89 snap: Incorporate selective-checkout to ensure a revision for stable channel is always available
Refer-to: Selective-checkout: Check out the tagged release revision if it isn't promoted to the stable channel - doc - snapcraft.io <https://forum.snapcraft.io/t/selective-checkout-check-out-the-tagged-release-revision-if-it-isnt-promoted-to-the-stable-channel/10617>
Refer-to: Releasing your app - Documentation for snaps: Universal Linux packages <https://docs.snapcraft.io/releasing-your-app/6795>
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2019-04-12 01:08:58 +08:00
林博仁(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
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
林博仁(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
林博仁
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
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
林博仁(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