WIP: migrate every package to a single file style #1

Draft
stobbsm wants to merge 48 commits from move_to_single_file_pkgs into main
Owner

Not strictly single file, but instead of having pkgs, srcpkgs, cargopkgs, etc, design new helpers to manage those installations and add them to a running list of configurations to build.

  • Every package will now have main sections in the vars/main.yml file to set defaults, which can then be changed/set when calling the role.
  • Simplifying directory layout and removing all of the vars/src/*.yml files, getting rid of the maintenance nightmare involved.
  • Maybe turning into a "ports" kind of thing, based in ansible
Not strictly single file, but instead of having pkgs, srcpkgs, cargopkgs, etc, design new helpers to manage those installations and add them to a running list of configurations to build. - Every package will now have main sections in the `vars/main.yml` file to set defaults, which can then be changed/set when calling the role. - Simplifying directory layout and removing all of the `vars/src/*.yml` files, getting rid of the maintenance nightmare involved. - Maybe turning into a "ports" kind of thing, based in ansible
stobbsm added 12 commits 2026-02-02 19:48:54 -07:00
- adding cargo build helper
Renamed variables for defaults:
- flatpak_method -> default_flatpak_method: system
- defaults.paths.prefix -> default_install_prefix: /usr/local
New variables:
- default_install_method: package
- need to figure out testing
Signed-off-by: Matthew Stobbs <matthew@stobbs.ca>
Signed-off-by: Matthew Stobbs <matthew@stobbs.ca>
Signed-off-by: Matthew Stobbs <matthew@stobbs.ca>
Signed-off-by: Matthew Stobbs <matthew@stobbs.ca>
stobbsm added 1 commit 2026-02-02 21:09:54 -07:00
stobbsm added 1 commit 2026-02-04 15:05:08 -07:00
stobbsm added 1 commit 2026-02-04 22:26:18 -07:00
- giving things a better structure
- better documentation with the way things need to be as a standard
stobbsm added 1 commit 2026-02-05 17:18:06 -07:00
stobbsm added 1 commit 2026-02-06 01:28:16 -07:00
stobbsm added 1 commit 2026-02-08 14:44:57 -07:00
stobbsm added 1 commit 2026-02-10 16:13:47 -07:00
stobbsm added 1 commit 2026-02-10 19:02:18 -07:00
stobbsm added 1 commit 2026-02-10 19:05:09 -07:00
stobbsm added 1 commit 2026-02-10 19:24:11 -07:00
stobbsm added 1 commit 2026-02-10 19:37:58 -07:00
stobbsm added 1 commit 2026-02-11 10:50:50 -07:00
stobbsm added 1 commit 2026-02-11 12:28:31 -07:00
- symlinking is done often enough that it makes sense to have a helper
for it
- move appimage and archive helpers to use symlink helper
- fix formatting of air and alacritty
stobbsm added 1 commit 2026-02-15 17:57:07 -07:00
- modifying how installs are done
stobbsm added 1 commit 2026-02-27 16:10:40 -07:00
stobbsm added 1 commit 2026-03-03 12:42:25 -07:00
stobbsm added 1 commit 2026-03-03 15:08:16 -07:00
stobbsm added 1 commit 2026-03-03 21:35:48 -07:00
not going to be used for a long time
Making pkg tasks truly single file
stobbsm added 1 commit 2026-03-07 13:31:40 -07:00
stobbsm added 1 commit 2026-03-14 20:22:52 -06:00
stobbsm added 1 commit 2026-03-15 22:38:52 -06:00
stobbsm added 1 commit 2026-03-16 10:51:43 -06:00
stobbsm added 1 commit 2026-03-17 16:19:17 -06:00
stobbsm added 1 commit 2026-03-19 13:39:29 -06:00
- the make helper now has distinct build stages
  - configure: is now defined in pkg.targets.configure
  - build: is now defined in pkg.targets.build
  - install: is now defined in pkg.targets.install
  - added pre-install: which is a list of targets that are looped over
before install
  - added post-instal: which is a list of targets that are looped over
after install

- removed major package level variables from vars/main.yml
  - moving those variables into actual package level variables as
defaults
  - if the values are defined they will be used instead of defaults
stobbsm added 1 commit 2026-03-19 21:46:06 -06:00
stobbsm added 1 commit 2026-03-20 17:51:23 -06:00
stobbsm added 1 commit 2026-03-27 20:34:42 -06:00
stobbsm added 1 commit 2026-03-27 22:04:07 -06:00
need to run tests on all the builds alone, should use a container system
stobbsm added 1 commit 2026-04-12 17:28:02 -06:00
stobbsm added 1 commit 2026-04-13 02:46:08 -06:00
stobbsm added 1 commit 2026-04-13 03:03:45 -06:00
stobbsm added 1 commit 2026-04-13 03:52:54 -06:00
stobbsm added 1 commit 2026-04-13 09:59:17 -06:00
stobbsm added 1 commit 2026-04-13 11:47:44 -06:00
- Finished: ghostty, git, gitea-server, go and yazi
- Cleanup helpers appimage.yml and nerdfont_config.yml
stobbsm added 1 commit 2026-04-13 13:11:53 -06:00
stobbsm added 1 commit 2026-04-13 14:50:14 -06:00
This pull request has changes conflicting with the target branch.
  • .gitignore
  • README.md
  • tasks/helpers/appimage.yml
  • tasks/helpers/go_install.yml
  • tasks/helpers/make.yml
  • tasks/helpers/nerdfont_config.yml
  • tasks/helpers/npm.yml
  • tasks/pkgs/air.yml
  • tasks/pkgs/alacritty.yml
  • tasks/pkgs/ansible_lint.yml
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin move_to_single_file_pkgs:move_to_single_file_pkgs
git checkout move_to_single_file_pkgs
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sprouting.cloud/ansible_role_package#1
No description provided.