Commit graph

138 commits

Author SHA1 Message Date
Andrew Walsh fc1d3efd6e
Update README.md to use latest release in examples. 2022-08-02 23:16:37 -07:00
Andrew Walsh 91b541353e
Fix issues #36, #37, and minor refactors. (#40) (#41)
* Bump license year.
* Fix pre-existing dep bug in issue #36.
* Account for packages without deps.
* Fix bug in issue #37 by combining install and dep listing reads. Ensures only installed deps are cached.
* Fix bad log lines.
* Use apt-fast to show package information and remove CLI warning message.
* Switch to apt-cache for package verification and remove CLI warning message.
2022-08-02 21:14:51 -07:00
Andrew Walsh c5df606b25
Optimize installs with apt-fast and various minor cleanups. (#35)
* Fix cut regression.

Originally fixed in #17. This was reintroduced when master was sync'd to staging.

* Update pre_cache_action.sh

* Switch to CLI safe apt command.

Address concern in issue #23.

* Optimize installs with apt-fast and cleanup logging.
2022-07-23 17:06:17 -07:00
Andrew Walsh 97133735cc
Fix cut regression.
Originally fixed in #17. This was reintroduced when master was sync'd to staging.
2022-07-20 10:58:33 -07:00
Andrew Walsh 704b3e1a64
Merge pull request #27 from awalsh128/staging
Rollup staging to master.
2022-07-19 21:12:46 -07:00
Andrew Walsh c4bc8b6ed5
Merge branch 'master' into staging 2022-07-19 21:12:17 -07:00
awalsh128 e3e8536b71 Add newline at EOF to lib.sh 2022-07-19 21:08:41 -07:00
awalsh128 d3470979cf Fix all-package-version-list output bug. 2022-07-19 21:01:08 -07:00
awalsh128 f1a79a837b Minor bug. 2022-07-19 20:51:50 -07:00
awalsh128 8af57b352e Fix all packages reporting. 2022-07-19 20:46:02 -07:00
awalsh128 1e75d90dc9 Merge script include snippet. 2022-07-19 20:44:04 -07:00
awalsh128 b61cf9a6f1 Copy from staging to dev. 2022-07-19 20:42:48 -07:00
Andrew Walsh a85a2de3b3 Update installation to consider symlinks as well.
Addresses problem raised in #25
2022-07-19 20:34:24 -07:00
awalsh128 c58b29a1aa Merge branch 'staging' of https://github.com/awalsh128/cache-apt-pkgs-action into staging 2022-07-19 20:03:15 -07:00
awalsh128 f7b89333d6 Copy from master to staging. 2022-07-19 20:02:22 -07:00
awalsh128 0735dbdc22 Update package gathering. 2022-07-19 19:53:44 -07:00
awalsh128 f20c69935b Minor bug. 2022-07-15 16:14:30 -07:00
awalsh128 053557ecd1 Fix all packages reporting. 2022-07-15 16:11:14 -07:00
awalsh128 d5b9449cd3 Merge script include snippet. 2022-07-15 15:38:51 -07:00
awalsh128 1d2f5e1b23 Merge branch 'staging' 2022-07-15 15:28:17 -07:00
Andrew Walsh e5ab96be47
Update to v3 cache action. 2022-07-15 12:56:06 -07:00
Andrew Walsh cda771820d
Update to v3 cache action. 2022-07-15 12:55:37 -07:00
awalsh128 fa7091e9a8 Fix sorting when normalizing package list. 2022-07-14 21:57:20 -07:00
awalsh128 9a4f0f7d01 Merge branch 'staging' of https://github.com/awalsh128/cache-apt-pkgs-action into staging 2022-07-14 21:45:14 -07:00
awalsh128 63f7fccab9 Simplify logging calls. 2022-07-14 21:44:35 -07:00
Andrew Walsh c21469a518
Update installation to consider symlinks as well.
Addresses problem raised in #25
2022-07-14 21:23:42 -07:00
Andrew Walsh 39faaf9bee
Update installation to consider symlinks as well.
Addresses problem raised in #25
2022-07-14 21:19:19 -07:00
awalsh128 768417e4ec Fix dependency listing. 2022-06-30 08:41:19 -07:00
awalsh128 60c15ce2f0 Include library in all scripts. 2022-06-30 08:28:26 -07:00
awalsh128 7274c01428 Fix minor bug. 2022-06-30 08:24:18 -07:00
awalsh128 f6ea1022c2 Add log timings for perf debugging. 2022-06-30 07:13:58 -07:00
awalsh128 eb177a2a2b Report file size of cached packages. 2022-06-30 06:43:45 -07:00
awalsh128 843a78dbf3 Fix manifest output on restore. 2022-06-30 06:37:31 -07:00
awalsh128 f5249e37b0 Update caching log lines. 2022-06-30 06:29:47 -07:00
awalsh128 f9b0016d02 Inline dependency reporting in log. 2022-06-30 06:28:52 -07:00
awalsh128 a91bf7b286 Create a new output for all packages including dependencies. 2022-06-30 06:18:19 -07:00
awalsh128 903a8a32ff Fix read package name and version call. 2022-06-30 02:10:23 -07:00
awalsh128 bc3229644b Fix another package enumeration. 2022-06-30 01:41:00 -07:00
awalsh128 cb0990bfa2 Fix package enumeration. 2022-06-30 01:35:13 -07:00
awalsh128 686ae5cbb1 Fix package enumeration. 2022-06-30 01:27:20 -07:00
awalsh128 e6baec0bc6 Fix cache version ref and ver function output. 2022-06-30 01:17:13 -07:00
awalsh128 45b8861f3a Fix package name ver function output. 2022-06-30 01:06:32 -07:00
awalsh128 c961be0ea5 Fix lib arg ref and quoting behavior. 2022-06-30 00:51:24 -07:00
awalsh128 1ca2ac1a4c Standardize syntax and script sourcing. 2022-06-30 00:30:31 -07:00
awalsh128 f1c5c6fb4a Merge branch 'staging' of https://github.com/awalsh128/cache-apt-pkgs-action into staging 2022-06-29 23:53:30 -07:00
awalsh128 4d55f8a4fb Fix literal quotes and make variables use best practice. 2022-06-03 21:51:44 -07:00
awalsh128 6fe1db8111 Merge branch 'dev' of https://github.com/awalsh128/cache-apt-pkgs-action into dev 2022-06-03 21:45:03 -07:00
awalsh128 49b4515f51 Fix arg ordinals and package sort return. 2022-06-03 21:45:00 -07:00
Andrew Walsh d7e83f6ca0
Merge pull request #17 from PeterBowman/fix-cmd-path
Drop path to `cut` command
2022-06-03 21:18:01 -07:00
Andrew Walsh c25bf34f45
Merge pull request #19 from awalsh128/staging
Sync state of staging to dev with experimental diffs intact.
2022-06-03 21:05:55 -07:00