Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (25 loc) · 1.96 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.96 KB

Pacstall Programs

This is the default repository of pacscripts which Rhino Linux uses to install software. You can fork this repository and add make your own package repository as long as it follows the basic structure:

package-repository/
├── packagelist
└── packages/
    └── example-package1/
    |   └── example-package1.pacscript
    └── example-package2/
        └── example-package2.pacscript

You can then use pacstall -A command to add your repository to your repolist. Consult the wiki for more info.

How to setup the environment for pacscript development

If you need help making a pacscript, visit the pacstall wiki.

This repository maintains a certain standard of commits. To ensure that your commits are up to the standard, we use pre-commit hooks.

Here are the development dependencies that you need to install as a developer:

Dependency How to install
pre-commit sudo pip install pre-commit
shellcheck pacstall -PI shellcheck-bin
shfmt pacstall -PI shfmt-bin
editor-config Install the plugin for your editor

After the dependencies are installed simply clone this repository, and use pre-commit install to install the pre-configured hooks to your cloned repository.

Now, whenever you try to commit a patch all the configured hooks will run and block/fix your code so that it adheres to or standards.

In case for some reason (false positives etc), you want to skip the hooks commit using git commit --no-verify