Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config.toml #1044

Open
4ndr0666 opened this issue May 23, 2023 · 2 comments
Open

config.toml #1044

4ndr0666 opened this issue May 23, 2023 · 2 comments
Labels
📚 documentation Update to non-code (readme, docstrings, typos, …) 🙏 help wanted I can't do this alone and need contributors ❔ question Further information is requested

Comments

@4ndr0666
Copy link

4ndr0666 commented May 23, 2023

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!

@4ndr0666 4ndr0666 added the 🐛 bug Something isn't working, or a fix is proposed label May 23, 2023
@github-actions github-actions bot added 📚 documentation Update to non-code (readme, docstrings, typos, …) 📦 dependencies Update of dependencies 📦 manager: pacman-based pacaur, pacman, paru, yay 🖥 platform: Linux Linux, Windows Subsystem for Linux v2 🖥 platform: Unix AIX, Cygwin, GNU/Hurd, Solaris, Windows Subsystem for Linux v1 🖥 platform: BSD FreeBSD, NetBSD, OpenBSD, SunOS labels May 23, 2023
@kdeldycke kdeldycke added ❔ question Further information is requested 🙏 help wanted I can't do this alone and need contributors and removed 🖥 platform: Linux Linux, Windows Subsystem for Linux v2 🐛 bug Something isn't working, or a fix is proposed 📦 dependencies Update of dependencies 📦 manager: pacman-based pacaur, pacman, paru, yay 🖥 platform: Unix AIX, Cygwin, GNU/Hurd, Solaris, Windows Subsystem for Linux v1 🖥 platform: BSD FreeBSD, NetBSD, OpenBSD, SunOS labels May 23, 2023
@kdeldycke
Copy link
Owner

This configuration cannot work in the present state of mpm! 😂

Are you a GPT-based bot?

@4ndr0666
Copy link
Author

4ndr0666 commented Aug 8, 2023

Sorry...just now seeing this. Def not a bot, but super excited to see a reply here. It was ghostown for a minute. Would you mind sharing your config or a decent workup with extra bells and whistles please. Thanks for your time and diligence on mpm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 documentation Update to non-code (readme, docstrings, typos, …) 🙏 help wanted I can't do this alone and need contributors ❔ question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants