chiark / gitweb /
hippotat.git
14 months agodebian/update-build-deps: Handle build-dependencies too
Ian Jackson [Sun, 25 Feb 2024 01:01:58 +0000 (01:01 +0000)]
debian/update-build-deps: Handle build-dependencies too

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMerge branch 'update' into 'main'
Ian Jackson [Sat, 24 Feb 2024 23:50:52 +0000 (23:50 +0000)]
Merge branch 'update' into 'main'

Dependencies: cargo update

See merge request iwj/hippotat!32

14 months agoMerge branch 'clean2' into 'main'
Ian Jackson [Sat, 24 Feb 2024 23:43:44 +0000 (23:43 +0000)]
Merge branch 'clean2' into 'main'

Makefile: Improve upstream clean target

See merge request iwj/hippotat!31

14 months agoDependencies: cargo update
Ian Jackson [Sat, 24 Feb 2024 23:32:32 +0000 (23:32 +0000)]
Dependencies: cargo update

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMakefile: clean target Remove tmp/
Ian Jackson [Sat, 24 Feb 2024 23:23:43 +0000 (23:23 +0000)]
Makefile: clean target Remove tmp/

This is generated by tests, which the package build skips.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMakefile: clean target Move various rm's from debian/rules
Ian Jackson [Sat, 24 Feb 2024 23:23:08 +0000 (23:23 +0000)]
Makefile: clean target Move various rm's from debian/rules

These are applicable to upstream too.

And run very-clean rather than open-coding rm target.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMerge branch 'clean' into 'main'
Ian Jackson [Sat, 24 Feb 2024 19:12:50 +0000 (19:12 +0000)]
Merge branch 'clean' into 'main'

Fix package clean target

See merge request iwj/hippotat!30

14 months agoFix package clean target
Peter Green [Sat, 24 Feb 2024 11:42:33 +0000 (11:42 +0000)]
Fix package clean target

The package's clean target was not functional.  Add manual
cleanup.

Closes: #1064524
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMerge branch 'release' into 'main'
Ian Jackson [Fri, 23 Feb 2024 17:53:19 +0000 (17:53 +0000)]
Merge branch 'release' into 'main'

Update version to 1.1.10

See merge request iwj/hippotat!28

14 months agoUpdate version to 1.1.10
Ian Jackson [Fri, 23 Feb 2024 16:45:34 +0000 (16:45 +0000)]
Update version to 1.1.10

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agochangelog: Document changes since 1.1.9
Ian Jackson [Fri, 23 Feb 2024 16:44:32 +0000 (16:44 +0000)]
changelog: Document changes since 1.1.9

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMakefile: Add a clean to the release checklist
Ian Jackson [Fri, 23 Feb 2024 16:40:42 +0000 (16:40 +0000)]
Makefile: Add a clean to the release checklist

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMerge branch 'minimal' into 'main'
Ian Jackson [Fri, 23 Feb 2024 17:39:39 +0000 (17:39 +0000)]
Merge branch 'minimal' into 'main'

Reduce many versions in minimal lockfile

See merge request iwj/hippotat!29

14 months agoReduce many versions in minimal lockfile
Ian Jackson [Fri, 23 Feb 2024 17:21:29 +0000 (17:21 +0000)]
Reduce many versions in minimal lockfile

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMerge branch 'nix' into 'main'
Ian Jackson [Fri, 23 Feb 2024 16:49:20 +0000 (16:49 +0000)]
Merge branch 'nix' into 'main'

Allow building with nix 0.27

See merge request iwj/hippotat!26

14 months agoMerge branch 'rename' into 'main'
Ian Jackson [Fri, 23 Feb 2024 16:46:43 +0000 (16:46 +0000)]
Merge branch 'rename' into 'main'

Rename a maintenance script

See merge request iwj/hippotat!27

14 months agonix: Update to 0.27 in Cargo.lock
Ian Jackson [Fri, 23 Feb 2024 11:40:52 +0000 (11:40 +0000)]
nix: Update to 0.27 in Cargo.lock

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agonix: Allow update to 0.27 in Cargo.toml
Ian Jackson [Fri, 23 Feb 2024 15:09:35 +0000 (15:09 +0000)]
nix: Allow update to 0.27 in Cargo.toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agonix: Gross hack to enable compat with 0.26 *and* 0.27
Ian Jackson [Fri, 23 Feb 2024 15:08:54 +0000 (15:08 +0000)]
nix: Gross hack to enable compat with 0.26 *and* 0.27

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agonix: Explicitly enable the features we need
Ian Jackson [Fri, 23 Feb 2024 11:31:56 +0000 (11:31 +0000)]
nix: Explicitly enable the features we need

Prep for 0.27.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoDeclare MSRV of 1.63
Ian Jackson [Fri, 23 Feb 2024 11:26:37 +0000 (11:26 +0000)]
Declare MSRV of 1.63

That's what's in Debian bookworm.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoRename a maintenance script
Ian Jackson [Fri, 23 Feb 2024 16:31:32 +0000 (16:31 +0000)]
Rename a maintenance script

This is better in maint/ (which exists now).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMerge branch 'upgrades' into 'main'
Ian Jackson [Fri, 23 Feb 2024 16:14:24 +0000 (16:14 +0000)]
Merge branch 'upgrades' into 'main'

Relax/update dependencies

See merge request iwj/hippotat!25

14 months agoFix/relax itertools dependency in macros
Ian Jackson [Fri, 23 Feb 2024 15:50:48 +0000 (15:50 +0000)]
Fix/relax itertools dependency in macros

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMerge branch 'misc' into 'main'
Ian Jackson [Fri, 23 Feb 2024 15:55:27 +0000 (15:55 +0000)]
Merge branch 'misc' into 'main'

Misc prep work

See merge request iwj/hippotat!22

14 months agoRelax env-logger dependency
Ian Jackson [Fri, 23 Feb 2024 15:49:44 +0000 (15:49 +0000)]
Relax env-logger dependency

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoRelax lazy-regex dependency
Ian Jackson [Fri, 23 Feb 2024 15:47:39 +0000 (15:47 +0000)]
Relax lazy-regex dependency

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoRelax itertools dependency
Ian Jackson [Fri, 23 Feb 2024 15:46:44 +0000 (15:46 +0000)]
Relax itertools dependency

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoRelax educe dependency
Ian Jackson [Fri, 23 Feb 2024 15:45:55 +0000 (15:45 +0000)]
Relax educe dependency

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoCargo update
Ian Jackson [Fri, 23 Feb 2024 11:20:02 +0000 (11:20 +0000)]
Cargo update

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoSuppress a warning.
Ian Jackson [Fri, 23 Feb 2024 11:17:29 +0000 (11:17 +0000)]
Suppress a warning.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMerge branch 'minimal' into 'main'
Ian Jackson [Fri, 23 Feb 2024 15:40:17 +0000 (15:40 +0000)]
Merge branch 'minimal' into 'main'

Fix minimal-versions tests (2)

See merge request iwj/hippotat!23

14 months agoMerge branch 'minimal-1' into 'main'
Ian Jackson [Fri, 23 Feb 2024 15:39:26 +0000 (15:39 +0000)]
Merge branch 'minimal-1' into 'main'

Fix minimal-versions tests (1)

See merge request iwj/hippotat!24

14 months agoMinimal versions test: Make into two tests
Ian Jackson [Fri, 23 Feb 2024 15:23:33 +0000 (15:23 +0000)]
Minimal versions test: Make into two tests

This also tests our MSRV, via the "bookworm" image.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMinimal versions test: Break out update-minimal-versions
Ian Jackson [Fri, 23 Feb 2024 15:08:00 +0000 (15:08 +0000)]
Minimal versions test: Break out update-minimal-versions

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoMinimal versions test: force hyper downgrade
Ian Jackson [Fri, 23 Feb 2024 12:32:06 +0000 (12:32 +0000)]
Minimal versions test: force hyper downgrade

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
14 months agoDependencies: Demand lazy-regex 2.4
Ian Jackson [Fri, 23 Feb 2024 12:29:30 +0000 (12:29 +0000)]
Dependencies: Demand lazy-regex 2.4

lazy-regexp-proc_macros 2.2 seems to have some kind of panic bug.
bookworm has librust-lazy-regex-dev 2.4.1-2 so that'll be fine I
think.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'release' into 'main'
Ian Jackson [Fri, 16 Jun 2023 11:53:22 +0000 (11:53 +0000)]
Merge branch 'release' into 'main'

Prepare 1.1.9

See merge request iwj/hippotat!21

22 months agochangelog: Document 1.1.9 including its changes
Ian Jackson [Fri, 16 Jun 2023 11:21:27 +0000 (12:21 +0100)]
changelog: Document 1.1.9 including its changes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoBump crate versions to 1.1.9
Ian Jackson [Fri, 16 Jun 2023 11:22:11 +0000 (12:22 +0100)]
Bump crate versions to 1.1.9

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'update' into 'main'
Ian Jackson [Fri, 16 Jun 2023 11:36:47 +0000 (11:36 +0000)]
Merge branch 'update' into 'main'

cargo update

See merge request iwj/hippotat!20

22 months agoMerge branch 'base64' into 'main'
Ian Jackson [Fri, 16 Jun 2023 11:14:22 +0000 (11:14 +0000)]
Merge branch 'base64' into 'main'

base64: Tolerate lack of padding when decoding

See merge request iwj/hippotat!19

22 months agocargo update
Ian Jackson [Fri, 16 Jun 2023 11:04:04 +0000 (12:04 +0100)]
cargo update

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agobase64: Tolerate lack of padding when decoding
Ian Jackson [Fri, 16 Jun 2023 10:58:08 +0000 (11:58 +0100)]
base64: Tolerate lack of padding when decoding

This restores the behaviour of hippotat 1.1.7.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'reldoc' into 'main'
Ian Jackson [Fri, 16 Jun 2023 00:06:42 +0000 (00:06 +0000)]
Merge branch 'reldoc' into 'main'

Makefile: update release checklist for experience with 1.1.8

See merge request iwj/hippotat!18

22 months agoMakefile: update release checklist for experience with 1.1.8
Ian Jackson [Thu, 15 Jun 2023 23:54:12 +0000 (00:54 +0100)]
Makefile: update release checklist for experience with 1.1.8

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'changelog' into 'main'
Ian Jackson [Thu, 15 Jun 2023 23:47:01 +0000 (23:47 +0000)]
Merge branch 'changelog' into 'main'

changelog: Finalise 1.1.8

See merge request iwj/hippotat!17

22 months agochangelog: Finalise 1.1.8
Ian Jackson [Thu, 15 Jun 2023 23:34:27 +0000 (00:34 +0100)]
changelog: Finalise 1.1.8

Actually

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'changelog' into 'main'
Ian Jackson [Thu, 15 Jun 2023 23:23:10 +0000 (23:23 +0000)]
Merge branch 'changelog' into 'main'

Bump versions for 1.1.8 release

See merge request iwj/hippotat!16

22 months agoChangelog: Document changes and finalise 1.1.8
Ian Jackson [Thu, 15 Jun 2023 19:40:54 +0000 (20:40 +0100)]
Changelog: Document changes and finalise 1.1.8

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoCargo.toml: Bump versions to 1.1.8
Ian Jackson [Thu, 15 Jun 2023 19:52:17 +0000 (20:52 +0100)]
Cargo.toml: Bump versions to 1.1.8

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMakefile: release checklist: document MR workflow
Ian Jackson [Thu, 15 Jun 2023 21:11:21 +0000 (22:11 +0100)]
Makefile: release checklist: document MR workflow

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'clap4' into 'main'
Ian Jackson [Thu, 15 Jun 2023 20:28:32 +0000 (20:28 +0000)]
Merge branch 'clap4' into 'main'

Update to clap 4

See merge request iwj/hippotat!15

22 months agoCargo.toml: Remove a now-obsolete comment
Ian Jackson [Thu, 15 Jun 2023 19:30:52 +0000 (20:30 +0100)]
Cargo.toml: Remove a now-obsolete comment

The versions are now tested and reasonably accurate.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoclap: Update to clap 4
Ian Jackson [Wed, 11 Jan 2023 15:00:56 +0000 (15:00 +0000)]
clap: Update to clap 4

Now that everything is working nicely, we can upgrade.

 * Change Cargo.toml to specify 4, not 3.  Enable the `wrap_help`
   feature as per the migration guide.  (Apart from that, we could
   specify ">=3, <5".)

 * Update debian/update-build-deps to remove the special case
   to avoid picking up clap 4, and run it to update the build-dep.

 * Consequential changes to Cargo.lock.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoclap: Rename hippotat crate's Opts type to CommonOpts
Ian Jackson [Thu, 15 Jun 2023 19:15:36 +0000 (20:15 +0100)]
clap: Rename hippotat crate's Opts type to CommonOpts

clap 4 seems to index these by bare type name (!)
and panics if they aren't unique (!!)

    running 1 test
    test verify_cli ... FAILED

    failures:

    ---- verify_cli stdout ----
    thread 'verify_cli' panicked at 'Command hippotat: Argument group name must be unique

    'Opts' is already in use', /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.3.4/src/builder/debug_asserts.rs:278:9
    stack backtrace:
       0: rust_begin_unwind
 at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/std/src/panicking.rs:578:5
       1: core::panicking::panic_fmt
 at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/panicking.rs:67:14
       2: clap_builder::builder::debug_asserts::assert_app
 at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.3.4/src/builder/debug_asserts.rs:278:9
       3: clap_builder::builder::command::Command::_build_self
 at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.3.4/src/builder/command.rs:3945:13
       4: clap_builder::builder::command::Command::_build_recursive
 at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.3.4/src/builder/command.rs:3843:9
       5: clap_builder::builder::command::Command::build
 at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.3.4/src/builder/command.rs:3838:9
       6: clap_builder::builder::command::Command::debug_assert
 at /home/rustcargo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.3.4/src/builder/command.rs:489:9
       7: hippotat::utils::verify_cli
 at ./src/utils.rs:236:3
       8: hippotat::verify_cli
 at ./client/client.rs:383:3
       9: hippotat::verify_cli::{{closure}}
 at ./client/client.rs:382:17
      10: core::ops::function::FnOnce::call_once
 at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/ops/function.rs:250:5
      11: core::ops::function::FnOnce::call_once
 at /rustc/071f14baae931e17a5a99366bf216e76384cc4f6/library/core/src/ops/function.rs:250:5
    note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

    failures:
verify_cli

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoclap: Use ArgAction::Append
Ian Jackson [Thu, 15 Jun 2023 19:09:15 +0000 (20:09 +0100)]
clap: Use ArgAction::Append

Gets rid of this 3 to 4 deprecation warning.

The warning's suggestion to use "multiple_occurrences" seems wrong
since that is also deprecated ?!  It links to Arg::action, and
emprically this construction DTRT.

    warning: use of deprecated method `clap::Arg::<'help>::multiple`: Split into `Arg::multiple_occurrences` (most likely what you want)  and `Arg::multiple_values`
      --> src/config.rs:89:16
       |
    89 |   #[clap(long, multiple=true, number_of_values=1)]
       |                ^^^^^^^^
       |
       = note: `#[warn(deprecated)]` on by default

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoclap: Use Command, not App
Ian Jackson [Thu, 15 Jun 2023 19:03:41 +0000 (20:03 +0100)]
clap: Use Command, not App

    warning: use of deprecated struct `clap::App`: Replaced with `Command`
       --> src/utils.rs:235:18
|
    235 |   let app: clap::App = F::command();
|                  ^^^
|
= note: `#[warn(deprecated)]` on by default

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoclap: use value_parser
Ian Jackson [Thu, 15 Jun 2023 19:02:30 +0000 (20:02 +0100)]
clap: use value_parser

Removes a deprecation warning (this is recommended by the clap 3 to 4
migration guide).

    warning: use of deprecated function `<reporter::LogOpts as clap::Args>::augment_args::parse_try_from_str`: Replaced with `#[clap(value_parser = ...)]`
      --> src/reporter.rs:22:35
       |
    22 |   #[clap(long, parse(try_from_str=parse_syslog_facility))]
       |                                   ^^^^^^^^^^^^^^^^^^^^^
       |
       = note: `#[warn(deprecated)]` on by default

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoclap: Use ArgAction::Count for debug level
Ian Jackson [Thu, 15 Jun 2023 18:41:41 +0000 (19:41 +0100)]
clap: Use ArgAction::Count for debug level

Removes a deprecation warning (this is recommended by the clap 3 to 4
migration guide).

    Checking hippotat v1.1.7 (/volatile/rustcargo/Rustup/Hippotat/hippotat)
warning: use of deprecated function `<reporter::LogOpts as clap::Args>::augment_args::parse_from_occurrences`: Replaced with `#[clap(action = ArgAction::Count)]` with a field type of `u8`
  --> src/reporter.rs:18:33
   |
18 |   #[clap(long, short='D', parse(from_occurrences))]
   |                                 ^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoclap: Factor verify_cli out into utils
Ian Jackson [Thu, 15 Jun 2023 18:53:40 +0000 (19:53 +0100)]
clap: Factor verify_cli out into utils

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoclap: Add verify_cli tests
Ian Jackson [Thu, 15 Jun 2023 18:47:20 +0000 (19:47 +0100)]
clap: Add verify_cli tests

