Skip to content

config.toml #1044

@4ndr0666

Description

@4ndr0666

The sample you have on the homepage is small and I cant find too much more corresponding information in the docs that expand on possible variables and parameters. Can you showcase a comprehensive config.toml with all the bells and whistles please? So far this is what I've come up with:

[managers]
  [managers.pacman]
  manager = "pacman"
  command_install = "sudo pacman -S"
  command_update = "sudo pacman -Syu"
  command_remove = "sudo pacman -R"
  command_search = "pacman -Ss"

  [managers.paru]
  manager = "paru"
  command_install = "paru -S"
  command_update = "paru -Syu"
  command_remove = "paru -R"
  command_search = "paru -Ss"

[packages]
  [packages.package1]
  manager = "paru"
  package = "package1"
  description = "Package 1 description"
  version = "1.0"
  source = "aur"
  priority = 1
  maintainer = "John Doe"
  website = "https://example.com/package1"
  license = "MIT"
  dependencies = ["dependency1", "dependency2"]
  tags = ["tag1", "tag2"]
  optional = false

  [packages.package2]
  manager = "paru"
  package = "package2"
  description = "Package 2 description"
  version = "2.0"
  source = "aur"
  priority = 2
  maintainer = "Jane Smith"
  website = "https://example.com/package2"
  license = "GPL"
  dependencies = ["dependency3", "dependency4"]
  tags = ["tag3", "tag4"]
  optional = true

[mpm]
  default_manager = "paru"
  default_group = "group1"
  package_install_order = ["package1", "package2"]
  group_install_order = ["group1"]
  managers = ["paru", "poetry"]
  backup_directory = "/home/andro/.config/mpm/"
  config_file = "/home/andro/.config/mpm/config.toml"
  command_timeout = 300
  log_file = "/home/andro/.config/mpm/log/file.log"

[mpm.search]
exact = true
cache_timeout = 
max_results = 

[mpm.exclude]
paths = ["/usr/lib/python3.1.1", "/usr/share/"]
names = ["package1", "package2"]
tags = ["tag1", "tag2"]

[mpm.troubleshooting]
show_params = true

Please correct any errors you see or suggest better alternatives, if yall have a setup please share. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❔ questionFurther information is requested📚 documentationUpdate to non-code (readme, docstrings, typos, …)🙏 help wantedI can't do this alone and need contributors

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions