Path to this page:
Subject: CVS commit: pkgsrc/sysutils/p5-Sys-CpuLoad
From: Makoto Fujiwara
Date: 2020-04-20 15:28:55
Message id: 20200420132855.B5370FB27@cvs.NetBSD.org
Log Message:
(sysutils/p5-Sys-CpuLoad) Updated 0.03 to 0.30
0.30 2020-04-06 08:14:52+01:00 Europe/London
0.29 2020-04-04 11:13:49+01:00 Europe/London (TRIAL RELEASE)
[Enhancements]
- Added support for changing the default load() function.
[Documentation]
- Added contributors names in Changes for earlier versions.
[Tests]
- Test for warnings.
- Use Test::More and Test::Deep instead of Test::Most,
due to global destruction warnings in latest Test::Most.
[Other]
- Rearrange POD to be interleaved with source code.
0.28 2020-04-02 17:35:22+01:00 Europe/London (TRIAL RELEASE)
[Bug Fixes]
- Fix how parsed values from uptime are numified for different locales.
0.27 2020-04-02 12:37:28+01:00 Europe/London (TRIAL RELEASE)
[Bug Fixes]
- Numify parsed values from uptime.
[Tests]
- Use locale-independent test that value is numeric.
0.26 2020-04-01 21:22:26+01:00 Europe/London (TRIAL RELEASE)
[Bug Fixes]
- Parse uptime output formatted with using different locales, thanks srezic.
[Tests]
- Fix skip_all to handle when no executable is found.
- Fix comment on skip_all.
[Other]
- Add keywords to distribution metadata.
0.25 2020-03-30 23:30:00+01:00 Europe/London (TRIAL RELEASE)
[Tests]
- Check if uptime is executable.
- Fix comment on t/13-w.t.
0.24 2020-03-30 12:25:45+01:00 Europe/London (TRIAL RELEASE)
[Enhancements]
- Use IPC::Run3 for uptime.
- Add the ability to override the path of uptime.
[Bug Fixes]
- Check for uptime errors.
[Other]
- Move Perl::Critic exceptions into t/etc/perlcriticrc.
0.23 2020-03-29 13:09:50+01:00 Europe/London (TRIAL RELEASE)
[Enhancements]
- Support getloadavg for DragonFly BSD.
- Change uptime to use backticks instead of piped open.
[Bug Fixes]
- uptime immediately returns undef if path to `uptime` cannot be found.
[Tests]
- Fixed test when skipping getloadavg test.
- Skip uptime test if uptime cannot be found.
0.22 2020-03-27 12:51:39+00:00 Europe/London (TRIAL RELEASE)
[Enhancements]
- Split getloadavg, proc_loadavg and uptime into separate functions.
- Use File::Which to locate uptime.
[Incompatabilities]
- Renamed _getbsdload to getloadavg.
[Bug Fixes]
- Accept uptime output without commas, RT#14034.
[Tests]
- Fix bug testing high loads.
- Add tests for each function.
0.21 2020-03-25 13:03:11+00:00 Europe/London
[Bug Fixes]
- Actually use system getloadavg for NetBSD and Solaris.
0.20 2020-03-25 12:35:33+00:00 Europe/London
[Enhancements]
- Add support for NetBSD #2 and Solaris.
- Return a single undef when the load function fails.
[Bug Fixes]
- The return value of getloadavg is now checked, #4.
- The load method is set up in a BEGIN block instead of import, #5.
[Documentation]
- Update POD about changes in version 0.12.
0.12 2020-03-24 23:22:57+00:00 Europe/London
[Enhancements]
- Use getloadavg system call in Linux.
- Port changes for Cygwin from Sys::CpuLoadX.
[Tests]
- Show diagnostics.
0.11 2020-03-24 22:57:02+00:00 Europe/London
[Enhancements]
- Added support for OS/X, thanks to Vincent Lefèvre, RT#14034/GH#3.
0.10 2020-03-24 22:41:56+00:00 Europe/London
- Maintenance taken over by Robert Rothenberg.
[Enhancements]
- Modernised code style.
- The load average method is determined during module import.
- Use XSLoader instead of DynaLoader.
[Bug Fixes]
- Fixed VERSION.
- Removed unnecessary use of AutoLoader.
[Incompatabilities]
- Minimum version is v5.6.
- Renamed `getbsdload` to `_getbsdload`.
[Documentation]
- Reformatted Changes to conform to CPAN::Changes::Spec.
[Tests]
- Modernised the test, and added a test of the load function.
[Other]
- Reorganised files for modern CPAN distributions.
- Distribution is minted with Dist::Zilla.
Files: