Commits

Show all
Author Commit Message Labels Comments Date
Michał Górny
Bump PV to 0.1.
Tags
flaggie-0.1
Michał Górny
Add new variables double-quoted.
Michał Górny
Reverse NewMakeConfFile / MakeConfFile inheritance to simplify.
Michał Górny
Support creating a new make.conf file.
Michał Górny
Mention make.conf support in the README.
Michał Górny
Don't prepend the first flag with unnecessary whitespace.
Michał Górny
Support adding new variables to make.conf.
Michał Górny
Clarify the error message for lack of MakeConfVariable.
Michał Górny
Quote UnquotedWords when to append flags to them.
Michał Górny
Support the simpler case of flag adding.
Michał Górny
Move MakeConfFlag and friends under FlattenedToken ns.
Michał Górny
Fix removing partial flags using '%' action.
Michał Górny
Move __delitem__ implementation to FlattenedToken.
Michał Górny
Set Token.modified as well when partial flag is modified.
Michał Górny
Introduce FlattenedToken-based global flag access API. Instead of using the whole MakeConfVariable like a PackageEntry, iterate over the flattened tokens, casting them into FlattenedToken class (derived from PackageEntry).
Michał Górny
Reuse external PackageEntry API within its implementation. Use the external PackageEntry API within the implementation of its functions instead of the internal one. This will make it reusable for deriving classes.
Michał Górny
Don't store MakeConfVariable references in flattened tokens. That storage was related to the original concept of modification storage, and was abandoned in favor of a more fine-grained control.
Michał Górny
Support creating parent dirs (/etc/portage) if necessary.
Michał Górny
Support switching global flag modifiers via '+' and '-' actions.
Michał Górny
Support Token.flags[].modified properties.
Michał Górny
Transform Token.modified into a property.
Michał Górny
Transform PackageFlag.modifier into a property.
Michał Górny
Support removing global flags through the '%' action.
Michał Górny
Support reading /etc/portage/make.conf as well.
Michał Górny
Support the global '?' action through the new API.
Michał Górny
(Temporarily) return None for non-existent variables in make.conf.
Michał Górny
Support assigning a MakeConfVariable instance to a PackageFileSet. This is a new API for global action support. One does assign a MakeConfVariable instance to PackageFileSet.makeconfvar, and then calling PackageFileSet[None] returns the MakeConfVariable instance.
Michał Górny
Revert the implementation of global action support. This partially reverts commits 09d0fdf9f322e610600d757446efcfa03ed76d45 and bbba31e6c0f8f6df130d299b6a770ea3e62bce3e. The approach of passing additional MakeConf object next to PackageFiles required a lot of changes and duplications in the action handling code. A new approach will be used instead, merging MakeConf partially into PackageFiles.
Michał Górny
Fix re-assembling split-flags into tokens.
Michał Górny
Re-create tokens off flags if modified.
  1. Prev
  2. Next