Commit graph

1857 commits

Author SHA1 Message Date
Harald Hope a0e372ad5a fixes to last downloader features 2018-03-21 01:35:32 -07:00
Harald Hope 06dd61e8bf bug fix for man download 2018-03-21 01:33:00 -07:00
Harald Hope 5f30b3856c more bug fixes, none relevant to distros 2018-03-21 01:28:26 -07:00
Harald Hope 222d818299 bug fixes 2018-03-21 01:20:18 -07:00
Harald Hope a1129aa7ca some downloader bugs 2018-03-21 01:13:45 -07:00
Harald Hope 2e1a4df1e1 bug fix 2018-03-21 00:54:12 -07:00
Harald Hope 13162680b8 bug fix 2018-03-21 00:46:12 -07:00
Harald Hope 2d0791cc3e small fix, for users, not repo packaged. 2018-03-21 00:33:10 -07:00
Harald Hope 98ed2bc4a0 fixed slight error in changelog tool, left ; at end of version data 2018-03-20 22:50:09 -07:00
Harald Hope 15499afff3 readme update 2018-03-20 22:39:04 -07:00
Harald Hope 7ff7642e6d tiny correction, forgot short inxi to use MiB for ram 2018-03-20 22:14:00 -07:00
Harald Hope 9aecb6103b First small patch fix, corrected a few issues, one for apt deb822 output formatting,
and a small bug for blank files there.

Second, made the --output error message more clear for bad file structure now lists
the 3 requirements: must be full path, must be writeable directory, and must have
a file in it.

Third, another subtle thing, after a lot of research, am trying the MiB GiB format
because it's technically more accurate and less ambiguous than GB, which is used
either to refer to 1000 bite blocks OR to 1024 blocks, depending on the platform etc.

So rather than hope people get it, trying that slightly more wordy format, and maybe
if people wonder what it is.
2018-03-20 22:07:39 -07:00
Harald Hope f6eaeeb02c update to readme 2018-03-20 18:56:48 -07:00
Harald Hope 32a6ff1171 More readme updates 2018-03-20 18:13:44 -07:00
Harald Hope 6924e442ab updated readme 2018-03-20 15:54:57 -07:00
Harald Hope c44c6695f3 readme update 2018-03-20 15:29:23 -07:00
Harald Hope 1cead57a90 readme update 2018-03-20 13:48:09 -07:00
Harald Hope f9e4b79246 small bug fix, forgot to trim the - if no patch release 2018-03-20 03:18:32 -07:00
Harald Hope 6aace06af4 New inxi, new man, new tarball.
It's here! Perl inxi, first official release. So many changes, really too many
to list.

But here's a few:
1. of course, full rewrite to Perl 5.x. Supports as old as 5.008, as new as current.
2. Better line length nandlers. Fully dynamic, robust, shrinks and expands to fit
either taste or viewport.
3. Long options for all options now, plus of course the short options everyone
is used to.
4. New options: --usb; --slots (pci slot report); --sleep (change cpu sleep time);
and many more. Check --help or man page for details.
5. Vastly improved --recommends, now does per distro package recommends, and shows
only Linux data to Linux systems, and BSD data to BSD systems.
6. Hugely improved debugger as well.
7. Far more accurate output, most output is now in key/value pairs, because:
8. inxi now exports to json and xml! See --output/--output-file for info.
9. Enhancedd repo output, added deb822 type, solus
10. Radically enhanced network data, now shows all IP / IF devices connected to
each nic, not just one, both IP v4 and v6.
11. USB audio and network device actual drivers
12. better handling of compiler data.
13. Basic ARM machine data now, if present to inxi
14. Graphics: per card driver info alongside the original xorg drivers.
15. Better integration of partitions, RAID, unmounted partitions, and HDD data.
16. Better sensors handling of free video driver sensor data, well, not better,
it's now there, along with fan speeds for gpus.
17. RAID is enhanced, and now can show > 1 RAID type on a system, and the RAID
is improved.
18. Much improved disk/partition/memory sizing, inxi now always works internally
with KB units, and changes them on output to the appropriate units.
19. Fully redone man page for all the new options and the long options.

And so much more. Anyway, here it is, the first release.
2018-03-20 03:06:46 -07:00
Harald Hope 501f4c3c17 updated inxi readme for release prep 2018-03-19 21:38:43 -07:00
Harald Hope b4d797889c Maintainer alert: Perl inxi 2.9.01 is looking good for maybe early week of
2018-03-19 release. I'm putting the last issue requests on the last forums,
so assuming no real further bugs found, expect Perl inxi 2.9.01 to hit around
Monday or Tuesday. If any bugs are found, of course, those will be fixed before
release of the new Perl inxi.

Basically, if you want to see if you can find bugs, this is the time to do it, not
AFTER release. I've posted on many forums, and have given the various distros a
chance to help squash the bugs their users might see, some have been fantastic
(AntiX, you were the best by far), others, not so much. Their loss in the latter
case since the purpose of beta testing is to find bugs before, not after, release.

