arch linux build files for mommy, synchronised with the arch user repository (aur)~
see mommy for installation instructions~
- never force push
- commits pushed to
master
are irreversibly synced with aur dev
must never be behindmaster
- be careful when editing
.aurignore
changes to this file should never affect commits that are already in the aur. careless changes may cause deployment failures
aur-mommy#master
contains the released build script for building the latest release ofmommy
, and is mirrored to the aur repositoryaur-mommy#dev
contains the unreleased build script for building the latest commit tomommy#main
, and is not mirrored to the aur repository
if you locally want to point the build script to a different commit, run ./update.sh <commit>
to make it build
mommy#<commit>
~
⚠️ below, we will be comparing branches across different repos!
mommy#dev
is notaur-mommy#dev
!
note that pushing to aur-mommy#master
will also immediately sync to the aur.
therefore, most changes should instead go to aur-mommy#dev
.
these changes will be merged into aur-mommy#master
automatically when a new mommy
release is created~
if all changes in a commit are to files listed in
.aurignore
(of that branch), no changes are pushed to
the aur, so those commits are really quite safe.
but keep in mind, aur-mommy#dev
must never be behind aur-mommy#master
~
for all other cases, consider whether you want to push only to aur-mommy#dev
, or to both aur-mommy#dev
and
aur-mommy#master
.
this choice should be based on compatibility of the change with
the version that branch points to~
the release process is fully automatic. no human intervention required. below is a brief summary of how it works~
when a new mommy release is created, its cd action
- merges
aur-mommy#dev
intoaur-mommy#master
- runs
update.sh
onaur-mommy#master
to bump version info, - and commits and pushes these changes to
aur-mommy#master
~
this then invokes aur-mommy
's cd action,
which
- removes files listed in
.aurignore
the history using git filter-repo, so aur doesn't complain about nested directories and unwanted files, and - pushes the filtered repo to aur~