From 8e58a55921f724c5003971046df8cb364af0b54e Mon Sep 17 00:00:00 2001 From: leleliu008 Date: Fri, 29 Dec 2023 11:49:57 +0800 Subject: [PATCH] optimized Signed-off-by: leleliu008 --- .github/workflows/freebsd.yml | 16 ++++---- .github/workflows/macos-brew.yml | 32 +++++++--------- .github/workflows/macos-ppkg.yml | 16 ++++---- .github/workflows/macos-vcpkg.yml | 32 +++++++--------- .github/workflows/netbsd.yml | 16 ++++---- .github/workflows/openbsd.yml | 16 ++++---- .github/workflows/ubuntu-ppkg.yml | 16 ++++---- .github/workflows/valgrind.yml | 64 +++++++++++++++---------------- 8 files changed, 95 insertions(+), 113 deletions(-) diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index bba5034..eaad012 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -66,15 +66,13 @@ jobs: run ./output/bin/uppm install gsed - run ./output/bin/uppm info-available gsed installed-dir - run ./output/bin/uppm info-available gsed installed-files - run ./output/bin/uppm info-available gsed installed-receipt-path - run ./output/bin/uppm info-available gsed installed-receipt-json - run ./output/bin/uppm info-available gsed installed-receipt-yaml - run ./output/bin/uppm info-available gsed installed-timestamp-unix - run ./output/bin/uppm info-available gsed installed-timestamp-iso-8601 - run ./output/bin/uppm info-available gsed installed-timestamp-rfc-3339 - run ./output/bin/uppm info-available gsed installed-version + run ./output/bin/uppm info-installed gsed --files + run ./output/bin/uppm info-installed gsed --json + run ./output/bin/uppm info-installed gsed --yaml + run ./output/bin/uppm info-installed gsed timestamp-unix + run ./output/bin/uppm info-installed gsed timestamp-iso-8601 + run ./output/bin/uppm info-installed gsed timestamp-rfc-3339 + run ./output/bin/uppm info-installed gsed version run ./output/bin/uppm tree gsed run ./output/bin/uppm tree gsed -L 3 diff --git a/.github/workflows/macos-brew.yml b/.github/workflows/macos-brew.yml index 089dce9..6db44c0 100644 --- a/.github/workflows/macos-brew.yml +++ b/.github/workflows/macos-brew.yml @@ -82,15 +82,13 @@ jobs: - run: ./output/bin/uppm install gsed - - run: ./output/bin/uppm info-available gsed installed-dir - - run: ./output/bin/uppm info-available gsed installed-files - - run: ./output/bin/uppm info-available gsed installed-receipt-path - - run: ./output/bin/uppm info-available gsed installed-receipt-json - - run: ./output/bin/uppm info-available gsed installed-receipt-yaml - - run: ./output/bin/uppm info-available gsed installed-timestamp-unix - - run: ./output/bin/uppm info-available gsed installed-timestamp-iso-8601 - - run: ./output/bin/uppm info-available gsed installed-timestamp-rfc-3339 - - run: ./output/bin/uppm info-available gsed installed-version + - run: ./output/bin/uppm info-installed gsed --files + - run: ./output/bin/uppm info-installed gsed --json + - run: ./output/bin/uppm info-installed gsed --yaml + - run: ./output/bin/uppm info-installed gsed timestamp-unix + - run: ./output/bin/uppm info-installed gsed timestamp-iso-8601 + - run: ./output/bin/uppm info-installed gsed timestamp-rfc-3339 + - run: ./output/bin/uppm info-installed gsed version - run: ./output/bin/uppm tree gsed - run: ./output/bin/uppm tree gsed -L 3 @@ -195,15 +193,13 @@ jobs: - run: ./output/bin/uppm install gsed - - run: ./output/bin/uppm info-available gsed installed-dir - - run: ./output/bin/uppm info-available gsed installed-files - - run: ./output/bin/uppm info-available gsed installed-receipt-path - - run: ./output/bin/uppm info-available gsed installed-receipt-json - - run: ./output/bin/uppm info-available gsed installed-receipt-yaml - - run: ./output/bin/uppm info-available gsed installed-timestamp-unix - - run: ./output/bin/uppm info-available gsed installed-timestamp-iso-8601 - - run: ./output/bin/uppm info-available gsed installed-timestamp-rfc-3339 - - run: ./output/bin/uppm info-available gsed installed-version + - run: ./output/bin/uppm info-installed gsed --files + - run: ./output/bin/uppm info-installed gsed --json + - run: ./output/bin/uppm info-installed gsed --yaml + - run: ./output/bin/uppm info-installed gsed timestamp-unix + - run: ./output/bin/uppm info-installed gsed timestamp-iso-8601 + - run: ./output/bin/uppm info-installed gsed timestamp-rfc-3339 + - run: ./output/bin/uppm info-installed gsed version - run: ./output/bin/uppm tree gsed - run: ./output/bin/uppm tree gsed -L 3 diff --git a/.github/workflows/macos-ppkg.yml b/.github/workflows/macos-ppkg.yml index 06e83b8..0f1d1f1 100644 --- a/.github/workflows/macos-ppkg.yml +++ b/.github/workflows/macos-ppkg.yml @@ -72,15 +72,13 @@ jobs: - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm install gsed - - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-available gsed installed-dir - - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-available gsed installed-files - - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-available gsed installed-receipt-path - - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-available gsed installed-receipt-json - - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-available gsed installed-receipt-yaml - - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-available gsed installed-timestamp-unix - - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-available gsed installed-timestamp-iso-8601 - - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-available gsed installed-timestamp-rfc-3339 - - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-available gsed installed-version + - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-installed gsed --files + - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-installed gsed --json + - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-installed gsed --yaml + - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-installed gsed timestamp-unix + - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-installed gsed timestamp-iso-8601 + - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-installed gsed timestamp-rfc-3339 + - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm info-installed gsed version - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm tree gsed - run: ~/.ppkg/installed/macos-*-x86_64/uppm/bin/uppm tree gsed -L 3 diff --git a/.github/workflows/macos-vcpkg.yml b/.github/workflows/macos-vcpkg.yml index 33ec8f8..ea0331d 100644 --- a/.github/workflows/macos-vcpkg.yml +++ b/.github/workflows/macos-vcpkg.yml @@ -83,15 +83,13 @@ jobs: - run: ./output/bin/uppm install gsed - - run: ./output/bin/uppm info-available gsed installed-dir - - run: ./output/bin/uppm info-available gsed installed-files - - run: ./output/bin/uppm info-available gsed installed-receipt-path - - run: ./output/bin/uppm info-available gsed installed-receipt-json - - run: ./output/bin/uppm info-available gsed installed-receipt-yaml - - run: ./output/bin/uppm info-available gsed installed-timestamp-unix - - run: ./output/bin/uppm info-available gsed installed-timestamp-iso-8601 - - run: ./output/bin/uppm info-available gsed installed-timestamp-rfc-3339 - - run: ./output/bin/uppm info-available gsed installed-version + - run: ./output/bin/uppm info-installed gsed --files + - run: ./output/bin/uppm info-installed gsed --json + - run: ./output/bin/uppm info-installed gsed --yaml + - run: ./output/bin/uppm info-installed gsed timestamp-unix + - run: ./output/bin/uppm info-installed gsed timestamp-iso-8601 + - run: ./output/bin/uppm info-installed gsed timestamp-rfc-3339 + - run: ./output/bin/uppm info-installed gsed version - run: ./output/bin/uppm tree gsed - run: ./output/bin/uppm tree gsed -L 3 @@ -199,15 +197,13 @@ jobs: - run: ./output/bin/uppm install gsed - - run: ./output/bin/uppm info-available gsed installed-dir - - run: ./output/bin/uppm info-available gsed installed-files - - run: ./output/bin/uppm info-available gsed installed-receipt-path - - run: ./output/bin/uppm info-available gsed installed-receipt-json - - run: ./output/bin/uppm info-available gsed installed-receipt-yaml - - run: ./output/bin/uppm info-available gsed installed-timestamp-unix - - run: ./output/bin/uppm info-available gsed installed-timestamp-iso-8601 - - run: ./output/bin/uppm info-available gsed installed-timestamp-rfc-3339 - - run: ./output/bin/uppm info-available gsed installed-version + - run: ./output/bin/uppm info-installed gsed --files + - run: ./output/bin/uppm info-installed gsed --json + - run: ./output/bin/uppm info-installed gsed --yaml + - run: ./output/bin/uppm info-installed gsed timestamp-unix + - run: ./output/bin/uppm info-installed gsed timestamp-iso-8601 + - run: ./output/bin/uppm info-installed gsed timestamp-rfc-3339 + - run: ./output/bin/uppm info-installed gsed version - run: ./output/bin/uppm tree gsed - run: ./output/bin/uppm tree gsed -L 3 diff --git a/.github/workflows/netbsd.yml b/.github/workflows/netbsd.yml index 092822e..376d742 100644 --- a/.github/workflows/netbsd.yml +++ b/.github/workflows/netbsd.yml @@ -79,15 +79,13 @@ jobs: run ./output/bin/uppm install gsed - run ./output/bin/uppm info-available gsed installed-dir - run ./output/bin/uppm info-available gsed installed-files - run ./output/bin/uppm info-available gsed installed-receipt-path - run ./output/bin/uppm info-available gsed installed-receipt-json - run ./output/bin/uppm info-available gsed installed-receipt-yaml - run ./output/bin/uppm info-available gsed installed-timestamp-unix - run ./output/bin/uppm info-available gsed installed-timestamp-iso-8601 - run ./output/bin/uppm info-available gsed installed-timestamp-rfc-3339 - run ./output/bin/uppm info-available gsed installed-version + run ./output/bin/uppm info-installed gsed --files + run ./output/bin/uppm info-installed gsed --json + run ./output/bin/uppm info-installed gsed --yaml + run ./output/bin/uppm info-installed gsed timestamp-unix + run ./output/bin/uppm info-installed gsed timestamp-iso-8601 + run ./output/bin/uppm info-installed gsed timestamp-rfc-3339 + run ./output/bin/uppm info-installed gsed version run ./output/bin/uppm tree gsed run ./output/bin/uppm tree gsed -L 3 diff --git a/.github/workflows/openbsd.yml b/.github/workflows/openbsd.yml index 5f64836..c08b129 100644 --- a/.github/workflows/openbsd.yml +++ b/.github/workflows/openbsd.yml @@ -66,15 +66,13 @@ jobs: run ./output/bin/uppm install gsed - run ./output/bin/uppm info-available gsed installed-dir - run ./output/bin/uppm info-available gsed installed-files - run ./output/bin/uppm info-available gsed installed-receipt-path - run ./output/bin/uppm info-available gsed installed-receipt-json - run ./output/bin/uppm info-available gsed installed-receipt-yaml - run ./output/bin/uppm info-available gsed installed-timestamp-unix - run ./output/bin/uppm info-available gsed installed-timestamp-iso-8601 - run ./output/bin/uppm info-available gsed installed-timestamp-rfc-3339 - run ./output/bin/uppm info-available gsed installed-version + run ./output/bin/uppm info-installed gsed --files + run ./output/bin/uppm info-installed gsed --json + run ./output/bin/uppm info-installed gsed --yaml + run ./output/bin/uppm info-installed gsed timestamp-unix + run ./output/bin/uppm info-installed gsed timestamp-iso-8601 + run ./output/bin/uppm info-installed gsed timestamp-rfc-3339 + run ./output/bin/uppm info-installed gsed version run ./output/bin/uppm tree gsed run ./output/bin/uppm tree gsed -L 3 diff --git a/.github/workflows/ubuntu-ppkg.yml b/.github/workflows/ubuntu-ppkg.yml index e1655c0..7816460 100644 --- a/.github/workflows/ubuntu-ppkg.yml +++ b/.github/workflows/ubuntu-ppkg.yml @@ -72,15 +72,13 @@ jobs: - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm install gsed - - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed installed-dir - - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed installed-files - - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed installed-receipt-path - - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed installed-receipt-json - - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed installed-receipt-yaml - - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed installed-timestamp-unix - - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed installed-timestamp-iso-8601 - - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed installed-timestamp-rfc-3339 - - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-available gsed installed-version + - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed --files + - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed --json + - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed --yaml + - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed timestamp-unix + - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed timestamp-iso-8601 + - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed timestamp-rfc-3339 + - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm info-installed gsed version - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm tree gsed - run: ~/.ppkg/installed/linux-glibc-x86_64/uppm/bin/uppm tree gsed -L 3 diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 343d78f..58fabfc 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -66,42 +66,42 @@ jobs: - run: $VALGRIND ./output/bin/uppm ls-installed - run: $VALGRIND ./output/bin/uppm ls-outdated - - run: $VALGRIND ./output/bin/uppm search and - - - run: $VALGRIND ./output/bin/uppm info-available tree - - run: $VALGRIND ./output/bin/uppm info-available tree --shell - - run: $VALGRIND ./output/bin/uppm info-available tree --json - - run: $VALGRIND ./output/bin/uppm info-available tree --yaml - - - run: $VALGRIND ./output/bin/uppm info-available tree summary - - run: $VALGRIND ./output/bin/uppm info-available tree version - - run: $VALGRIND ./output/bin/uppm info-available tree license - - run: $VALGRIND ./output/bin/uppm info-available tree webpage - - run: $VALGRIND ./output/bin/uppm info-available tree bin-url - - run: $VALGRIND ./output/bin/uppm info-available tree bin-sha - - run: $VALGRIND ./output/bin/uppm info-available tree dep-pkg - - run: $VALGRIND ./output/bin/uppm info-available tree install - - run: $VALGRIND ./output/bin/uppm info-available tree formula - - - run: $VALGRIND ./output/bin/uppm depends tree - - run: $VALGRIND ./output/bin/uppm depends android-sdk - - run: $VALGRIND ./output/bin/uppm depends android-sdk -t box - - run: $VALGRIND ./output/bin/uppm depends android-sdk -t box + - run: $VALGRIND ./output/bin/uppm search and + + - run: $VALGRIND ./output/bin/uppm info-available tree + - run: $VALGRIND ./output/bin/uppm info-available tree --shell + - run: $VALGRIND ./output/bin/uppm info-available tree --json + - run: $VALGRIND ./output/bin/uppm info-available tree --yaml + + - run: $VALGRIND ./output/bin/uppm info-available tree summary + - run: $VALGRIND ./output/bin/uppm info-available tree version + - run: $VALGRIND ./output/bin/uppm info-available tree license + - run: $VALGRIND ./output/bin/uppm info-available tree webpage + - run: $VALGRIND ./output/bin/uppm info-available tree bin-url + - run: $VALGRIND ./output/bin/uppm info-available tree bin-sha + - run: $VALGRIND ./output/bin/uppm info-available tree dep-pkg + - run: $VALGRIND ./output/bin/uppm info-available tree unpackd + - run: $VALGRIND ./output/bin/uppm info-available tree install + - run: $VALGRIND ./output/bin/uppm info-available tree formula + + - run: $VALGRIND ./output/bin/uppm depends tree + - run: $VALGRIND ./output/bin/uppm depends android-sdk + - run: $VALGRIND ./output/bin/uppm depends android-sdk -t box + - run: $VALGRIND ./output/bin/uppm depends android-sdk -t box - run: $VALGRIND ./output/bin/uppm fetch gzip - run: $VALGRIND ./output/bin/uppm fetch gsed -v - - run: $VALGRIND ./output/bin/uppm install tree - - - run: $VALGRIND ./output/bin/uppm info-available tree installed-dir - - run: $VALGRIND ./output/bin/uppm info-available tree installed-files - - run: $VALGRIND ./output/bin/uppm info-available tree installed-receipt-path - - run: $VALGRIND ./output/bin/uppm info-available tree installed-receipt-json - - run: $VALGRIND ./output/bin/uppm info-available tree installed-receipt-yaml - - run: $VALGRIND ./output/bin/uppm info-available tree installed-timestamp-iso-8601 - - run: $VALGRIND ./output/bin/uppm info-available tree installed-timestamp-rfc-3339 - - run: $VALGRIND ./output/bin/uppm info-available tree installed-timestamp-unix - - run: $VALGRIND ./output/bin/uppm info-available tree installed-version + - run: $VALGRIND ./output/bin/uppm install tree + + - run: $VALGRIND ./output/bin/uppm info-installed tree --prefix + - run: $VALGRIND ./output/bin/uppm info-installed tree --files + - run: $VALGRIND ./output/bin/uppm info-installed tree --yaml + - run: $VALGRIND ./output/bin/uppm info-installed tree --json + - run: $VALGRIND ./output/bin/uppm info-installed tree timestamp-iso-8601 + - run: $VALGRIND ./output/bin/uppm info-installed tree timestamp-rfc-3339 + - run: $VALGRIND ./output/bin/uppm info-installed tree timestamp-unix + - run: $VALGRIND ./output/bin/uppm info-installed tree version - run: | sed -i '/^version: /c version: 2.0.3' $(./output/bin/uppm info-available tree formula)