If you want to see the differences in recommends, and dependencies, grab pinxi
development branch here:
wget -O pinxi https://github.com/smxi/inxi/raw/inxi-perl/pinxi
or:
git clone https://github.com/smxi/inxi --branch inxi-perl --single-branch

and run: pinxi --recommends

The main thing I'd strongly urge all maintainers to add, for long term stability
and speed and reliability, is dig, which can be used if present to get very fast,
reliable, WAN IP information.

All of the other recommends are pretty much the same, for graphics, xdpyinfo,
xrandr, and glxinfo. For networking, ip or ifconfig, along with dig. For all usb
related identification, lsusb, unfortunately, I wish I could get rid of that tool,
it's very slow, but I can't. The --recommends output shows the complete set.

Obviously, Bash and Gawk are no longer recommends, nor are the tools like grep,
sed, tr, wc, etc, all those are done with Perl, so any shell plus Perl 5.08 or
newer Perl 5.x is all that's really required, beyond normal system reporting
tools like lspci etc.

For json/xml export, two Perl modules are needed, again, see --recommends
2018-03-17 16:52:52 -07:00
Harald Hope 803a459565 No real changes, this will probably be the very last Gawk->Bash inxi 2.3.x release.
Making sure tarball etc is up to date, so it can be stored in 'tarball's branch.

MAINTAINERS:
Pinxi 2.9.00-xxx-p (inxi-perl branch) is nearing completion of its beta test cycle,
and, barring any new issues or bugs (TEST IT NOW AND REPORT ISSUES NOW!), I expect
to release pinxi 2.9.00 as inxi 2.9.01 shortly after I complete the advanced
RAID feature, which should be this week.

If no real issues appear during the following week after the inxi 2.9.0 release, it
will be moved to inxi 3.0.0, as the first stable Perl inxi release.

There will be a new branch, inxi-legacy, that will have the Gawk->Bash inxi 2.3..56
files for historical purposes only. No further work will be done on inxi 2.3 from
now on.
2018-03-13 11:40:24 -07:00
Harald Hope 1627ebab29 edits to comments 2018-02-28 23:01:31 -08:00
Harald Hope 230cacfc53 Small cleanup release, no new version. New tarball, just to make sure I have any
changes included, comments, etc.
2018-02-26 14:50:34 -08:00
Harald Hope f3ea9183d7 Added in some debuggers stuff 2018-02-10 12:36:51 -08:00
Harald Hope ef7d88e359 readme update 2018-01-28 22:14:48 -08:00
Harald Hope f6f077526e fixed typo 2018-01-22 00:15:50 -08:00
Harald Hope 5410a31f09 New version, new tarball. Added an important debugger output, lsusb -v 2018-01-17 11:37:19 -08:00
Harald Hope d529fafe26 change to changelog? 2018-01-13 20:54:14 -08:00
Harald Hope 4a135d5dee New version, tarball. this is only for Manjaro, they seem to have not done the
/etc/os-release file pretty name correctly, so the bland name reports there.

Added manjoro-release to the lsb good list. No other changes.
2018-01-13 16:33:50 -08:00
Harald Hope fe5dae9658 New version, new tarball. Significant albeit small fix to the debugger tool.
Without this fix, newer kernels can hang on the data parsing.
2018-01-13 11:53:32 -08:00
Harald Hope e1119e9bb6 removed a stray \n 2018-01-07 17:01:04 -08:00
Harald Hope 6005be5beb Small comment edits, no actual change, ignore 2017-12-31 19:34:56 -08:00
Harald Hope fcf19553dd cleanup of stuff, nothing. 2017-12-20 20:23:43 -08:00
Harald Hope 96d14dc762 small fixes, nothing real. 2017-12-09 21:13:55 -08:00
Harald Hope d26fc571da small upate, no real change 2017-12-08 20:59:26 -08:00
Harald Hope b4605fe1dc New version, new tarball, new man page. This should fix the Rizen multithreaded
cpu output issues. Now inxi handles > 8 cores in terms of output filters,
descriptions, correctly noting that it's multithreaded.

Because AMD has entered the Multithreading game, I've changed the trade term:
HT - HyperThreading to MT - MultiThreading to support both Intel and AMD variants.

Updated CPU output filters to also account for these very large core counts.

I believe this commit now adds full support for the new Ryzen series, but I'll have
to see when it comes to other variants that may appear. I've tried to future proof
the MT tests, but I won't know of those are fully functional and accurate until
inxi sees the real data.
2017-12-07 11:22:59 -08:00
Harald Hope ec0ce4988c Cosmetic changes only. 2017-12-06 18:21:02 -08:00
Harald Hope 22ea6481f2 got the date wrong too!! 2017-12-02 18:01:56 -08:00
Harald Hope 52ad26f962 grr, forgot to save changes to inxi.changelog 2017-12-02 18:00:45 -08:00
Harald Hope 3d4a4e8b6a Moved another function, move along, nothing to see here... 2017-12-02 17:52:09 -08:00
Harald Hope fb79d1117f New version, new tarball. Maintainers, you can ignore this release, it's only
a reshuffling and renaming of internal functions.
2017-12-02 17:26:10 -08:00
Harald Hope 3b46a486af New version, new tarball. This is an attempt at a fix for issue #129
Because I don't want to break existing cpu logic, I just added in a rizen switch,
which will just use cpu_core_count value, then trigger HT output.

