tuptime (5.2.2) unstable; urgency=low * Swich between longest/shortest on default output with -i * Option -x, --silent renamed to -q, --quiet * Change repository name -- Ricardo Fraile Thu, 05 Jan 2023 20:17:00 +0100 tuptime (5.2.1) unstable; urgency=low * Set cron file with systemd execute exclusion on .deb package * Return -e option as an argument for --dec decimals * Update .deb package * Update .rpm package -- Ricardo Fraile Fri, 19 Aug 2022 16:21:00 +0100 tuptime (5.2.0) unstable; urgency=low * Rename timer units to tuptime-sync.timer and tuptime-sync.service * Using StateDirectory= on systemd unit * Available tuptime.sysusers file for systemd-sysusers * Replace cron file with systemd timer on .deb package * Add rc script for OpenBSD and update installation doc * Deprecate --pctl option * Adding -E, --exclude option * Print longest uptime and downtime values on default output * Update distribution packages * Code refactoring -- Ricardo Fraile Tue, 02 Aug 2022 21:55:00 +0100 tuptime (5.1.0) unstable; urgency=low * Cover DB writes with transactions * Register DB version on PRAGMA user_version * Adding --pctl option. Show percentil over average values * Code refactoring * Update .deb package -- Ricardo Fraile Sun, 16 Jan 2022 13:09:00 +0100 tuptime (5.0.2) unstable; urgency=low * Option --decp usable but deprecated * Using subprocess module on BSDs -- Ricardo Fraile Sat, 02 Jan 2021 09:01:00 +0100 tuptime (5.0.1) unstable; urgency=low * Identify new startups with boot_id on FreeBSD * Option --decp renamed to --dec and -e equal to it. * Minnor code refactoring -- Ricardo Fraile Sat, 31 Oct 2020 15:06:00 +0100 tuptime (5.0.0) unstable; urgency=low * Abbreviate format in time counters * Identify new startups with boot_id * Adding -b, --bootid option to show boot IDs * Adding -i, --invert option to show startup number in reverse count * Change database specs. Add bootid column * After a graceful shutdown register, delay 5 seconds next DB update * Change execution user from 'tuptime' to '_tuptime' * Large refactoring * Update .deb package -- Ricardo Fraile Tue, 26 May 2020 19:58:00 +0100 tuptime (4.1.0) unstable; urgency=low * Register shutdowns lower than a second * Adding option -A --at * Refactoring --tat output * Rename suspend time to sleep time -- Ricardo Fraile Wed, 01 Jan 2020 17:03:00 +0100 tuptime (4.0.0) unstable; urgency=low * Adding support for running and suspended time. (-p, --power) * Adding --tat to report system state at specific timestamp. * Change database specs. Add rntime and spdtime columns. * Update .deb package -- Ricardo Fraile Sun, 28 Jul 2019 20:12:00 +0100 tuptime (3.5.0) unstable; urgency=low * Avoid execution if the startup date is prior to 01/Jan/2000 00:00 * Avoid correct drift when it decreases uptime under 0 * Fix register shutdown with negative downtime * Minnor code refactoring -- Ricardo Fraile Wed, 20 Feb 2019 17:02:00 +0100 tuptime (3.4.2) unstable; urgency=low * Fix Debian Bug Fails to upgrade (Closes: #914954) * Change deb architecture from any to all -- Ricardo Fraile Fri, 07 Dec 2018 15:48:00 +0100 tuptime (3.4.1) unstable; urgency=low * Adding Launchd .plist * Code quality checker fixes * Update .deb package * Adding Uptimed migration script * Fix Debian Bug about real time definition (Closes: #912996) -- Ricardo Fraile Fri, 23 Nov 2018 21:16:00 +0100 tuptime (3.4.0) unstable; urgency=low * Adding DragonflyBSD, OpenBSD and NetBSD support * Improve error report when checking db path and file * Arguments refactoring. Change deprecated module optparse to argpaser * Adding --decp option. Allow change decimal length in percentages * Fixed equal number of values per line in csv output * Fix right termination when SIGPIPE signal is received * Upgrade timer unit with tuptime-cron.timer and tuptime-cron.service * Adding OpenRC init script * Tuptime user without /bin/sh shell * Support environmental variable with DB file path -- Ricardo Fraile Sun, 23 Sep 2018 13:40:00 +0200 tuptime (3.3.3) unstable; urgency=low * Unify order arguments under -o * Improve behaviour when time drift * Requirement of time-sync in systemd unit * Warn about negative values produced by inconsistent time sync. * Validate right assignment of system variables * Update .deb package * Fix Debian Bug Files to install (Closes: #884955) * Python 3.x as requirement -- Ricardo Fraile Wed, 03 Jan 2018 23:56:00 +0200 tuptime (3.3.2) unstable; urgency=low * Fix print kernel in list and table outputs in partial registers * Consistent decimals output when seconds are used in table and list * Accurate report in largest/shortest uptime/downtime with partial registers in narrow ranges * Avoid import subprocess module * Report in default output the state of last shutdown * Adding systemd .timer as alternative to cron schedule -- Ricardo Fraile Sat, 21 Jan 2017 19:43:00 +0100 tuptime (3.3.1) unstable; urgency=medium * Adding dependency of lsb-base in debian package * Change to native debian package * Fix typo in doc -- Ricardo Fraile Mon, 16 Jan 2017 19:48:27 -0200 tuptime (3.3.0-2) unstable; urgency=medium * Remove creation of /var/lib/tuptime from debian/dirs and fall only in postinstall adduser command. (Closes: #821725) -- Ricardo Fraile Tue, 19 Apr 2016 17:09:27 -0200 tuptime (3.3.0-1) unstable; urgency=medium [Antoine Beaupré] * Complete switch to non-native package * Fix build with git-buildpackage -- Ricardo Fraile Tue, 12 Apr 2016 08:59:27 -0400 tuptime (3.3.0) unstable; urgency=low * Refactoring code * Adding -S --since option * Adding -U --until option * Adding --tsince option * Adding --tuntil option * Adding -n --noup option * Adding --csv option * Fix inconsistencies with seconds reports due rounded decimals * Fix inconsistencies when system clock drift -- Ricardo Fraile Sat, 12 Mar 2016 10:51:00 +0100 tuptime (3.2.3) unstable; urgency=low * Refactoring code * Change execution user from root to tuptime * Equivalence between start/stop runlevels in systemd and init. -- Ricardo Fraile Sat, 12 Dec 2015 22:40:00 +0100 tuptime (3.2.2) unstable; urgency=low * Adding compatibility with OS X (Darwin) -- Ricardo Fraile Sat, 28 Nov 2015 09:40:00 +0100 tuptime (3.2.01+git6db666b-2) unstable; urgency=medium * ship tuptime in /usr/bin, upstream will make it usable by non-root (Closes: #806380) -- Antoine Beaupré Fri, 27 Nov 2015 09:59:43 -0500 tuptime (3.2.01+git6db666b-1) unstable; urgency=low * Redo packaging based on upstream binary package. Closes: #638422 -- Antoine Beaupré Wed, 25 Nov 2015 11:53:00 -0500 tuptime (3.2.01) stable; urgency=low * Detect database modification -- Ricardo Fraile Mon, 12 Oct 2015 11:00:00 -0400 tuptime (3.2.00) stable; urgency=low * Print singular names if is the case * Fix round and decimals values * Clean and order code -- Ricardo Fraile Mon, 05 Oct 2015 11:00:00 -0400 tuptime (3.1.00) stable; urgency=low * Register used kernels * Adding kernel option -- Ricardo Fraile Mon, 28 Sep 2015 11:00:00 -0400 tuptime (3.0.00) stable; urgency=low * Change printed output format * Adding max/min uptime/downtime reports * Adding table format output * Rename enumerate option to list and change output format * Adding sorting options * Change database schema * Clean and order code -- Ricardo Fraile Fri, 25 Sep 2015 11:00:00 -0400 tuptime (2.6.10) stable; urgency=low * Compatibility between python2.7 and python3.X * Removing unused modules -- Ricardo Fraile Mon, 10 Aug 2015 11:00:00 -0400 tuptime (2.5.20) stable; urgency=low * Setting data type for ok/bad shutdown in db creation -- Ricardo Fraile Sat, 08 Aug 2015 11:00:00 -0400 tuptime (2.5.12) stable; urgency=low * Setting max decimals in the output * Fix data type for the ok/bad shutdown registry in db which cause incorrect counter output -- Ricardo Fraile Fri, 07 Aug 2015 11:00:00 -0400 tuptime (2.5.00) stable; urgency=low * Fix false shutdown count and correct locale date format -- Ricardo Fraile Tue, 04 Aug 2015 11:00:00 -0400 tuptime (2.4.26) stable; urgency=low * Fix from other point of view false shutdown bug -- Ricardo Fraile Tue, 04 Aug 2015 10:00:00 -0400 tuptime (2.4.10) stable; urgency=low * Fix false wrong shutdown bug when some kernels rarely report +1 or -1 second inside /proc/stat btime variable -- Ricardo Fraile Sun, 26 Jul 2015 10:00:00 -0400 tuptime (2.4.00) stable; urgency=low * Adding downtimes reports * Adding enumerate option * Fix bad shutdowns count -- Ricardo Fraile Mon, 20 Jul 2015 10:00:00 -0400 tuptime (2.2.00) stable; urgency=low * Completely rewritten in python -- Ricardo Fraile Wed, 06 May 2015 10:00:00 -0400 tuptime (1.6.2) stable; urgency=low * New init script for debian 7 wheezy -- Ricardo Fraile Thu, 14 May 2013 10:00:00 -0400 tuptime (1.6.0) stable; urgency=low * Remove usage of syslog for more quick output. * Change output. * Print rate in output. -- Ricardo Fraile Thu, 17 Jan 2012 10:00:00 -0400 tuptime (1.5.0) stable; urgency=low * Print estimated uptime between starts. * Print actual uptime for the system. * Fix and improve code, remove repetitive lines and minnor bugs. * Check if the variable in the conf file is a number. * Start using Scalar::Util module. * Print system uptime date. * Fix bug in first update -- Ricardo Fraile Mon, 10 Oct 2011 10:00:00 -0400 tuptime (1.4.0) stable; urgency=low * Print time more accurate. * Cron line change to 5 minutes. * Print time values in live time without update. -- Ricardo Fraile Sat, 06 Aug 2011 10:00:00 -0400 tuptime (1.3.0) stable; urgency=low * Jump blank lines in conf file. * Adding #REPLACEAT feature. -- Ricardo Fraile Mon, 20 Jun 2011 10:00:00 -0400 tuptime (1.2.0) stable; urgency=low * Change speak option to verbose. * Fix lost information in files when update. * Minnor corrections in text strings. -- Ricardo Fraile Mon, 13 Jun 2011 10:00:00 -0400 tuptime (1.1.0) stable; urgency=low * Any user can print the times, not only root. * Minnor changes to speak option. * Minnor corrections. -- Ricardo Fraile Fri, 10 Jun 2011 10:00:00 -0400 tuptime (1.0.0) stable; urgency=low * First release. -- Ricardo Fraile Wed, 23 Mar 2011 10:02:18 -0400