On 09/05/2020 22:18, Josh Marshall wrote:
This appears that it could be low effort, not interfere with any commands, not really change the interface, and make life easier. Anybody have any thoughts as to whether this would be a good idea or not?
What about the following: ------------>8-----------------------8<-------------------------------- # default to list guix things without --all $ guix rosetta [--package|-p] truc-bidule machin-chose (guix) # Show available translations with --all $ guix rosetta --package|-p [--all|-a] truc-bidule bidule-chouette (ubuntu) bouzin (freebsd) machin-chose (guix) truc-bidule (debian) <- this one being also added by --all trucmuche (centos) truc-machin (fedora, rhel) # default to list guix things without --all $ guix rosetta [--service|-s|--daemon] systemctl restart THING herd restart THING # Show available translations with --all $ guix rosetta [--service|-s|--daemon] [--all|-a] herd status THING systemctl status THING (systemd) rcctl check THING (4.4BSD rc) /etc/init.d/THING status (sysv-init) # default to list guix things without --all $ guix rosetta [--command|-c] yum search THING guix search THING # Show available translations with --all $ guix rosetta [--command|-c] [--all|-a] yum install guix package -i (guix official) guix install (guix alias) apt-get install (debian official) apt install (debian alias) yum install (centos) dnf install (fedora, rhel) $ guix rosetta [--help|-h] guix rosetta [--help|-h] [--package|-p] [--command|-c] [--all|-a] THING* Rosetta stone to help translation of various things between unix dialects. The default mode is to only show translation targeting guix. --help|-h Show this help --all|-a Show all available translations for THING --command|-c Show package manager command translations --service|-s|--daemon Show service, daemon manager translations --package|-p Show package names translations This tool is only giving fuzzy answers that may not be fully accurate. ------------>8-----------------------8<-------------------------------- This would go lovely along the guix foreign distro installer. I'm only (but still only) half-joking, this is a tool I'd have loved to have on multiple occasions, often not on guix. Used googl often being used to approximate it, crudely but effectively. I'm not starting to work on it though, but I'd gladly help anyone who do. -- Vincent Legoll
