On Mon, 2026-01-19 at 16:17 +0000, Richard W.M. Jones wrote:
> Augeas is a useful project for editing config files.  It lets you edit
> them programmatically while preserving whitespace and comments.  It
> also has a very large library of file formats that it understands.
> For example:
> 
>   # augtool 
>   augtool> ls /files/etc/
>   abrt/            group/           modprobe.d/      samba/
>   aliases/         host.conf/       mtab/            security/
>   anacrontab/      hostname/        my.cnf/          selinux/
>   at.deny          hosts/           my.cnf.d/        services/
>   avahi/           inittab/         networks/        shells/
>   chrony.conf/     inputrc/         nsswitch.conf/   sos/
>   cron.d/          kdump.conf/      odbc.ini         ssh/
>   cron.deny        kernel/          odbcinst.ini/    sysconfig/
>   crontab/         koji.conf/       os-release/      sysctl.conf/
>   cups/            krb5.conf/       pam.d/           sysctl.d/
>   default/         ld.so.conf/      passwd/          systemd/
>   dnf/             ld.so.conf.d/    php.d/           updatedb.conf/
>   dnsmasq.conf/    libreport/       php.ini/         vconsole.conf/
>   dpkg/            lightdm/         printcap/        X11/
>   environment      locale.conf/     profile.d/       xml/
>   exports          login.defs/      protocols/       yum.repos.d/
>   fonts/           logrotate.conf/  resolv.conf/     
>   fstab/           logrotate.d/     rsyncd.conf/     
>   fuse.conf/       lvm/             rsyslog.conf/    
>   augtool> ls /files/etc/hosts/1/
>   ipaddr = 127.0.0.1
>   canonical = localhost
>   alias[1] = localhost.localdomain
>   alias[2] = localhost4
>   alias[3] = localhost4.localdomain4
>   augtool> rm /files/etc/hosts/1/alias[3]
>   rm : /files/etc/hosts/1/alias[3] 1
>   augtool> ls /files/etc/hosts/1/
>   ipaddr = 127.0.0.1
>   canonical = localhost
>   alias[1] = localhost.localdomain
>   alias[2] = localhost4
> 
> (typing 'save' would update /etc/hosts)
> 
> Anyway, upstream has been less than active for quite a long time,
> although not quite entirely dead.
> 
>   https://github.com/hercules-team/augeas
> 
> We have a few PRs and issues that we'd like to fix, but haven't been
> able to get fixes upstream.  The main ones are:
> 
>   https://github.com/hercules-team/augeas/pull/872
>   https://github.com/hercules-team/augeas/pull/875
>   https://github.com/hercules-team/augeas/pull/849
>   https://github.com/hercules-team/augeas/issues/828
>   https://github.com/hercules-team/augeas/issues/800
> 
> I'm proposing that we do a "soft fork" of Augeas for Fedora, where we
> stick as close as possible to upstream, but add some fixes we need.
> We would aim to fold everything back into upstream Augeas in future,
> and indeed switch back to upstream Augeas if things pick up.
> 
> What does everyone think about this?
> 
> (Also CC-ing the Debian maintainer)
> 
> We could use this repo, or a more neutral one if you have a better
> suggestion:
> 
>   https://github.com/rwmjones/augeas


Why do you need a completely new project, why not just keep a few
downstream patches in fedora's repo ?

Simo.

-- 
Simo Sorce
Distinguished Engineer
RHEL Crypto Team
Red Hat, Inc

-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to