Python-augeas

Latest version: v1.1.0

Safety actively analyzes 628903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 9

0.7.0

- Support for context-free lenses via the 'let rec' keyword. The syntax
is experimental, though the feature is here to stay. See
lenses/json.aug for an example of what's possible with that.
- Support for case-insensitive regular expressions. Simply append 'i' to
a regexp literal to make it case-insensitive, e.g. /hello/i will match
all variations of hello, regardless of case.
- Major revamp of augtool. In particular, path expressions don't need to
be quoted anymore. The online help has been greatly improved.
- Check during load/save that each file is only matched by one transform
under /augeas/load. If there are multiple transforms for a file, the
file is skipped.
- New error codes AUG_ENOLENS and AUG_EMXFM
- Do not choke on non-existing lens during save
- Change the metadata for files under /augeas/files slightly: the node
/augeas/files/$PATH/lens now has the name of the lens used to load the
file; the source location of that lens has moved to
/augeas/files/$PATH/lens/info
- New public functions fa_nocase, fa_is_nocase, and fa_expand_nocase in
libfa
- Various smaller bug fixes, performance improvements and improved error
messages
- Lens changes/additions
* Cobblersettings: new lens and test (Bryan Kearney)
* Iptables: allow quoted strings as arguments; handle both negation
syntaxes
* Json: lens and tests for generic Json files
* Lokkit: allow '-' in arguments
* Samba: accept entry keys with ':' (Partha Aji)
* Shellvars: allow arrays that span multiple lines
* Xinetd (name): fix bad '-' in character class

0.6.0

- Add error reporting API (aug_error and related calls); use to report
error details in a variety of places
- Path expressions: add regexp matching; add operator '|' to form union
of nodesets (ticket 89)
- Tolerate non-C locales from the environment (ticket 35); it is no
longer necessary to set the locale to C from the outside
- use stpcpy/stpncpy from gnulib (needed for building on Solaris)
- Properly check regexp literals for syntax errors (ticket 93)
- Distribute and install vim syntax files (ticket 97)
- many more bugfixes
- Lens changes/additions
* Apt_preferences: support version pin; filter out empty lines (Matt
Palmer)
* Cron: variables can contain '_' etc. (ticket 94)
* Ethers: new lens for /etc/ethers (Satoru SATOH)
* Fstab: allow '' in spec (ticket 95)
* Group: allow empty password field (ticket 95)
* Inittab: parse end-of-line comments into a comment
* Krb5: support kdc section; add v4_name_convert subsection to
libdefaults (ticket 95)
* Lokkit: add mising eol to forward_port; make argument for --trust
more permissive
* Pam: allow '-' before type
* Postfix_access: new lens for /etc/postfix/access (Partha Aji)
* Rx: allow '!' in device_name
* Sudoers: allow certain backslash-quoted characters in a command (Matt
Palmer)
* Wine: new lens to read Windows registry files

0.5.3

