Commit Graph

43 Commits

Author SHA1 Message Date
Fabian Grünbichler
1f50e31f3e bump proxmox-time to 2
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-07-25 13:02:25 +02:00
Fabian Grünbichler
29a60a33a8 bump pico-args to 0.5
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-07-25 13:02:17 +02:00
Thomas Lamprecht
7c49ea9088 bump version to 2.5.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-02-26 20:23:15 +01:00
Thomas Lamprecht
986457203c update debian/control and check in debian/rules
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-02-26 20:23:15 +01:00
Stoiko Ivanov
7d88c0c33d bump version to 2.4.2
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2024-02-26 15:18:30 +01:00
Thomas Lamprecht
a1ebc0c6fe bump version to 2.4.1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-28 13:07:30 +02:00
Thomas Lamprecht
cdcc762692 bump version to 2.4.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 18:04:53 +02:00
Mira Limbeck
34c921addd add support for bookworm syslog time format
Adds `proxmox-time` as dependency to parse the timestamp

Since parse_rfc3339 can't handle microseconds, we try to remove the dot
followed by 6 digits of microseconds before passing it to parse_rfc3339.

A fallback to the previous format is used when when it fails to parse
the new format.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 18:04:53 +02:00
Thomas Lamprecht
538968fdbe d/copyright: use machine readable format
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-26 17:54:27 +02:00
Stoiko Ivanov
1bd7041278 d/s/format: mark package as native
and adapt makefile variables

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2023-06-16 17:51:57 +02:00
Thomas Lamprecht
39b57008f7 d/control: update generated meta data from newer debcargo
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-12-02 11:26:53 +01:00
Thomas Lamprecht
41d4b6dd8e bump version to 2.3.2-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-11-25 11:38:14 +01:00
Thomas Lamprecht
0809816451 update clap to 0.3.23
to get some convenience things like the get_count helper

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-11-25 11:35:25 +01:00
Thomas Lamprecht
3e6542d819 update clap from 2 to 3
only relevant change is the assertion that multiple(true) takes a
value, so we need to change to the new actions system.

Note that with 3.2.20+ we could switch to args.get_count("verbose")
saving us the unwrap/dereference dance.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-11-24 18:47:12 +01:00
Thomas Lamprecht
4b388f8d40 bump version to 2.3.1-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-01 13:32:06 +01:00
Wolfgang Bumiller
b24a352a5d bump d/control
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-04 16:02:18 +01:00
Wolfgang Bumiller
daec25d33f bump version to 2.3.0-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-01-04 15:55:53 +01:00
Thomas Lamprecht
40d978e67b debcargo: track updates
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-28 17:04:06 +02:00
Thomas Lamprecht
8eeab2adf0 bump version to 2.2.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-11 16:01:50 +02:00
Thomas Lamprecht
0908781e80 cargo: more flexible versioned dependencies
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-24 12:15:03 +01:00
Thomas Lamprecht
5bdc6f7b81 d/cargo: use HTTPs for homepage
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-24 12:14:32 +01:00
Thomas Lamprecht
5af4c03d8c bump version to 2.1.9-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-24 12:08:23 +01:00
Stoiko Ivanov
3c5da57b8a bump version to 2.1.9-1
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-03-24 11:49:58 +01:00
Mira Limbeck
ef4e4370a3 change tests to use faketime
We only have the month, day, hours, minutes and seconds available to us,
but not the year. Because of this we assume the logs are always relative
to the current year. This means when running the log tracker the CTIME
is calculated based on the current year and once a new year starts, all
old tests have to be updated to match the new year.

To work around this issue, use 'faketime' to set the time to 2020-12-31
23:59:59 as all tests assume 2020 as the year.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-03-22 16:20:32 +01:00
Fabian Grünbichler
77b430e04a debcargo: fix maintainer directive
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-02-01 11:29:02 +01:00
Fabian Grünbichler
ea087800bf build: track d/control
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-12-02 13:18:52 +01:00
Thomas Lamprecht
8d0d075975 bump version to 2.1.8-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-18 19:29:27 +01:00
Thomas Lamprecht
5c363ec815 bump version to 2.1.7-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-09-03 17:50:45 +02:00
Thomas Lamprecht
b0b36cefa9 bump version to 2.1.6-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-19 18:05:02 +02:00
Thomas Lamprecht
0a16b4d6fd bump version to 2.1.5-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-14 17:34:02 +02:00
Thomas Lamprecht
a7369a68e5 debcargo: add vcs links
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-13 13:42:44 +02:00
Thomas Lamprecht
2f182bc7c9 bump version to 2.1.4-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-24 19:35:20 +02:00
Thomas Lamprecht
a27c3b076b bump version to 2.1.3-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-24 12:27:11 +02:00
Wolfgang Bumiller
75acc91506 bump version to 2.1.2-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-04-06 12:08:10 +02:00
Thomas Lamprecht
bccbe8d894 bump version to 2.1.1-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-24 12:37:55 +01:00
Fabian Grünbichler
abd7fe2d82 packaging cleanup
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-02-28 11:58:09 +01:00
Wolfgang Bumiller
0fff9ce39f bump version to 2.1.0-1
note that the source package now has a rust- prefix

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-02-28 09:44:21 +01:00
Wolfgang Bumiller
e029c60dff switch to using debcargo
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-02-28 09:44:21 +01:00
Mira Limbeck
457d833549 rewrite in rust
pmg-log-tracker has been rewritten in Rust. Functionality is the same.
Output sometimes has a different order than the pmg-log-tracker in C.
This only happens when the time of the entries match.

There's one change regarding the interface. In addition to the short
versions of arguments also long versions exist.

The implementation uses Rc<>, Weak<> and RefCell<> to make holding mutable
cross-references possible, without having to change the original logic
completely. This allowed for easier translation from C to Rust.

The file debian/cargo-checksum.json is required by dh-cargo, otherwise
it won't compile. The cargo-checksum.json should contain the upstream
.crate file which does not exist in this case, so we just create an
empty one with the required keys. (see 'Library package structure' in
https://wiki.debian.org/Teams/RustPackaging/Policy)

The change to the minimum version of debhelper required was done
according to other rust packages (rust-clap, rust-bindgen, rust-ripgrep).

Adds a README that provides an overview of the stages a mail passes
through and what we can use to match those together for a single mail.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-02-21 09:47:30 +01:00
Thomas Lamprecht
490b6e739a bump version to 2.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-22 15:30:48 +02:00
Thomas Lamprecht
d5128fc797 bump version to 1.0-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-22 08:34:32 +02:00
Thomas Lamprecht
e5f30e2ed8 rework build and packaging, add debian source package
diffoscope shows that the only real changes is the new SOURCE file we
ship in docs, like other packages.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-22 08:30:30 +02:00
Dietmar Maurer
61b8223f3c create debian package 2017-09-13 08:37:37 +02:00