Skip to contentSkip to conversation

workflow, scripts: sort changes.rst and ver_linux

PATCH Applied Manuel Ebner 2 participants 6 messages Mar 25 – Mar 30

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v5 cover workflow, scripts: sort changes.rst and ver_linux

restructured the patch series into logical changes. fixed changelogs, but i'm not super content.

[v4] -> [v5]:
undo "remove (optional)" from [v4]
merged patches with same concepts
[PATCH v4 1/4], [PATCH v4 2/4] -> [PATCH v5 1/2]
[PATCH v4 3/4], [PATCH v4 4/4] -> [PATCH v5 2/2]
fix changelogs for the individual patches

[v3] -> [v4]:
split [PATCH v3 1/2] into
[PATCH v4 1/4] and
[PATCH v4 3/4]
split [PATCH v3 2/2] into
[PATCH v4 2/4] and
[PATCH v4 4/4]
make toolnames uniform in both files
make version command uniform in both files
changes.rst:
remove footnote for Sphinx
remove "(optional)"

[v2] -> [v3]:
fix changelog
changes.rst:
needn't -> do not need to
add gdb 7.2
ver_linux:
/Changes.rst -> /changes.rst
add gdb

[v1] -> [v2]:
split v1 into a patch series
changes.rst:
add reference to ver_linux
ver_linux:
fix path to changes.rst

#1 lore raw

PATCH v5 1/2 workflows, scripts: harmonize and cleanup

cleanup and harmonize output of scripts/ver_linux and table in changes.rst

ver_linux:
fix path to changes.rst
Add missing tools in ver_linux
bash, bc, bindgen, btrfs-progs, Clang, gdb, GNU awk, GNU tar, GRUB, GRUB2, gtags, iptables, kmod, mcelog, mkimage, openssl, pahole, Python, Rust, Sphinx, squashfs-tools

changes.rst:
add reference to ./scripts/ver_linux
needn't -> do not need to
add gdb version 7.2 as mentioned in:
Documentation/process/debugging/gdb-kernel-debugging.rst scripts/gdb/vmlinux-gdb.py

---
 Documentation/process/changes.rst | 14 +++++----
 scripts/ver_linux                 | 49 ++++++++++++++++++++++---------
 2 files changed, 43 insertions(+), 20 deletions(-)
Documentation/process/changes.rst +8 -6
index 6b373e193548..d94503341254 100644
@@ -19,12 +19,13 @@ Current Minimal Requirements
 
 Upgrade to at **least** these software revisions before thinking you've
 encountered a bug!  If you're unsure what version you're currently
-running, the suggested command should tell you.
+running, the suggested command should tell you. For a list of the programs
+on your system including their version execute ./scripts/ver_linux
 
 Again, keep in mind that this list assumes you are already functionally
 running a Linux kernel.  Also, not all tools are necessary on all
 systems; obviously, if you don't have any PC Card hardware, for example,
-you probably needn't concern yourself with pcmciautils.
+you probably do not need to concern yourself with pcmciautils.
 
 ====================== ===============  ========================================
         Program        Minimal version       Command to check the version
@@ -40,7 +41,7 @@ flex                   2.5.35           flex --version
 bison                  2.0              bison --version
 pahole                 1.22             pahole --version
 util-linux             2.10o            mount --version
-kmod                   13               depmod -V
+kmod                   13               kmod -V
 e2fsprogs              1.41.4           e2fsck -V
 jfsutils               1.1.3            fsck.jfs -V
 xfsprogs               2.6.0            xfs_db -V
@@ -51,8 +52,8 @@ quota-tools            3.09             quota -V
 PPP                    2.4.0            pppd --version
 nfs-utils              1.0.5            showmount --version
 procps                 3.2.0            ps --version
