File tuptime.changes of Package tuptime
------------------------------------------------------------------- Mon Jul 15 03:00:58 UTC 2024 - dead_mozay@opensuse.org - Update to version 5.2.4: * Update standars version to 4.7.0 * Use only sysusers.d and remove tmpfiles.d * Order sync service after main tuptime.service * Print verbose drift values * Refactor control_drift to clear behaviour * Enfoce exit if uptime/rntime values reported from system arent valid * Delete wront logging info * Check drift when update db is disabled * Change var name * Remove sis[downtime], replace with prev[downtime] when it is really used * Remove sis[offbtime], replace with prev[buptime] when it is really used * Add note about /run/systemd/timesync/synchronized * Comment verbose lines * Update info adding some date examples * Print warning when failed to register a graceful shutdown * Bump version number and year * Text syntax review * Adduser not needed on .deb due sysusers usage 8df22cd * Print info when register graceful shutdown * Fix #82. Using tmpfiles.d to set DB directory on .deb package ------------------------------------------------------------------- Sat Jan 06 19:56:58 UTC 2024 - dead_mozay@opensuse.org - Update to version 5.2.3: * Add uid,gid to verbose output * Print warning when graceful shutdown cant write into DB * Update timesync info * Change condition order to save one syscall * Combine timesync check conditions * Adjust timesync logging info * Check system clock synchronized via Systemd file /run/systemd/timesync/synchronized * Update systemd-time-wait-sync info * Fix set_window_title deprecation in favour to manager.set_window_title * Fix lintian warning TE macro called with TW register undefined * chores: added opensuse packages link #80 @iamtalhaasghar * chores: added opensuse packages link * Discard temp var usage * table str format refactoring * Remove obsolete package lsb-base: https://lists.debian.org/debian-devel/2023/01/msg00150.html * Replace deprecated force-badname with allow-bad-names on adduser * Update doc with Docker info * Adding docker execution steps * Fix typo * Avoid fail if user exists * Refactoring prerequisites checks * Split combined execution * Print version on banner * Set exit on fail execution * Shebang with bash instead of sh * Update install instructions for FreeBSD * Set default value for tuptime_enable * Add try over SIGPIPE ------------------------------------------------------------------- Sat Jan 07 14:36:21 UTC 2023 - dead_mozay@opensuse.org - Update to version 5.2.2: * Swich between longest/shortest on default output with -i. * Option -x, --silent renamed to -q, --quiet. * Change repository name. ------------------------------------------------------------------- Tue Aug 23 16:01:11 UTC 2022 - dead_mozay@opensuse.org - Update to version 5.2.1: * Fix cron.d execution on Debian * Skip cron.d file in favour of systemd timer only for Debian * Return "-e" argument for decimals * Database trace callbacks with .debug * Revert removing cron and doc files on postinst ------------------------------------------------------------------- Tue Aug 16 03:08:03 UTC 2022 - dead_mozay@opensuse.org - Update to version 5.2.0: * Initialize var * Change order output trimmed * Add range trim print * Clean table and list default output * Refactoring get_limits for largest values * Remove old example files * Replace cron file with systemd timer on .deb package * Print largest uptime and downtime values on default output * Format string on pragma * Adding exclude option * Disable pctl option * Fix #67 Replace sys.exit(-1) by sys.exit(1) * Add StateDirectory on systemd unit * Note info about StateDirectory requirement * Jot down control timer and cron mixed install * Fix redundant _ on Exceptions * Rename timer units to tuptime-sync.timer and tuptime-sync.service ------------------------------------------------------------------- Fri Jan 21 02:42:22 UTC 2022 - dead_mozay@opensuse.org - Update to version 5.1.0: * Avoid error when it is executed under sudo * Improve logic to skip a false startup register if old fallback method is used * Avoid error when it is executed under sudo * Switch loop lists to tuples * Fix seconds output * Refactoring percentil * Refactoring sum total on default output * Avoid zero division * Right set elif instead of if * Remove unmatching if condition * Fix comparison to None * Assure integer * Refactoring osx function * Refactoring with list comprehension * Refactoring convert None to False * Minnor clean over db lines * Refactoring check right value allocation of core vars * Define trim_rows function * Set better header * Fix lintian large line warning * Refactoring since and until removing function * Refactoring since and until with list comprehension * Refactoring since/until and tsince/tuntil * Refactoring since/until and tsince/tuntil * Refactoring tsince an tuntil * Refactoring list output * Refactoring default output print * Update doc with new pctl option * Update doc * Adding percentil option * Refactoring parse rows * Refactoring format ouput * Refactoring rates * Refactoring rates * Refactoring tince tuntil functions * Refactoring and combine since until functions * Refactoring rates * Clean round methods * Refactoring uptime and downtime output without float method * Refactoring csv new line * Rename exception discard variable * Log info line with lazy formatting * Print last row info on verbose * Add verbose refresh last row info * Revert "Allow execution over Haiku OS" * Fix for adduser not creating dir 755 (#56) * Refactoring remap * Control DB format via user_version * Add DB backup info with Litestream @benbjohnson * Log sqlite user_version on verbose * Set sqlite user_version * Fix ambigous day/month on first position of date * Refactoring getopts * Logging updated. Clean output on control_drift * Add transaction for DB creation and first insert * Fix spaces on queries * Unset isolation_level=None on db connection. Transaction auto disable it when used. * Unify equal behaviour when translate sql None to False * Logging updated. Print sql queries and clean output * Set isolation_level=None on db connection * Avoid duplicate errors on database concurrent access at startup * Refactoring PEP len-as-condition * Refactoring query with rowid * Get last rowid and print on verbose ------------------------------------------------------------------- Mon Jan 04 11:36:16 UTC 2021 - dead_mozay@opensuse.org - Update to version 5.0.2: * Update doc * Use short form in date example call * Normalize spaces and tabs * Better Y description * Change get arguments * Set auto size based on screen * Remove range text * Add runplot script * Year in short form on x-axis * Add counter to slices on pie chart * Default size on help output * Set auto format on x-axis * Fix margin * Set right slice order * Order date format * Add pie plot * New scatter plot * Merge downtime on default report * Update standards version to 4.5.1 * Print bad shutdown until next event, not only next day * Typo datetime/timestamp * Use subprocess module on BSDs instead of os.popen * Expect cm in width and height arguments * Update barchart with events counter option * Playing with subprocess. Commented lines * Argument option --decp with deprecated warning * Refactoring test path with exist_ok=True * Replace searching $PATH with os.popen ------------------------------------------------------------------- Mon Nov 23 10:53:58 UTC 2020 - Dead Mozay <dead_mozay@opensuse.org> - Update group name. ------------------------------------------------------------------- Sun Nov 01 10:10:01 UTC 2020 - dead_mozay@opensuse.org - Update to version 5.0.1: * Print current uptime only when end time is current * Fix average ouput with narrow ranges without btime or offbtime * Add -e option an rename --decp to --dec * Remove spaces * Default output with better signs * Redirect output on FreeBSD * Right boot_id assignment on old FreeBSDs * Support kern.boot_id on FreeBSD * Commented bootid on FreeBSD with related bug issue * Add detail info * git clone with depth option * Refactoring create dir * Clean csv output * Append power states in default output * Right column align on table print with power argument option ------------------------------------------------------------------- Sun May 31 12:19:15 UTC 2020 - dead_mozay@opensuse.org - Update to version 5.0.0: * Alternative chown setup * Set right user on cron path * Right permission on cron install * Refactoring username and group change * Execution user with underscore _tuptime * Set db path with _tuptime group * Installation script with _tuptime user * Refactoring update condition * Clear read. Invert negative if conditions * Refactoring fixing_drift * Refactoring bootid startup check * Clear run and sleep output * Short minute form * Check narrow ranges with tat option * Short url on install oneliner * Add support sunos and related * Add periodic cron * Adding runit support * Handle regular exceptions only * Adding comments * Update doc with time drift * Refactoring main splitting print output and check new boot * Minnor refactoring * Refactoring csv output * Adding rpm repository * Refactoring csv output * Change time counters to abbreviate non-SI units * Fix current uptime report on default output * Refactoring list output * Remove name of the logger used to log the call on default logging * Refactoring Check right allocation of variables before continue * Fix print number of events per day * Refactoring csv output for horizontal registers * Refactoring sum total of each event * Change styple from bar to plot * Add bash warning message * Fix past days starting at edate * Refactoring plot to accumulative hours per day * Add warning message * Mitigate plot with first startup bar range * Mitigate days with DST changes on plot * Graph a daily plot from tuptime csv output. Playground script * Refactoring csv format and show power states * Minnor refactoring * Add info about time zone * Clear exit conditions * Out of project scope. It wont be maintained * Add info about time zone * Refactoring selinux check * Refactoring and improve * Refactoring bootid startup identifier * Refactoring getting values in default output * Fix slp/spd typo * Avoid exit if the users or group exists * One line installatio with bash * Disable verbose tar * Fix tat output with empty values * Prevent globbing and word splitting * Change git to curl+tar because is common on servers * Prevent globbing and word splitting * Fix typo in bootid condition identifier * Check bootid as None str * bootid and kernel are false in emtpy db_rows * Minnor refactoring tsince and tuntil * Revert "Always print None on kernel and bootid" * Revert "Empty kernel and bootid are None" * Empty kernel and bootid are None * Remove old script * Remove due error on new version * Check right allocation of OS variables before working with them * Change old kernel empty registers to None on DB upgrade * Always print None on kernel and bootid * Make invert output on ordering_output * Set boot ID to None on DB update * Fix check uptime under 0 value * Refactoring check arguments * Refactoring * Adding --invert doc * Refactoring since and until * Refactoring tat option to allow empty values * Refactoring tsince and tuntil * Adding invert option * Adding -z info * Refactoring default output with empty db_rows * Minnor refactoring * Fix slptime drift adjustment when rntime is lower than 0 * Check combination of tat and power arguments * Refactoring extract_max_min_tst * Fix tstamp output * Adding zip option * Allow kernel and bootid in tat output * Checked get_os_values * Refactoring empty db_rows case * Refactoring control_drift, prev dict and sql queries length * Refactoring kernel and bootid counters * tstamp refactoring * Refactoring empty_row * Moving things under sis dict - all done * Fix description table and list * Moving things under sis dict - main * Clear default output * Update info about timesync * Update with bootid info * Update rpm files to v5 * Delete php web wrapper * After requirement to systemd unit * Fix lines * Update modify with bootid * Set right permissions * Add db migrate script to v5 * Rename migrate db 2.0 * Remove uptimed script, not relialiable * Update join with bootid * Update dbcheck with bootid duplicate entries check * Upgrade with boot_id * Replace legacy backticked * Mitigate overlapping a graceful shutdown register * Include date examples * Update database corruption documentation * Fix tab space on tat * Rename Target to Timestamp on tat output ------------------------------------------------------------------- Mon Jan 20 03:33:32 UTC 2020 - dead_mozay@opensuse.org - Update to version 4.1.0: * Update standars version to 4.4.1 * Fix typo * Change version name to 4.1.0 * Better description for test help * Clean comments * Update drift info * Adding errors counter * Better rntime and slptime fix * Improve fix on rntime and slptime when not match with uptime * Fix typo ------------------------------------------------------------------- Mon Jan 20 03:28:36 UTC 2020 - Dead Mozay <dead_mozay@opensuse.org> - Initial package