Commit graph

15 commits

Author SHA1 Message Date
Mickaël Schoentgen
d93c95e39c
Skip apt-fast installation on cache hit (#61) 2022-11-15 07:45:14 -08: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
awalsh128
b61cf9a6f1 Copy from staging to dev. 2022-07-19 20:42:48 -07:00
awalsh128
4d55f8a4fb Fix literal quotes and make variables use best practice. 2022-06-03 21:51:44 -07:00
Andrew Walsh
2719bca2f4
Merge branch 'dev' into staging 2022-06-03 21:04:43 -07:00
Andrew Walsh
17cdbf8735
Revert "Cache non explicitly listed packages" 2022-06-03 20:30:40 -07:00
awalsh128
9568dc9783 Change include command. 2022-03-26 12:48:16 -07:00
awalsh128
e68df30bd6 Experimental version. Cleaned up syntax and created common library functions. 2022-03-26 12:42:40 -07:00
Nate Bohman
6d622023ef
Also Cache Non-Explicitly Listed APT PKGs
Apt installs more packages than just those explicitly listed. This can
lead to issues of missing files when the cache is restored.
2022-03-18 09:39:17 -06:00
Nate Bohman
a56b21237f
Check APT Package Versions
Make sure to keep the cache up to date as package versions change
upstream. Also, allow specific package versions to be selected.
2022-03-16 13:38:50 -06:00
jroddev
13d7657f54 g++ install is failing because + is treated as a regex control character 2022-02-13 16:54:39 +11:00
awalsh128
911023297b Make cache directory first thing. 2021-10-21 21:12:42 -07:00
awalsh128
e5a9854ee1 Consolidate steps, and make reporting less verbose. 2021-10-21 20:57:52 -07:00