Commit graph

20 commits

Author SHA1 Message Date
Andrew Walsh
6460a33c29
First version of a Golang version for APT package querying. (#118) (#119)
* Pull dev upstream to staging. (#112)

* Use awk to enclose filename in single quotes tar #99

* Add null field separator so filenames don't get broken up.

* Move upload logs up in the action sequence so it captures data before it gets deleted.

* Fix awk (#109)

---------

Co-authored-by: sn-o-w <cristian.silaghi@mozilla.ro>

* Fix awk delimiter.

Pull in fix by @sn-o-w in d0ee83b497 mentioned in issue #99

* Swap out Bash based APT query logic for Golang version. (#117)

* First version of a Golang version of command handling in general. (#118)

---------

Co-authored-by: sn-o-w <cristian.silaghi@mozilla.ro>
2023-12-22 10:28:03 -08:00
Andrew Walsh
6f9e6a86db
Update README.md 2023-10-11 08:11:43 -07:00
awalsh128
1850ee53f6 Documentation for versioning support. 2023-03-24 04:50:32 -07:00
Kévin Dunglas
a71b0ea8ac
docs: fix link to actions/cache (#77) 2022-12-19 12:48:58 -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
fc1d3efd6e
Update README.md to use latest release in examples. 2022-08-02 23:16:37 -07:00
awalsh128
b61cf9a6f1 Copy from staging to dev. 2022-07-19 20:42:48 -07:00
awalsh128
8f2c275875 Remove refresh feature. 2021-10-21 23:04:42 -07:00
awalsh128
e5a9854ee1 Consolidate steps, and make reporting less verbose. 2021-10-21 20:57:52 -07:00
Andrew Walsh
04a2e9018f
Update testing badges. 2021-10-21 15:46:36 -07:00
awalsh128
76fa489e74 Add refresh and package version I/O. 2021-10-21 15:44:19 -07:00
awalsh128
82c659a794 Validate version and break out cache key creation logic. 2021-10-16 22:37:18 -07:00
awalsh128
847677393b Merge branch 'master' of https://github.com/awalsh128/cache-apt-pkgs-action 2021-10-16 10:19:26 -07:00
awalsh128
f52ade2b39 Update example wording. 2021-10-16 10:19:15 -07:00
Andrew Walsh
f4621ed88c
Update README.md 2021-10-14 17:38:13 -07:00
awalsh128
c8e67dd896 Update README.md to not reflect cache keys since it is now abstracted. 2021-10-13 22:26:29 -07:00
awalsh128
0e6aefe0f3 Fix test status badge. 2021-10-13 22:19:26 -07:00
awalsh128
dd75628fb6 Move tests badge to CI tests. 2021-10-13 22:08:02 -07:00
awalsh128
f395e7cbbb Test to staging 2021-10-13 22:00:46 -07:00
awalsh128
b07ee5cce8 Initial commit. 2021-10-13 21:11:27 -07:00