- Match trees on label + value, not just label; see
tests/modules/pass_strip_quotes.aug for how that enables stripping
quotes
- Do not trip over symlinks to files on a different device during save;
fixes problems with writing to /etc/grub.conf on Fedora/RHEL
- API (defnode): always add the newly created node into the resulting
nodeset
- Add preceding-sibling and following-sibling axes to path expressions
- augtool, augparse: add --version option (bug 88)
- Change file info recorded under /augeas/files/FILE/*: remove lens/id
and move lens/info to lens
- Properly record new files under /augeas/files (bug 78)
- aug_load: clean up variables to avoid dangling references (bug 79)
- Make Augeas work on AIX
- Ignore anything but regular files when globbing
- Add 'clear' function to language for use in unit tests
- typechecker: print example trees in tree format
- libfa: properly support regexps with embedded NUL's
- Lens changes/additions
* Xorg: revamped, fixes various parse failures (Matt Booth)
* Inetd: new lens and test (Matt Palmer)
* Multipath: new lens and test
* Slapd: also read /etc/openldap.slapd.conf (bug 85)

0.5.2

- Make Augeas work on Mac OS/X (bug 66) (Anders Bjoerklund)
- reduce symbols exported from libfa with linker script
- add --echo option to augtool
- require Automake 1.11 (Jim Meyering)
- avoid spurious save attempts for freshly read files
- Lens changes/additions
* Inittab: schema change: use 'id' field as name of subtree for a line,
instead of a generated number. Map comments as 'comment' (Matt Palmer)
* Logrotate: make owner/group in create statement optional, allow
filenames to be indented
* Ntp: allow additional options for server etc. (bug 72)
* Shellvars: allow backticks as quote characters (bug 74)
* Yum: also read files in /etc/yum/pluginconf.d (Marc Fournier)

0.5.1

- augeas.h: flag AUG_NO_MODL_AUTOLOAD suppresses initial loading
of modules; exposed as --noautoload in augtool
- augtool: don't prompt when input is not from tty (Raphael Pinson)
- augparse: add --notypecheck option
- path expressions: allow things like '/foo and /bar[3]' in predicates
- Lens changes/additions
* Aliases: map comments as comment (Raphael Pinson)
* Build, Rx, Sep: new utility modules (Raphael Pinson)
* Cron: new lens (Raphael Pinson)
* Dnsmasq: process files in /etc/dnsmasq.d/* (ticket 65)
* Grub: parse kernel and module args into separate nodes; parse
arguments for 'serial', 'terminal', and 'chainloader'; allow
optional argument for 'savedefault'
* Interfaces: make compliant with actual Debian spec (Matt Palmer)
* Iptables: relax regexp for chain names; allow comment lines mixed
in with chains and rules (ticket 51)
* Logrotate: allow '=' as separator (ticket 61); make newline at end
of scriptlet optional
* Modprobe: handle comments at end of line
* Ntp: parse fudge record (Raphael Pinson); parse all directives in
default Fedora ntp.conf; process 'broadcastdelay', 'leapfile',
and enable/disable flags (ticket 62)
* Pbuilder: new lens for Debian's personal builder (Raphael Pinson)
* Php: add default path on Fedora/RHEL (Marc Fournier)
* Squid: handle indented entries (Raphael Pinson)
* Shellvars: map 'export' and 'unset'; map comments as comment
(Raphael Pinson)
* Sudoers: allow backslashes inside values (ticket 60) (Raphael Pinson)
* Vsftpd: map comments as comment; handle empty lines; find
vsftpd.conf on Fedora/RHEL
* Xinetd: map comments as comment (Raphael Pinson)

0.5.0

Not secure
- Clean up interface for libfa; the interface is now considered stable
- New aug_load API call; allows controlling which files to load by
modifying /augeas/load and then calling aug_load; on startup, the
transforms marked with autoload are reported under /augeas/load
- New flag AUG_NO_LOAD for aug_init to keep it from loading files on
startup; add --noload option to augtool
- New API calls aug_defvar and aug_defnode to define variables for
path expressions; exposed as 'defvar' and 'defnode' in augtool
- Lenses distributed with Augeas are now installed in
/usr/share/augeas/lenses/dist, which is searched after
/usr/share/augeas/lenses, so that lenses installed by other packages
take precedence
- New program examples/fadot to draw various finite automata (Francis
Giraldeau)
- Report line number and character offset in the tree when parsing a
file with a lens fails
- Fix error in propagation of dirty flag, which could lead to only
parts of a tree being saved when multiple files were modified
- Flush files to disk before moving them
- Fix a number of memory corruptions in the XPath evaluator
- Several performance improvements in libfa
- Lens changes/additions
* Grub: process embedded comments for update-grub (Raphael Pinson)
* Iptables: new lens for /etc/sysconfig/iptables
* Krb5: new lens for /etc/krb5.conf
* Limits: map dpmain as value of 'domain' node, not as label
(Raphael Pinson)
* Lokkit: new lens for /etc/sysconfig/system-config-firewall
* Modprobe: new lens for /etc/modprobe.d/*
* Sudoers: more finegrained parsing (ticket 48) (Raphael Pinson)

Page 5 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.