Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <[email protected]>
  • Loading branch information
leleliu008 committed Dec 29, 2023
1 parent 6b66fee commit 8e58a55
Show file tree
Hide file tree
Showing 8 changed files with 95 additions and 113 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
32 changes: 14 additions & 18 deletions .github/workflows/macos-brew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/macos-ppkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
32 changes: 14 additions & 18 deletions .github/workflows/macos-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/netbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/openbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/ubuntu-ppkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
64 changes: 32 additions & 32 deletions .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8e58a55

Please sign in to comment.