This fix may or may not work, but the issue poster vanished and has not followed up.

For now I'm keeping this a Ryzen specific adjustment, but it may be safe to extend
it further, that is, if siblings > 1 && siblings = 2 * cores then it's HT.
2017-12-01 13:44:29 -08:00
Harald Hope 97187fa32e New version, new tarball, bug fix for -R raid, zfs. Improved filters, clutter
cleaner, more likely to somewhat work with gnu/linux zfs.
2017-11-28 19:43:31 -08:00
Harald Hope 0f3f0393c3 Small glitch on man page, that's fixed. 2017-11-28 17:28:28 -08:00
Harald Hope ffd52bfe73 New version, new tarball, new man page. This is the first attempt to correct an
issue a forum poster raised, which is the fact that despite the fact that GNU/Linux
has had reasonably ok zfs support for years now, inxi only tested for zfs on bsd
systems.

This has been corrected. Due to the complexity of handling software raid, inxi
will now test first for ZFS data, if none is found, it will then test for
/proc/mdstat.

In a perfect world I'd like to have full dynamic Raid support, but I'm missing
all the key ingredients required to add that:

1. systems to test on
2. software raid, I don't use it
3. data collection for non mdraid and zfs software raid, including the values
possible to gather from all non software raid.

Basically, the only way I'd extend -R raid option is if I get direct ssh access to
a machine that uses the alternate software raid type, otherwise it would take
forever to figure out the options.

Since the number of people who might be actually running zfs and mdraid and
using inxi probably numbers in the 10 globally, I figured this solution was a fine
way to handle adding zfs without messing up mdraid, which is more common on linux.

It also does not break BSDs, since bsds as far as I know don't use mdraid, and don't
have /proc/mdraid in the first place.

Also redid the man page to add -! 41, -! 42, -! 43, -! 44 options, which bypass
curl, fetch, wget, and all of them, respectively. Plus making the lines less wide.

That should make those people who actually use 80 column wide vi as an editor
happy, lol.
2017-11-28 17:23:41 -08:00
Harald Hope 050c2ec87d New version, new tarball. No external changes, full reordering of internals to be
easier and more predictable to find. Better section headers, all ordering alpha
by subsections.

Fixed some small debugger gatherer oversights as well.

Note that I made the debugger stuff more portable, so I could use it in another
program.
2017-11-27 12:15:26 -08:00
Harald Hope 9e3595b4b4 Smakl output fix for perl downloader 2017-11-26 18:39:21 -08:00
Harald Hope c92c33f718 New version, new tarball. Bug fix for Curl, in some cases it may hit a redirect,
so I added the -L flag to follow redirects.

Make sure to update to this version or various downloader actions could fail.
2017-11-26 18:32:07 -08:00
Harald Hope e7903dc02c New version, new tarball. Added an optional downloader: Perl HTTP::Tiny
Note that this is the last choice because it's slow, the order has been revised:

1. curl
2. wget
3. fetch
4. Perl 5 HTTP::Tiny
5. OpenBSD ftp

wget has been downgraded due to the recent 1.19-2 bug with wget -O that did
not get resolved quickly, and which should never have been released since
that's a basic wget action, which means they aren't testing gnu wget the way
they should be.

All inxi downloaders can now use this option. However, in my tests it's signicantly
slower to use HTTP::Tiny than curl or wget, so inxi will test for the downloaders
in that order. While -i uses dig as it's primary IP tool, if dig is not installed,
the IP will follow the same downloader priority. -U and -w/-W use downloaders.

Because HTTP::Tiny is optional, and is merely used if wget/curl/fetch are not
installed, I would not consider Perl to be a real dependency yet, just an option, so
I guess for packager maintainers, Perl should be added as a recommends, or a
dependency if you want to fully support the debugger options (Core Modules).

While I'm still not sure which Perl modules I'm going to be using, I'm sticking
for now to Core Modules, the standard, with some experimental exceptions that
would only be used if the user had them present.

Long term the goal is to get rid of as many dependencies as possible, replacing
them were possible with Perl tools, but this is going to take forever, if it
ever happens, so don't hold your breath.

In the future, I expect more and more components that were gawk to be rewritten
to Perl (Core Modules), slowly, however, very slowly.

Updated --recommends to indicate the downloader options more clearly as well.

Added new options for bypassing curl (-! 41), fetch (-! 42) wget (-! 43), or
curl, fetch, and wget (-! 44) to disable all of them. This is in case one of
those is broken or you want to test Perl downloader, mostly.

Also cleaned up debugger output and made debugger portable to other scripts.
2017-11-26 18:08:23 -08:00