Skip to content

Contributing

matty-r edited this page Jan 7, 2022 · 2 revisions
  1. Create a fork onto your own GitHub account
  2. git clone onto your workstation - create another branch from master with the name of your change
  3. Test and create a merge request with from the new branch you created

Code layout:

arch-build.sh

Main installation script.

softwareBundles.sh

Contains the app bundles. Too add a new bundle, first add to one of the arrays. For example, we want to add a coolPackages bundle:

... ... declare -a coolPacakges ... ...

Then add the "cool" element to the availableBundles[] array.

... availablePackages[cool]=coolPackages ...

Then we need to add the list of packages that are within the coolPackages bundle. The names of the packages are what you would have used if installed via yay or pacman.

... coolPackages=(app1 app2) ...

bundleConfigurators.sh

Used to run a script after a specific bundle is installed. Function will be named after the bundleName-Config. For example, we want to run an action after we install the coolPackages bundle.

... coolPackages-Config(){ ## do something } ...

Clone this wiki locally