frankcrawford / it87

202 stars 39 forks source link

Introduce Packaging and CI Tools #9

Open WinkelCode opened 1 year ago

WinkelCode commented 1 year ago

Continuation of https://github.com/frankcrawford/it87/issues/4

I am basically done with the packaging side of things. I comprehensively tested commit 0334fd6ca4bac3933df7406d19734f1a0900dbc3 on Alpine, Ubuntu and Fedora Silverblue on my PC with IT8688E and IT8795E chips. I have made some minor changes since then but nothing that should change functionality in a major way.

New stuff:

packagetool.sh

Overview/quick start guide: https://github.com/WinkelCode/it87/blob/master/packagetool_quickstart.md

GitHub Actions Workflow

packagetool.sh wrapper

image

Auto package, test, and release

I introduced an automatic workflow that on push to the master branch:

The developer workflow basically looks like this:

Example: https://github.com/WinkelCode/it87/releases/tag/snapshot-2023-05-08T11_21_23Z

Note: The release publishing part was done with jq and curl, since all premade Actions for GitHub Releases which I tried had some dealbreaking issue. Error handling isn't comprehensive, but has so far correctly failed the workflow if the API responds with an error code (curl -f option).

Updated documentation:

Reworked README

https://github.com/WinkelCode/it87/blob/master/README.md


Review/help requests

I would really appreciate it if other people could help review the following items:

Readme

Packagetool quickstart

Packagetool

Edits by maintainers on my fork are allowed.

WinkelCode commented 1 year ago

I’ll squash all the minor documentation edits together at some point

frankcrawford commented 1 year ago

@WinkelCode thanks for this. Obviously, I'm going to need to review it before we can finalise it, but since you are still working on it, that shouldn't be a problem.

frankcrawford commented 1 year ago

@WinkelCode how is this going? I haven't really had a chance to look at it so far.