31 lines
991 B
Markdown
31 lines
991 B
Markdown
# Concepts
|
|
## Config
|
|
In python, using functions and args for them
|
|
|
|
|
|
### Packages config
|
|
#### Repos
|
|
- Just use pacman with the list
|
|
|
|
#### AUR
|
|
Users can choose to either use yay (less secure, but easier, using `archmgr.pkgs.aur.add_aur_helper_package`, does not do any checks on the PKGBUILDs) or
|
|
**Explicit management:**
|
|
- User provides package (by creating `archmgr.pkgs.aur.AURPackage` class) and adding its AUR deps. Other deps are resolved automatically
|
|
- Send the package class to the manager using `archmgr.pkgs.aur.add_aur_package`
|
|
- In the future will provide a function that will do the dep resolution automatically.
|
|
- For each and its deps, it will analyze the PKGBUILD for common malware issues. Also add option to display all PKGBUILDs before building
|
|
|
|
### Commands
|
|
- Run the command on the specified hook
|
|
|
|
### Templates
|
|
- Use pystache to replace elements
|
|
|
|
### Themes
|
|
- Use python-colorthief to extract palette
|
|
- Add those as named elements to the templates list
|
|
|
|
|
|
## Init
|
|
- Copy
|