User:Digit

From Gentoo Wiki
Jump to:navigation Jump to:search

mergence

"mergence" is Digit's gentoo maintenance scripts.

Note
(as noted in Discussion page:) "Practicing out of the way before making changes elsewhere on the wiki. Tips how to better deploy advice of wiki.gentoo.org/wiki/Help:Formatting and wiki.gentoo.org/wiki/Gentoo_Wiki:Guidelines welcome"
Tip
tldr: premerg syncs, pretence previews, mergence upgrades and extras. Simple package manager wrapper script.
Important
mergence has not been updated for years, and was written by an incomptent newbie (User:Digit). So it was probably wrong back then, and only drifted more wrong in maintenance and development neglect. mergence is provided here "as-is", merely to let Digit practice editing the wiki somewhere out of the way. Do not take it as a serious piece of kit to live by.
Warning
Not advisable to attempt to manage a gentoo system with mergence alone. You still need to use the tools mergence uses, tools not in mergence, the handbook/wiki and your brain.

source git:

https://notabug.org/digit/mergence

mergence contains:

mergence itself

a script to update and maintain gentoo.
includes a world emerge, and more
revdep-rebuild, eclean, etc-update, emaint, haskell updater...

premerg

syncs.
+ layman, eix-sync, glsa-check

pretence

previews the main bulk of what mergence would do.
just the world emerge preview,
does not include preview of haskell updates etc.


mergence use

using permerg

root #premerg

using pretence

user $pretence
Note
no root privileges required to run pretence

using mergence itself

root #mergence

Installation

Get the scripts.

Acquire the scripts, e.g. copy pasta from the web, or, via git:

Copy the scripts

Copy the scripts to somewhere in your $PATH. E.g. if the git command has just been run, simply:

root #cp mergence/mergence /bin/
root #cp mergence/premerg /bin/
root #cp mergence/pretence /bin/
Important
Ensure premerg and mergence are in root user's $PATH.

Make the scripts executable

root #chmod +x /bin/mergence
root #chmod +x /bin/premerg
root #chmod a+x /bin/pretence
Note
sudo is included in the commands by default, so, adjust how you wish to set the executable permissions to suit your system's needs.

Now mergence is installed and ready to use.

Important
Read the scripts before executing, to make sure they are not doing anything you wouldn't want done. It's an easy read. You may want to tweak the commands and their options to better suit your system's needs.