As recommended by clap 3 to 4 migration guide.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'rename' into 'main'
Ian Jackson [Thu, 15 Jun 2023 20:10:58 +0000 (20:10 +0000)]
Merge branch 'rename' into 'main'

CI: rename "test-*" jobs to "package-*"

See merge request iwj/hippotat!14

22 months agoMerge branch 'depver' into 'main'
Ian Jackson [Thu, 15 Jun 2023 19:56:47 +0000 (19:56 +0000)]
Merge branch 'depver' into 'main'

Use versioned dependencies for build deps

See merge request iwj/hippotat!13

22 months agoCI: rename "test-*" jobs to "package-*"
Ian Jackson [Thu, 15 Jun 2023 19:56:07 +0000 (20:56 +0100)]
CI: rename "test-*" jobs to "package-*"

These all use dpkg-buildpackage.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agodebian/update-build-deps: Add versions (actual update)
Ian Jackson [Thu, 15 Jun 2023 19:24:38 +0000 (20:24 +0100)]
debian/update-build-deps: Add versions (actual update)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agodebian/update-build-deps: Add versions
Ian Jackson [Thu, 15 Jun 2023 18:16:45 +0000 (19:16 +0100)]
debian/update-build-deps: Add versions

This ensures that we will migrate only after our actual build-deps do.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agodebian/update-build-deps: Scan macros/ too
Ian Jackson [Thu, 15 Jun 2023 18:11:21 +0000 (19:11 +0100)]
debian/update-build-deps: Scan macros/ too

As it happens, these dependencies were never actually violated since
other of our deps pulled them in.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoCI: maint-checks: Use default Debian image, not Rust one
Ian Jackson [Thu, 15 Jun 2023 18:23:12 +0000 (19:23 +0100)]
CI: maint-checks: Use default Debian image, not Rust one

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agodebian/update-build-deps: Use a real TOML parser
Ian Jackson [Thu, 15 Jun 2023 18:05:38 +0000 (19:05 +0100)]
debian/update-build-deps: Use a real TOML parser

That old code was quite horrible.

No change to the output.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'audit' into 'main'
Ian Jackson [Thu, 15 Jun 2023 18:03:53 +0000 (18:03 +0000)]
Merge branch 'audit' into 'main'

Run cargo-audit

See merge request iwj/hippotat!12

22 months agoCI: run cargo audit
Ian Jackson [Thu, 15 Jun 2023 17:10:54 +0000 (18:10 +0100)]
CI: run cargo audit

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoCopy test/via-cargo-install-in-ci from derive-adhoc.git
Ian Jackson [Thu, 15 Jun 2023 17:07:46 +0000 (18:07 +0100)]
Copy test/via-cargo-install-in-ci from derive-adhoc.git

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'toml' into 'main'
Ian Jackson [Thu, 15 Jun 2023 17:36:12 +0000 (17:36 +0000)]
Merge branch 'toml' into 'main'

Cargo.toml: Remove an obsolete comment

See merge request iwj/hippotat!10

22 months agoMerge branch 'todo' into 'main'
Ian Jackson [Thu, 15 Jun 2023 17:17:17 +0000 (17:17 +0000)]
Merge branch 'todo' into 'main'

CI: Check for blocking todos (three X comments)

See merge request iwj/hippotat!7

22 months agoCargo.toml: Remove an obsolete comment
Ian Jackson [Thu, 15 Jun 2023 11:55:16 +0000 (12:55 +0100)]
Cargo.toml: Remove an obsolete comment

This was written when we were trying to figure out how to get this
thing into Debian and what dependencies were actually needed.

And, it seems to have become detached from whatever it referred to.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'minimal' into 'main'
Ian Jackson [Thu, 15 Jun 2023 17:15:29 +0000 (17:15 +0000)]
Merge branch 'minimal' into 'main'

Bump dependency minimal versions, and test them

See merge request iwj/hippotat!9

22 months agoMerge branch 'update' into 'main'
Ian Jackson [Thu, 15 Jun 2023 17:04:52 +0000 (17:04 +0000)]
Merge branch 'update' into 'main'

cargo update

See merge request iwj/hippotat!8

22 months agoAdd a minimal-versions test
Ian Jackson [Thu, 15 Jun 2023 13:11:53 +0000 (14:11 +0100)]
Add a minimal-versions test

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoCI: maint-checks: Do in "check" stage
Ian Jackson [Thu, 15 Jun 2023 16:29:53 +0000 (17:29 +0100)]
CI: maint-checks: Do in "check" stage

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoCI: Check for blocking todos (three X comments)
Ian Jackson [Thu, 15 Jun 2023 13:13:28 +0000 (14:13 +0100)]
CI: Check for blocking todos (three X comments)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agobump deps: tokio
Ian Jackson [Thu, 15 Jun 2023 16:04:31 +0000 (17:04 +0100)]
bump deps: tokio

We need improvements including write_all_buf on ChildStdin, and
improvements to select!.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agobump deps: hyper
Ian Jackson [Thu, 15 Jun 2023 16:11:36 +0000 (17:11 +0100)]
bump deps: hyper

We need http1_preserve_header_case.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agobump deps: itertools
Ian Jackson [Thu, 15 Jun 2023 16:07:58 +0000 (17:07 +0100)]
bump deps: itertools

We need chain!

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agobump deps: mime
Ian Jackson [Thu, 15 Jun 2023 16:01:26 +0000 (17:01 +0100)]
bump deps: mime

We need FromStrError to be std::error::Error.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agobump deps: backtrace
Ian Jackson [Thu, 15 Jun 2023 15:58:47 +0000 (16:58 +0100)]
bump deps: backtrace

We need the unresolved backtraces feature.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agobump deps: either
Ian Jackson [Thu, 15 Jun 2023 15:55:07 +0000 (16:55 +0100)]
bump deps: either

We need it to implement several traits including Debug and AsRef.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agobump deps: log
Ian Jackson [Thu, 15 Jun 2023 15:52:53 +0000 (16:52 +0100)]
bump deps: log

We need some improvements to Level.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agobump deps: ipnet
Ian Jackson [Thu, 15 Jun 2023 15:17:21 +0000 (16:17 +0100)]
bump deps: ipnet

We need IpNet to be Default.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agobump deps: thiserror
Ian Jackson [Thu, 15 Jun 2023 15:14:00 +0000 (16:14 +0100)]
bump deps: thiserror

We need `#[from]`

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agobump deps: lazy-regex
Ian Jackson [Thu, 15 Jun 2023 15:09:22 +0000 (16:09 +0100)]
bump deps: lazy-regex

We use regex_replace_all

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agobump deps: educe
Ian Jackson [Thu, 15 Jun 2023 15:07:10 +0000 (16:07 +0100)]
bump deps: educe

0.4.0 has a bug where it fails to ask for a new enough syn.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agocargo update
Ian Jackson [Thu, 15 Jun 2023 16:40:14 +0000 (17:40 +0100)]
cargo update

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'ci' into 'main'
Ian Jackson [Thu, 15 Jun 2023 16:28:26 +0000 (16:28 +0000)]
Merge branch 'ci' into 'main'

CI: Target trixie

See merge request iwj/hippotat!4

22 months agoCI: Expand explanation of allow_failure
Ian Jackson [Thu, 15 Jun 2023 11:53:23 +0000 (12:53 +0100)]
CI: Expand explanation of allow_failure

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoCI: Target trixie
Ian Jackson [Thu, 15 Jun 2023 11:51:57 +0000 (12:51 +0100)]
CI: Target trixie

With the update to base64 this doesn't work on bookworm any more.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'deps' into 'main'
Ian Jackson [Thu, 15 Jun 2023 15:01:39 +0000 (15:01 +0000)]
Merge branch 'deps' into 'main'

build-deps: Actually get rid of versioned dep on base64

See merge request iwj/hippotat!6

22 months agobuild-deps: Actually get rid of versioned dep on base64
Ian Jackson [Thu, 15 Jun 2023 14:43:34 +0000 (15:43 +0100)]
build-deps: Actually get rid of versioned dep on base64

update-build-deps mishandled packages with versions in the names.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoMerge branch 'ci' into 'main'
Ian Jackson [Thu, 15 Jun 2023 11:48:31 +0000 (11:48 +0000)]
Merge branch 'ci' into 'main'

CI: check that build-deps in d/control are as autogenerated

See merge request iwj/hippotat!3

22 months agoMerge branch 'base64' into 'main'
Ian Jackson [Thu, 15 Jun 2023 11:46:31 +0000 (11:46 +0000)]
Merge branch 'base64' into 'main'

Bump base64 dependency to 0.21 and fix code to build with it

See merge request iwj/hippotat!2