]> xenbits.xensource.com Git - xen-guest-agent.git/log
xen-guest-agent.git
17 months agoci: don't fail the pipeline when a WIP commit does not build
Yann Dirson [Wed, 29 Nov 2023 14:17:30 +0000 (15:17 +0100)]
ci: don't fail the pipeline when a WIP commit does not build

17 months agoci: avoid useless "collapsed" flag on "section_end"
Yann Dirson [Wed, 29 Nov 2023 17:12:01 +0000 (18:12 +0100)]
ci: avoid useless "collapsed" flag on "section_end"

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoci: use a dedicated script to isolate complexity of running commands
Yann Dirson [Wed, 29 Nov 2023 16:04:28 +0000 (17:04 +0100)]
ci: use a dedicated script to isolate complexity of running commands

We're making the build logic more complicated, better have a real
script file to read it in good conditions.

Will also less the log look better, showing build args instead of printf
before the collapsed section.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoMerge branch 'cargo-lock' into 'main'
Yann Dirson [Wed, 29 Nov 2023 11:52:10 +0000 (11:52 +0000)]
Merge branch 'cargo-lock' into 'main'

Cargo.lock: update outdated deps

See merge request xen-project/xen-guest-agent!26

17 months agoCargo.lock: update outdated deps
Yann Dirson [Wed, 29 Nov 2023 11:46:36 +0000 (12:46 +0100)]
Cargo.lock: update outdated deps

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoMerge branch 'ci-everycommit' into 'main'
Yann Dirson [Wed, 29 Nov 2023 11:41:14 +0000 (11:41 +0000)]
Merge branch 'ci-everycommit' into 'main'

ci: in merge requests, build every commit (on Linux only)

See merge request xen-project/xen-guest-agent!25

17 months agoci: let everycommit before_script be also timed and collapsed-by-default
Yann Dirson [Wed, 29 Nov 2023 11:37:18 +0000 (12:37 +0100)]
ci: let everycommit before_script be also timed and collapsed-by-default

Consistency, nitpicking, and playing with my new toy ;)

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoci: in merge requests, build every commit (on Linux only)
Yann Dirson [Wed, 29 Nov 2023 09:43:27 +0000 (10:43 +0100)]
ci: in merge requests, build every commit (on Linux only)

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoMerge branch 'ci-fix-scheduled' into 'main'
Yann Dirson [Tue, 28 Nov 2023 17:21:49 +0000 (17:21 +0000)]
Merge branch 'ci-fix-scheduled' into 'main'

ci: mark packaging jobs as not-scheduled, to fix scheduled jobs

See merge request xen-project/xen-guest-agent!24

17 months agoci: mark packaging jobs as not-scheduled, to fix scheduled jobs
Yann Dirson [Tue, 28 Nov 2023 17:16:17 +0000 (18:16 +0100)]
ci: mark packaging jobs as not-scheduled, to fix scheduled jobs

Without it, scheduled jobs want to run those jobs, but cannot since their
dependencies are exluded as not-scheduled.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoMerge branch 'binary-packaging' into 'main'
Yann Dirson [Mon, 27 Nov 2023 14:42:55 +0000 (14:42 +0000)]
Merge branch 'binary-packaging' into 'main'

Binary packaging

See merge request xen-project/xen-guest-agent!15

17 months agoci: get version for RPM package from Cargo.toml
Yann Dirson [Tue, 14 Nov 2023 17:19:49 +0000 (18:19 +0100)]
ci: get version for RPM package from Cargo.toml

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoci: build RPM packages
Yann Dirson [Tue, 14 Nov 2023 16:52:51 +0000 (17:52 +0100)]
ci: build RPM packages

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoci: get version for DEB package from Cargo.toml
Yann Dirson [Tue, 14 Nov 2023 15:34:33 +0000 (16:34 +0100)]
ci: get version for DEB package from Cargo.toml

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoci: build DEB packages
Yann Dirson [Tue, 14 Nov 2023 14:59:00 +0000 (15:59 +0100)]
ci: build DEB packages

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoInitial DEB packaging using prebuilt binaries
Yann Dirson [Mon, 13 Nov 2023 17:10:16 +0000 (18:10 +0100)]
Initial DEB packaging using prebuilt binaries

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoInitial RPM packaging using prebuilt binaries
Yann Dirson [Mon, 6 Nov 2023 14:01:32 +0000 (15:01 +0100)]
Initial RPM packaging using prebuilt binaries