-udev                   081              udevd --version
-grub                   0.93             grub --version || grub-install --version
+udev                   081              udevadm --version
+GRUB                   0.93             grub --version || grub-install --version
 mcelog                 0.6              mcelog --version
 iptables               1.4.2            iptables -V
 openssl & libcrypto    1.0.0            openssl version
@@ -62,7 +63,8 @@ GNU tar                1.28             tar --version
 gtags (optional)       6.6.5            gtags --version
 mkimage (optional)     2017.01          mkimage --version
 Python                 3.9.x            python3 --version
-GNU AWK (optional)     5.1.0            gawk --version
+GNU awk (optional)     5.1.0            gawk --version
+gdb                    7.2              gdb --version
 ====================== ===============  ========================================
 
 .. [#f1] Sphinx is needed only to build the Kernel documentation
scripts/ver_linux +35 -14

77 lines not on this page · raw message

Signature · 1 line
2.53.0
maintainer Applied
#2 lore raw

Re: [PATCH v5 1/2] workflows, scripts: harmonize and cleanup

Quoted 9 lines · Manuel Ebner

cleanup and harmonize output of scripts/ver_linux and table in changes.rst

ver_linux:
fix path to changes.rst
Add missing tools in ver_linux
bash, bc, bindgen, btrfs-progs, Clang, gdb, GNU awk, GNU tar, GRUB, GRUB2, gtags, iptables, kmod, mcelog, mkimage, openssl, pahole, Python, Rust, Sphinx, squashfs-tools

Quoted 8 lines

changes.rst:
add reference to ./scripts/ver_linux
needn't -> do not need to
add gdb version 7.2 as mentioned in:
Documentation/process/debugging/gdb-kernel-debugging.rst scripts/gdb/vmlinux-gdb.py

Applied, but the changelog now reads:

docs: changes/ver_linux: fix entries and add several tools

Some of the entries in both Documentation/process/changes.rst and script/ver_linux were obsolete; update them to reflect the current way of getting version information.

Many were missing altogether; add the relevant information for:

bash, bc, bindgen, btrfs-progs, Clang, gdb, GNU awk, GNU tar, GRUB, GRUB2, gtags, iptables, kmod, mcelog, mkimage, openssl, pahole, Python, Rust, Sphinx, squashfs-tools

[jc: rewrote changelog]

jon

#3 lore raw

PATCH v5 2/2 workflows, scripts: sort ver_linux and changes.rst

In reply to Manuel Ebner

sort output of scripts/ver_linux alphabetically
sort list in changes.rst alphabetically

---
 Documentation/process/changes.rst | 52 ++++++++++++-------------
 scripts/ver_linux                 | 64 +++++++++++++++----------------
 2 files changed, 58 insertions(+), 58 deletions(-)
Documentation/process/changes.rst +26 -26
index d94503341254..6ba9ca928e49 100644
@@ -30,41 +30,41 @@ you probably do not need to concern yourself with pcmciautils.
 ====================== ===============  ========================================
         Program        Minimal version       Command to check the version
 ====================== ===============  ========================================
-GNU C                  8.1              gcc --version
-Clang/LLVM (optional)  15.0.0           clang --version
-Rust (optional)        1.78.0           rustc --version
-bindgen (optional)     0.65.1           bindgen --version
-GNU make               4.0              make --version
 bash                   4.2              bash --version
+bc                     1.06.95          bc --version
+bindgen (optional)     0.65.1           bindgen --version
 binutils               2.30             ld -v
-flex                   2.5.35           flex --version
 bison                  2.0              bison --version
-pahole                 1.22             pahole --version
-util-linux             2.10o            mount --version
-kmod                   13               kmod -V
+btrfs-progs            0.18             btrfs --version
+Clang/LLVM (optional)  15.0.0           clang --version
 e2fsprogs              1.41.4           e2fsck -V
+flex                   2.5.35           flex --version
+gdb                    7.2              gdb --version
+GNU awk (optional)     5.1.0            gawk --version
+GNU C                  8.1              gcc --version
+GNU make               4.0              make --version
+GNU tar                1.28             tar --version
+GRUB                   0.93             grub --version || grub-install --version
+gtags (optional)       6.6.5            gtags --version
+iptables               1.4.2            iptables -V
 jfsutils               1.1.3            fsck.jfs -V
-xfsprogs               2.6.0            xfs_db -V
-squashfs-tools         4.0              mksquashfs -version
-btrfs-progs            0.18             btrfs --version
+kmod                   13               kmod -V
+mcelog                 0.6              mcelog --version
+mkimage (optional)     2017.01          mkimage --version
+nfs-utils              1.0.5            showmount --version
+openssl & libcrypto    1.0.0            openssl version
+pahole                 1.22             pahole --version
 pcmciautils            004              pccardctl -V
-quota-tools            3.09             quota -V
 PPP                    2.4.0            pppd --version
-nfs-utils              1.0.5            showmount --version
 procps                 3.2.0            ps --version
-udev                   081              udevadm --version
-GRUB                   0.93             grub --version || grub-install --version
-mcelog                 0.6              mcelog --version
-iptables               1.4.2            iptables -V
-openssl & libcrypto    1.0.0            openssl version
-bc                     1.06.95          bc --version
-Sphinx\ [#f1]_         3.4.3            sphinx-build --version
-GNU tar                1.28             tar --version
-gtags (optional)       6.6.5            gtags --version
-mkimage (optional)     2017.01          mkimage --version
 Python                 3.9.x            python3 --version
-GNU awk (optional)     5.1.0            gawk --version
-gdb                    7.2              gdb --version
+quota-tools            3.09             quota -V
+Rust (optional)        1.78.0           rustc --version
+Sphinx\ [#f1]_         3.4.3            sphinx-build --version
+squashfs-tools         4.0              mksquashfs -version
+udev                   081              udevadm --version
+util-linux             2.10o            mount --version
+xfsprogs               2.6.0            xfs_db -V
 ====================== ===============  ========================================
 
 .. [#f1] Sphinx is needed only to build the Kernel documentation
scripts/ver_linux +32 -32

90 lines not on this page · raw message

Signature · 1 line
2.53.0
maintainer
#4 lore raw

Re: [PATCH v5 2/2] workflows, scripts: sort ver_linux and changes.rst

Quoted 8 lines · Manuel Ebner

sort output of scripts/ver_linux alphabetically
sort list in changes.rst alphabetically

---
 Documentation/process/changes.rst | 52 ++++++++++++-------------
 scripts/ver_linux                 | 64 +++++++++++++++----------------
 2 files changed, 58 insertions(+), 58 deletions(-)

Changelog is now:

docs: changes.rst and ver_linux: sort the lists

Sort the lists of tools in both scripts/ver_linux and Documentation/process/changes.rst into alphabetical order, facilitating comparison between the two.

[jc: rewrote changelog]

As an additional note...what would be Really Nice would be to have a single list of tool dependencies that could be automatically used by both files. An additional bonus would be a mode in script/ver_linux to only report on tools that are missing or below the required version. A guy can dream...:)

Thanks,

jon

maintainer
#5 lore raw
In reply to Manuel Ebner
Quoted 9 lines · Manuel Ebner

restructured the patch series into logical changes. fixed changelogs, but i'm not super content.

[v4] -> [v5]:
undo "remove (optional)" from [v4]
merged patches with same concepts
[PATCH v4 1/4], [PATCH v4 2/4] -> [PATCH v5 1/2]
[PATCH v4 3/4], [PATCH v4 4/4] -> [PATCH v5 2/2]
fix changelogs for the individual patches

OK, I have applied this series. For any future changes, though, I really need you to work on your changelogs.

The 0/N cover letter should describe what the series as a whole does, you didn't do that here.

For the individual patches, I have rewritten the changelogs; I'll reply to each with what I've done.

Thanks,

jon