Commit graph

25 commits

Author SHA1 Message Date
awalsh128
f5bcdd76d3 Use APT syntax for name version delimitation and not a colon. 2023-03-23 22:19:43 -07:00
awalsh128
971da5988a Standardize syntax, name casing and fix package versioning feature. 2023-03-23 20:20:24 -07:00
awalsh128
bd5455834e Convert action to APT version syntax. 2023-03-13 21:43:46 -07:00
awalsh128
270eae5fc9 Remove commas, and block scalar folded backslashes #84 2023-02-04 21:08:45 -08:00
Andrew Walsh
51678ad913
Execute installation scripts feature, debug mode, and permission denied fix. (#65)
* Execute installation scripts and debug mode features. (#64)

* Provide the ability to call Debian package manager installation scripts (i.e. `*.[preinst, postinst]`).
* Introduce a debug mode that runs the scripts in verbose mode and uploads the logs for retrieval.
* Updated README to reflect new features and provided more info on how to use the action versions.

* Dev (#66)

* Fix permission denied error.

* Fix permission denied error. (#51)

* Remove compression from file caching. (#53)

* Draft of postinst support from issue #44.

* Remove bad option.

* Removed extraneous line.

* Cover no packages edge case when writing manifest.

* Fix postinst bugs and add docs to lib.

* Made cache directory variable and more refinements to postinst.

* Update deprecated option.

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

* Rollback accidental commit of new postinst feature.

* Minor edit ands full install script execution FR.

* Fix execute_install_scripts message to show the right param name.

* Fix param check.

* Minor fix to doc.

* Upload action logs for debugging.

* Make artifact names unique.

* Add debug option.

* Update description.

* Debug package list issue.

* Rollback 76128c60a1

* Revert outputs set behavior to see if it fixes outputs issue in dev.

* Restore updated outputs behavior. So strange it is working when I revert.

* Fix bugs in install script execution.

* Add error suppression on file testing.

* Debug feature.

* Link to the issue that started the postinst troubleshooting.

* Describe action version usage.

* Fix package outputs command.
2022-11-23 22:24:00 -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
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
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
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
fa7091e9a8 Fix sorting when normalizing package list. 2022-07-14 21:57:20 -07:00
awalsh128
63f7fccab9 Simplify logging calls. 2022-07-14 21:44:35 -07:00
awalsh128
f6ea1022c2 Add log timings for perf debugging. 2022-06-30 07:13:58 -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
4d55f8a4fb Fix literal quotes and make variables use best practice. 2022-06-03 21:51:44 -07:00
awalsh128
49b4515f51 Fix arg ordinals and package sort return. 2022-06-03 21:45:00 -07:00
awalsh128
e68df30bd6 Experimental version. Cleaned up syntax and created common library functions. 2022-03-26 12:42:40 -07:00