This leaves a FIXME note to update later when the article gets
published, but nothing to block this branch.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoMerge branch 'cli-logging' into 'main'
Yann Dirson [Mon, 20 Nov 2023 17:46:18 +0000 (17:46 +0000)]
Merge branch 'cli-logging' into 'main'

Control logging from command line

Closes #11

See merge request xen-project/xen-guest-agent!22

17 months agocli: add --loglevel control (fixes: #11)
Yann Dirson [Mon, 20 Nov 2023 16:57:51 +0000 (17:57 +0100)]
cli: add --loglevel control (fixes: #11)

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agocli: add --stderr flag to help debugging (part of #11)
Yann Dirson [Mon, 20 Nov 2023 15:54:11 +0000 (16:54 +0100)]
cli: add --stderr flag to help debugging (part of #11)

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoenv_logger: set default log level to "info", consistently with syslog
Yann Dirson [Mon, 20 Nov 2023 16:57:24 +0000 (17:57 +0100)]
env_logger: set default log level to "info", consistently with syslog

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoImprove description of release process
Yann Dirson [Tue, 14 Nov 2023 17:28:12 +0000 (18:28 +0100)]
Improve description of release process

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoMerge branch 'cargo-lock' into 'main'
Yann Dirson [Thu, 16 Nov 2023 16:46:22 +0000 (16:46 +0000)]
Merge branch 'cargo-lock' into 'main'

Cargo.lock update

See merge request xen-project/xen-guest-agent!21

17 months agoCargo.lock: update outdated deps
Yann Dirson [Thu, 16 Nov 2023 16:40:19 +0000 (17:40 +0100)]
Cargo.lock: update outdated deps

Includes rolling back from yanked version of "cc" crate.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoCargo.lock: sync crate version
Yann Dirson [Thu, 16 Nov 2023 16:39:27 +0000 (17:39 +0100)]
Cargo.lock: sync crate version

5978771c72d02c109e304108a9df2828dd69a18f should have included this.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoMerge branch 'ci-freebsd' into 'main'
Yann Dirson [Thu, 16 Nov 2023 16:34:47 +0000 (16:34 +0000)]
Merge branch 'ci-freebsd' into 'main'

Cross-build support for FreeBSD binaries through Docker

See merge request xen-project/xen-guest-agent!18

17 months agoci: cross-build FreeBSD 12 binary
Yann Dirson [Wed, 15 Nov 2023 16:14:00 +0000 (17:14 +0100)]
ci: cross-build FreeBSD 12 binary

This uses cross-rs container image as a base, for its
already-functional toolchain.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoci: use our script to fetch freebsd packages
Yann Dirson [Mon, 13 Nov 2023 11:22:17 +0000 (12:22 +0100)]
ci: use our script to fetch freebsd packages

Apparently much more reliable.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoCross-build support for FreeBSD binaries through Docker
Yann Dirson [Wed, 8 Nov 2023 15:51:47 +0000 (16:51 +0100)]
Cross-build support for FreeBSD binaries through Docker

This requires a bleeding-edge cross-rs and a few workarounds.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoMerge branch 'ci' into 'main'
Yann Dirson [Tue, 14 Nov 2023 14:47:54 +0000 (14:47 +0000)]
Merge branch 'ci' into 'main'

CI improvements and release artifacts

See merge request xen-project/xen-guest-agent!20

17 months agoci: add a job for release build
Yann Dirson [Tue, 14 Nov 2023 14:32:30 +0000 (15:32 +0100)]
ci: add a job for release build

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoci: add flags variable, be more verbose
Yann Dirson [Tue, 14 Nov 2023 10:06:06 +0000 (11:06 +0100)]
ci: add flags variable, be more verbose

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoci: build on a Debian 10 image
Yann Dirson [Tue, 14 Nov 2023 10:03:31 +0000 (11:03 +0100)]
ci: build on a Debian 10 image

This is the oldest supported Debian release, we'll use it to generate
binaries with widest compatibility.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoFix dev version
Yann Dirson [Tue, 14 Nov 2023 09:53:18 +0000 (10:53 +0100)]
Fix dev version

"0.2.0-dev" sorts before "0.2.0" in SemVer.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoDocument release process
Yann Dirson [Fri, 3 Nov 2023 14:36:41 +0000 (15:36 +0100)]
Document release process

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoInclude a copy of the AGPL license.
Yann Dirson [Mon, 13 Nov 2023 17:10:41 +0000 (18:10 +0100)]
Include a copy of the AGPL license.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
17 months agoMerge branch 'cargo-lock' into 'main'
Yann Dirson [Mon, 13 Nov 2023 15:59:09 +0000 (15:59 +0000)]
Merge branch 'cargo-lock' into 'main'

Cargo.lock: update outdated deps

See merge request xen-project/xen-guest-agent!19

17 months agoCargo.lock: update outdated deps
Yann Dirson [Mon, 13 Nov 2023 15:55:58 +0000 (16:55 +0100)]
Cargo.lock: update outdated deps

18 months agoMerge branch 'xenstore-0.5' into 'main'
Yann Dirson [Wed, 8 Nov 2023 08:59:22 +0000 (08:59 +0000)]
Merge branch 'xenstore-0.5' into 'main'

Cargo.toml: allow xenstore-rs 0.5

See merge request xen-project/xen-guest-agent!17

18 months agoCargo.toml: allow xenstore-rs 0.5
Yann Dirson [Wed, 8 Nov 2023 08:38:42 +0000 (09:38 +0100)]
Cargo.toml: allow xenstore-rs 0.5

Retain compatibility with 0.4, but deactivate all features, since we are
not making any use of async_watch.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge branch 'cargo-lock' into 'main'
Yann Dirson [Wed, 8 Nov 2023 08:47:58 +0000 (08:47 +0000)]
Merge branch 'cargo-lock' into 'main'

Cargo.lock: update outdated deps

See merge request xen-project/xen-guest-agent!16

18 months agoCargo.lock: update outdated deps
Yann Dirson [Tue, 7 Nov 2023 17:31:17 +0000 (18:31 +0100)]
Cargo.lock: update outdated deps

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge branch 'fix-formatting-errors' into 'main'
Yann Dirson [Thu, 2 Nov 2023 16:06:19 +0000 (16:06 +0000)]
Merge branch 'fix-formatting-errors' into 'main'

Fix error messages not getting formatted

See merge request xen-project/xen-guest-agent!13

18 months agoFix error messages not getting formatted
Yann Dirson [Thu, 2 Nov 2023 15:04:31 +0000 (16:04 +0100)]
Fix error messages not getting formatted

Errors that never happened, bugs that did not get caught, including
messages that did not get updated accross refactorings, and types not
implementing std::fmt::Debug.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge branch 'freebsd-memory' into 'main'
Yann Dirson [Thu, 2 Nov 2023 09:34:28 +0000 (09:34 +0000)]
Merge branch 'freebsd-memory' into 'main'

Add a custom memory collector for FreeBSD (#7)

Closes #7

See merge request xen-project/xen-guest-agent!12

18 months agoAdd a custom memory collector for FreeBSD (fixes: #7)
Yann Dirson [Thu, 26 Oct 2023 13:54:57 +0000 (15:54 +0200)]
Add a custom memory collector for FreeBSD (fixes: #7)

This collects metrics through sysctl, and compute available memory as
the FreeBSD port of xe-guest-utilities (shell-based) 6.0.2 did.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoPropagate errors from get_available_kb()
Yann Dirson [Tue, 31 Oct 2023 17:17:13 +0000 (18:17 +0100)]
Propagate errors from get_available_kb()

It took me some time to identify a proper syntax to propagate the
error from a match branch, now we can be more specific about what we
ignore.  Now log a warning once in the "Unsupported" case (when
fetching the total memory), and let other memory-collector errors
cause a fatal error.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoREADME: small update of 'current state' section
Yann Dirson [Thu, 2 Nov 2023 09:22:47 +0000 (10:22 +0100)]
README: small update of 'current state' section

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge branch 'xenstore-0.4' into 'main'
Yann Dirson [Tue, 31 Oct 2023 10:05:35 +0000 (10:05 +0000)]
Merge branch 'xenstore-0.4' into 'main'

Switch to new xenstore-rs 0.4, update outdated deps

See merge request xen-project/xen-guest-agent!11

18 months agoSwitch to new xenstore-rs 0.4
Yann Dirson [Tue, 31 Oct 2023 10:02:02 +0000 (11:02 +0100)]
Switch to new xenstore-rs 0.4

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoCargo.lock: update outdated deps
Yann Dirson [Tue, 31 Oct 2023 09:59:57 +0000 (10:59 +0100)]
Cargo.lock: update outdated deps

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge branch 'unpin-xenstore-sys' into 'main'
Yann Dirson [Thu, 26 Oct 2023 09:29:51 +0000 (09:29 +0000)]
Merge branch 'unpin-xenstore-sys' into 'main'

Unpin xenstore-sys and update deps

See merge request xen-project/xen-guest-agent!10

18 months agoUnpin xenstore-sys to allow latest 0.1.4
Yann Dirson [Thu, 26 Oct 2023 09:14:55 +0000 (11:14 +0200)]
Unpin xenstore-sys to allow latest 0.1.4

0.1.4 relaxes the build-dep on buildgen for compatibility with latest
versions.

Reverts fe26b6de06d5e9ffa0566658b1f64bccdc0515fe.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoCargo.lock: update outdated deps
Yann Dirson [Thu, 26 Oct 2023 09:13:36 +0000 (11:13 +0200)]
Cargo.lock: update outdated deps

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge branch 'logging' into 'main'
Yann Dirson [Wed, 25 Oct 2023 16:05:48 +0000 (16:05 +0000)]
Merge branch 'logging' into 'main'

Proper logging using syslog on unix (closes:#4)

See merge request xen-project/xen-guest-agent!9

18 months agoSend logs to syslog on unix, else to stdout (closes:#4)
Yann Dirson [Wed, 25 Oct 2023 13:57:46 +0000 (15:57 +0200)]
Send logs to syslog on unix, else to stdout (closes:#4)

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoBump to xenstore-rs 0.3.4 to avoid buggy 0.3.3
Yann Dirson [Wed, 25 Oct 2023 15:03:36 +0000 (17:03 +0200)]
Bump to xenstore-rs 0.3.4 to avoid buggy 0.3.3

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoUse log crate instead of println for user feedback
Yann Dirson [Wed, 25 Oct 2023 12:57:06 +0000 (14:57 +0200)]
Use log crate instead of println for user feedback

18 months agoMerge branch 'pin-xenstore-sys' into 'main'
Yann Dirson [Wed, 25 Oct 2023 13:19:02 +0000 (13:19 +0000)]
Merge branch 'pin-xenstore-sys' into 'main'

Explicit pinning of xenstore-sys

See merge request xen-project/xen-guest-agent!8

18 months agoCargo.lock: update outdated deps
Yann Dirson [Wed, 25 Oct 2023 12:38:06 +0000 (14:38 +0200)]
Cargo.lock: update outdated deps

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoExplicit pinning of xenstore-sys
Yann Dirson [Wed, 25 Oct 2023 12:27:24 +0000 (14:27 +0200)]
Explicit pinning of xenstore-sys

Explicit reference to xenstore-sys, to allow to run `cargo update`
without bringing back older version of bindgen and its vulnerable
dependencies.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge branch 'xenstore-0.3.3' into 'main'
Yann Dirson [Wed, 25 Oct 2023 12:32:44 +0000 (12:32 +0000)]
Merge branch 'xenstore-0.3.3' into 'main'

Switch to xenstore-rs official release (fixes #6)

Closes #6

See merge request xen-project/xen-guest-agent!7

18 months agoSwitch to xenstore-rs official release (fixes #6)
Yann Dirson [Wed, 25 Oct 2023 11:59:33 +0000 (13:59 +0200)]
Switch to xenstore-rs official release (fixes #6)

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge branch 'cargo-lock' into 'main'
Yann Dirson [Mon, 23 Oct 2023 15:29:54 +0000 (15:29 +0000)]
Merge branch 'cargo-lock' into 'main'

update outdated deps

See merge request xen-project/xen-guest-agent!6

18 months agoCargo.lock: update outdated deps
Yann Dirson [Thu, 19 Oct 2023 07:30:39 +0000 (09:30 +0200)]
Cargo.lock: update outdated deps

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoBump version to 0.2.0-dev after release
Yann Dirson [Mon, 23 Oct 2023 08:58:01 +0000 (10:58 +0200)]
Bump version to 0.2.0-dev after release

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge pull request #6 from ydirson/dependabot/cargo/rustix-0.38.19
Yann Dirson [Thu, 19 Oct 2023 07:27:16 +0000 (09:27 +0200)]
Merge pull request #6 from ydirson/dependabot/cargo/rustix-0.38.19

build(deps): bump rustix from 0.38.14 to 0.38.19

18 months agobuild(deps): bump rustix from 0.38.14 to 0.38.19
dependabot[bot] [Wed, 18 Oct 2023 18:43:28 +0000 (18:43 +0000)]
build(deps): bump rustix from 0.38.14 to 0.38.19

Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.14 to 0.38.19.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.14...v0.38.19)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
18 months agoPrepare for 0.2.0 0.2.0
Yann Dirson [Wed, 11 Oct 2023 15:11:37 +0000 (17:11 +0200)]
Prepare for 0.2.0

18 months agoxenstore_std: show more details about unparsed os version
Yann Dirson [Wed, 11 Oct 2023 15:09:22 +0000 (17:09 +0200)]
xenstore_std: show more details about unparsed os version

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge branch 'use-crate-version' into 'main'
Olivier Lambert [Wed, 11 Oct 2023 14:50:25 +0000 (14:50 +0000)]
Merge branch 'use-crate-version' into 'main'

xenstore schemas: use crate version from Cargo.toml

See merge request xen-project/xen-guest-agent!5

18 months agoxenstore schemas: use crate version from Cargo.toml
Yann Dirson [Wed, 11 Oct 2023 12:30:22 +0000 (14:30 +0200)]
xenstore schemas: use crate version from Cargo.toml

* "std" schema will now advertise as "1.0.0-proto-0.1.0"
* "rfc" schema just spares a duplication of the version string

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge branch 'cargo-lock' into 'main'
Yann Dirson [Wed, 11 Oct 2023 09:47:39 +0000 (09:47 +0000)]
Merge branch 'cargo-lock' into 'main'

Cargo.lock: update outdated deps

See merge request xen-project/xen-guest-agent!4

18 months agoCargo.lock: update outdated deps
Yann Dirson [Wed, 11 Oct 2023 09:17:59 +0000 (11:17 +0200)]
Cargo.lock: update outdated deps

This is not a `cargo update`, as this would rollback `bindgen`
as `xenstore-sys` still has to provide a better requirement, but
is enough for `cargo outdated` to be happy.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agodoc/structure.md: reword title
Yann Dirson [Wed, 11 Oct 2023 09:16:28 +0000 (11:16 +0200)]
doc/structure.md: reword title

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge branch 'ci' into 'main'
Olivier Lambert [Tue, 10 Oct 2023 08:44:14 +0000 (08:44 +0000)]
Merge branch 'ci' into 'main'

ci: prevent duplicate gitlab pipelines

See merge request xen-project/xen-guest-agent!3

18 months agoci: prevent duplicate gitlab pipelines
Yann Dirson [Tue, 10 Oct 2023 08:03:01 +0000 (10:03 +0200)]
ci: prevent duplicate gitlab pipelines

Up till now, the "schedule" conditional would run jobs twice for PR
branches.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
18 months agoMerge branch 'ydi/rust-proto' into 'main'
Olivier Lambert [Tue, 10 Oct 2023 07:55:27 +0000 (07:55 +0000)]
Merge branch 'ydi/rust-proto' into 'main'

Rust prototype

See merge request xen-project/xen-guest-agent!2

18 months agoci: use test matrix
Yann Dirson [Tue, 10 Oct 2023 07:45:18 +0000 (09:45 +0200)]
ci: use test matrix

18 months agoCargo.lock: update tokio crate following dependabot alert
Yann Dirson [Tue, 10 Oct 2023 07:05:39 +0000 (09:05 +0200)]
Cargo.lock: update tokio crate following dependabot alert

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
19 months agoCargo.lock: update libc crate following dependabot alert
Yann Dirson [Mon, 9 Oct 2023 08:42:20 +0000 (10:42 +0200)]
Cargo.lock: update libc crate following dependabot alert

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
19 months agoCargo.toml: declare license
Yann Dirson [Mon, 9 Oct 2023 08:40:30 +0000 (10:40 +0200)]
Cargo.toml: declare license

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
19 months agobuild: resync Cargo.lock
Yann Dirson [Mon, 25 Sep 2023 08:39:40 +0000 (10:39 +0200)]
build: resync Cargo.lock

19 months agobuild: switch to xenstore-rs master branch.
Yann Dirson [Mon, 25 Sep 2023 08:35:57 +0000 (10:35 +0200)]
build: switch to xenstore-rs master branch.

Required patches was merged.

19 months agoxenstore std schema: warn when os_info cannot extract major/minor from version
Yann Dirson [Fri, 15 Sep 2023 13:26:08 +0000 (15:26 +0200)]
xenstore std schema: warn when os_info cannot extract major/minor from version

19 months agoMinor changes suggested by clippy
Yann Dirson [Fri, 15 Sep 2023 13:18:55 +0000 (15:18 +0200)]
Minor changes suggested by clippy

19 months agoUpdate Cargo.lock with latest xenstore-rs
Yann Dirson [Fri, 15 Sep 2023 09:31:03 +0000 (11:31 +0200)]
Update Cargo.lock with latest xenstore-rs

Should get rid of issues reported by Dependabot

19 months agoMerge pull request #2 from ydirson/e12cdependabot/github_actions/actions/checkout-4
Yann Dirson [Thu, 14 Sep 2023 08:02:18 +0000 (10:02 +0200)]
Merge pull request #2 from ydirson/e12cdependabot/github_actions/actions/checkout-4

build(deps): bump actions/checkout from 2 to 4

19 months agoMerge pull request #3 from ydirson/5291dependabot/github_actions/github/codeql-action-2
Yann Dirson [Thu, 14 Sep 2023 08:01:38 +0000 (10:01 +0200)]
Merge pull request #3 from ydirson/5291dependabot/github_actions/github/codeql-action-2

build(deps): bump github/codeql-action from 1 to 2

19 months agobuild(deps): bump github/codeql-action from 1 to 2
dependabot[bot] [Thu, 14 Sep 2023 07:47:18 +0000 (07:47 +0000)]
build(deps): bump github/codeql-action from 1 to 2

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
19 months agobuild(deps): bump actions/checkout from 2 to 4
dependabot[bot] [Thu, 14 Sep 2023 07:47:10 +0000 (07:47 +0000)]
build(deps): bump actions/checkout from 2 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
19 months agogithub: add dependabot check for github-actions
Yann Dirson [Thu, 14 Sep 2023 07:44:46 +0000 (09:44 +0200)]
github: add dependabot check for github-actions

The workflow for running clippy proposed by GH themselves shows a
deprecation already, let's check how things go.

19 months agoCreate rust-clippy.yml
Yann Dirson [Thu, 14 Sep 2023 07:30:46 +0000 (09:30 +0200)]
Create rust-clippy.yml

19 months agoCreate dependabot.yml for github
Yann Dirson [Wed, 13 Sep 2023 15:40:01 +0000 (17:40 +0200)]
Create dependabot.yml for github

19 months agoci: scheduled jobs to check build with latest dependencies
Yann Dirson [Wed, 13 Sep 2023 09:24:20 +0000 (11:24 +0200)]
ci: scheduled jobs to check build with latest dependencies

19 months agobuild: bump netlink crates
Yann Dirson [Tue, 12 Sep 2023 16:38:11 +0000 (18:38 +0200)]
build: bump netlink crates

The https://github.com/rust-netlink/netlink-proto/issues/16 blunder
forces to update all rust-netlink crates past netlink-proto 0.11.1, to
avoid a mix of different netlink-packet-core versions.

19 months agobuild: ship Cargo.lock
Yann Dirson [Wed, 13 Sep 2023 09:14:51 +0000 (11:14 +0200)]
build: ship Cargo.lock

This file holds tested versions of dependencies.  Notably, a breaking
change without proper version bump in a netlink crate shows the limits
of not shipping locked dependencies.

See https://github.com/rust-netlink/netlink-proto/issues/16

19 months agoImplement VIF detection for FreeBSD
Yann Dirson [Wed, 15 Mar 2023 12:21:49 +0000 (13:21 +0100)]
Implement VIF detection for FreeBSD

19 months agoREADME: update to match recent developments
Yann Dirson [Tue, 12 Sep 2023 16:07:39 +0000 (18:07 +0200)]
README: update to match recent developments

19 months agoDeclare a non-gueswork MSRV, from "cargo msrv".
Yann Dirson [Tue, 12 Sep 2023 15:44:44 +0000 (17:44 +0200)]
Declare a non-gueswork MSRV, from "cargo msrv".