Skip to content

Have a template repo/action which will make things easier to maintain for devs & easier to use for users #58

@fiftydinar

Description

@fiftydinar
  • blank.yml GitHub Action

    • Only needs to be modified for the name of the deployed release.
      • input option: RELEASE_NAME: "Gnome Calculator" as an example
  • get-dependencies.sh
    We can preinstall basic dependencies, only some things for installing a package needs to be configured

    • Provide an option to install directly from Arch repos (default)
      • input option: INSTALL_TYPE: arch-repo, INSTALL_INPUT: gnome-calculator
    • Provide an option to install directly from Chaotic AUR repos
      • input option: INSTALL_TYPE: arch-aur, INSTALL_INPUT: gnome-calculator
    • Provide an option to install from PKGBUILD, either provided locally or through URL
      • input option: INSTALL_TYPE: PKGBUILD, INSTALL_INPUT: ./PKGBUILD / https://someurl.com/link-to-PKGBUILD.git
    • Provide an option for architecture on which package will be built or installed, defaults to both x86_64 & aarch64
      • input option: ARCH: "x86_64, aarch64"
    • Provide an option for which debloated packages to install (defaults to none)
      • input option: DEBLOATED_PACKAGES: "mesa-mini, libxml2-mini"
    • Provide an option for installing other dependencies along the main one somehow
      • input option: OTHER_PACKAGES: "something1, something2, something2"
  • name-appimage.sh
    This is much harder to automate, as it vastly depends on the app itself, but I think we can still automate some things, while leaving everything else to the user.
    We can automate building the AppImage & preparing it for release, quick-sharun process needs to be left for user customization

Dependabot would handle the updates to the user's template to be in-sync with ours.

I think if this gets done, we should still make it possible for users to use the current building method, to just copy the files above & modify them slightly for their needs, so it's not template-exclusive.

This is just a general idea, it's something we did in BlueBuild for making + deploying custom images & it made things much easier in the long run, both for devs & users.

We did it as a combination of repo template + GitHub Action template:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions