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

Get docs/man page up to date #23

Open
3 tasks
hololeap opened this issue Mar 7, 2025 · 0 comments
Open
3 tasks

Get docs/man page up to date #23

hololeap opened this issue Mar 7, 2025 · 0 comments

Comments

@hololeap
Copy link
Member

hololeap commented Mar 7, 2025

There are several new command-line options and modes available that have not been documented in the README or in the man page:

  • --mode=reinstall-atoms, a.k.a. --reinstall-atoms or -R

    • Uses the relatively unknown --resintall-atoms option for emerge to mark broken packages as "not installed". This helps portage more intelligently handle the depgraph, and allows for adding things like --update to skip masked packages and @world to pull in the larger context.
    • (I would say this is no longer experimental [as I have tested it extensively on my systems], so that language should be removed from the help text)
    • Added in c4d003b
  • --target=world, a.k.a --world or -W

    • Adds @world as a target for emerge (as well as for the looping logic of haskell-updater)
    • Added in c4d003b
  • Custom targets a.k.a. --target=... or -T ...

    • Added in f70e076
    • Changed in 6e250fe to allow mixing/matching with other targets as long as it's using --mode=reinstall-atoms
  • --world-full

    • the same as --target=world but also adds --newuse --with-bdeps=y to the emerge invocation (for convenience)
    • Added in 3a4c515
  • --preserved-rebuild mode

    • similar to the default behavior but adds a @preserved-rebuild target and uses different looping logic
    • Also added in 3a4c515

Todo:

  • Update README
  • Update man page
  • Clean up the --help output a bit (remove the "experimental" part about --mode=reinstall-atoms and give a succinct explanation of why it's useful)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant