Gatt is a Gentoo related tool targeted at arch developers, arch testers and power users.
Be the first to post a text review of Gatt. Rate and review a project by clicking thumbs up or thumbs down in the right column.
********************************************************* 2009-07-18 gatt-0.6.4 released by mlangc <mlangc@gmx.at> ********************************************************* 2009-06-18 Matthias Langer <mlangc@gmx.at> * src/pkg_cfg_files/basic_manager.h, src/pkg_cfg_files/grammar.cc, src/atom.cc: Atoms that contain a slot restriction are neither ExactAtoms, nor allowed in gatt managed sections in configuration files. 2009-06-17 Matthias Langer <mlangc@gmx.at> * src/pkg_cfg_files/manager.h, src/pkg_cfg_files/manager.cc, src/actions/uninstall_related.cc, src/actions/stat.cc, src/actions/common.cc, src/actions/common.h, NEWS: Code cleanups and cosmetics. * src/pkg_cfg_files/manager.cc: Don't complain about obsolete entries multiple times. * src/actions/common.cc, src/actions/common.h: Renamed a few classes. 2009-06-16 Christian Faulhammer <fauli@gentoo.org> * NEWS: Document the new features of the keywords template * src/script_generator.cc (Gatt): Exit master script if a sub-script fails. * doc/gatt.texi (Gatt and its command-line options), doc/gatt.1: Document --newuse option. 2009-06-14 Matthias Langer <mlangc@gmx.at> * Doxyfile, doc/gatt.texi, NEWS: Changes related to the fact that we are going to release 0.6.4 soon. 2009-06-13 Matthias Langer <mlangc@gmx.at> * src/tests/t_atom.cc, src/atom.cc, configure.ac: Improved our test for Gatt::Atom and fixed a few bugs in the parser. Switched gatt version to 0.6.4. * src/configuration.cc, src/configuration.h, src/script_generator.cc src/package_manager.cc: Added a new option: "--newuse". 2009-06-12 Matthias Langer <mlangc@gmx.at> * src/package.h, src/atom.h, src/environment.cc, src/tests/t_atom.cc, src/atom.cc, package.cc: Gatt::Atom now understands named SLOT dependencies. This is usefull, as they might appear in configuration files gatt is concerned with. 2009-06-09 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Use --strict option for echangelog, so it aborts on non-trivial changes, this only works with recent versions (>=0.2.6.5) of app-portage/gentoolkit-dev Clean up after an aborted commit and return to previous state. If package directory does not exist, go to category and try update of working copy there. * doc/gatt.texi (Templates): Document exit code for above. Be more verbose in some parts of the manual and rephrase some things carefully. 2009-05-31 Matthias Langer <mlangc@gmx.at> * src/package.cc, src/package.h, src/tests/Makefile.in, src/tests/t_package.cc, src/tests/test_util.h, src/tests/t_pkg_cfg_files.cc, src/tests/t_use_flag.cc, +src/tests/global_ebuild_with_metadata_to_local_tesing_tree.bash src/tests/test_util.cc, src/tests/t_pkg_use_file.cc, +src/tests/test_portdir.tar.bz2, src/tests/package.use.test, +src/tests/test_db_pkg.tar.bz2, src/tests/Makefile.am, src/tests/t_regular_expressions.cc: Fixed the test suite once and for all. * src/package.cc, src/package.h, src/tests/t_package.cc, src/tests/test_util.h, src/tests/test_util.cc, src/tests/test_db_pkg.tar.bz2, src/tests/t_regular_expressions.cc: Our package class now also works for packages that are no longer installed, and where IUSE or SLOT could not be easily obtained by parsing the ebuild. Looking at the ebuild is now a measure of last resort, and should never happen for packages that are not from an overlay. * src/package_manager.cc: Removed "--newuse" from emerge options, as this has unwanted side effects. * src/package.cc: Cosmetics. 2009-05-30 Matthias Langer <mlangc@gmx.at> * src/package_manager.cc, src/util/fs_and_io.cc: Cosmetics. * src/package_manager.cc: Fail more gracefully on unsatisfied USE dependencies. 2009-05-29 Christian Faulhammer <fauli@gentoo.org> * src/package_manager.cc (install): Add --newuse option to remerge to make dependency resolution for EAPI 2 USE dependencies possible on reinstall. 2009-05-05 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Output the package we are working on a bit earlier, so an error is associated with that information. 2009-04-29 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Add --without-mask and --include-dev to repoman QA scan calls, thus doing a deeper check 2009-01-04 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi (Files): The sentence was nearly incomprehensible, now reworded ********************************************************* 2008-12-22 gatt-0.6.3 released by mlangc <mlangc@gmx.at> ********************************************************* 2008-12-19 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi: Change version number to 0.6.3 2008-12-07 Matthias Langer <mlangc@gmx.at> * src/scripts/get_var.0.bash, src/environment.cc src/environment.h, src/configuration.cc, src/configuration.h, src/package_manager.cc: Gatt is now aware of EMERGE_DEFAULT_OPTS. More precisely, this means that gatt calls emerge with '--ignore-emerge-default-opts', and issues a warning, that can be deactivated by setting a value in ~/.gattrc, if EMERGE_DEFAULT_OPTS is set and not empty. Besides of this, we now use "echo -n" instead of printf in get_var.0.bash, to avoid format string related issues. * src/tests/t_package.cc, src/tests/t_pkg_use_file.cc, src/tests/package.use.test: Fix tests. * src/package.h, src/package_manager.cc: Deal with EAPI 2 related failures. * src/configuration.cc, configure.ac: 'version' and 'warn-for-emerge-default-opts' are *not* mutually exclusive. Switched gatt version to 0.6.3. 2008-11-29 Christian Faulhammer <fauli@gentoo.org> * src/regular_expressions.h, templates/post-resolve/keywords, authors, AUTHORS: Update my email address 2008-11-11 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi: Change license to CC-by-nc-sa license. GFDL is much too restrictive 2008-10-31 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords (TMPFILE, TMPOPTIONS) (TMPKEYWORD): Don't use deprecated -t option for mktemp but --tmpdir, remove some unnecessary quotes 2008-10-17 Matthias Langer <mlangc@gmx.at> * src/package_manager.cc: Finally fix libpaludis related stuff. * src/tests/t_use_flag.cc: Fixxor. 2008-10-14 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi: Fixed some typos and changed wording a bit 2008-07-28 Matthias Langer <mlangc@gmx.at> * src/tests/t_pkg_use_file.cc: "=sys-kernel/gentoo-sources-2.6.19-r5" is no longer in portage. 2008-07-28 Matthias Langer <mlangc@gmx.at> * src/atom.cc: Hopefully fixed a PCC related test failure. * src/atom.cc: OK, should be fixed now. What should be learned from that? Don't assume that std::string::compare(...) only returns -1, 0 or 1. Thanks a lot to Brent Baude aka ranger who provided me access to PPC hardware. 2008-07-09 Christian Faulhammer <fauli@gentoo.org> * doc/Makefile.am (EXTRA_DIST): This time we really add TUTORIAL to the Makefiles so it gets installed ************************************************************ 2008-07-09 gatt-0.6.2 released by fauli <fauli@gentoo.org> ************************************************************ 2008-06-27 Matthias Langer <mlangc@gmx.at> * src/arch.cc, AUTHORS: Make gatt happy on SPARC. Thanks to tcunha for the patch. 2008-06-19 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Rephrase some output 2008-06-18 Matthias Langer <mlangc@gmx.at> * src/tests/t_atom.cc, src/package_manager.cc: Do dependency resolution using the same FEATURES as when actually merging packages. 2008-06-17 Matthias Langer <mlangc@gmx.at> * src/configuration.cc: '--help' and '--post-resolve-script-from' are *not* mutually exclusive. ********************************************************* 2008-06-09 gatt-0.6.1 released by mlangc <mlangc@gmx.at> ********************************************************* 2008-06-06 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Fix a typo and make a warning out of a message to be more prominent on the screen 2008-06-05 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi (Templates): Clarify what the -a|--arches option can do for the keywords template * templates/post-resolve/keywords: Rephrase some output Give out architectures which will change keyword 2008-06-03 Matthias Langer <mlangc@gmx.at> * ChangeLog, src/backup_system.cc, src/backup_system.h, src/util/fs_and_io.cc, src/util/fs_and_io.h: Use hidden backup files. If they cannot be stored in the same directory as the original files, gatt will refuse to work (atomic renaming might not be possible at all in this case, because rename does not work across mount points). * +src/scripts/get_var.0.bash, -src/scripts/get_var.bash, src/scripts/Makefile.am, src/environment.cc, src/util/various.cc, configure.ac: Scripts (at the moment only one) that are executed by gatt are now versioned. Their version should be increased every time a non-trivial change is introduced. Why do we need this at all? Well, gatt honors the environment variable GATT_LIBEXEC_DIR only if it cannot find the needed scripts in $libexecdir/gatt (on purpose!). Should an update of gatt depend on script related enhancements, merging it with "test" might fail, if an older version already provides scripts in $libexecdir/gatt. By increasing the version of the scripts, this is avoided. * src/util/fs_and_io.cc: We should be really using hidden backup files now. * src/util/fs_and_io.cc: Don't try to create backups elsewhere as advertised before. * NEWS: Tabs are evil. 2008-05-15 Matthias Langer <mlangc@gmx.at> * src/backup_system.cc, src/backup_system.h, src/util/fs_and_io.cc, src/util/fs_and_io.h: Reverted to the old behaviour in regards to backup files, until I can come up with a real fix. 2008-05-14 Matthias Langer <mlangc@gmx.at> * src/util/fs_and_io.cc: Store temporary in /tmp/ where they belong in order to fix a bug reported by gentoofan23. 2008-05-14 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Move check for PORTDIR_CVS variable out of conditional that will only test in first script. 2008-05-14 Matthias Langer <mlangc@gmx.at> * src/pkg_cfg_files/manager.cc: Cosmetics. 2008-05-12 Matthias Langer <mlangc@gmx.at> * src/environment.cc, src/tests/t_script_generator.cc, src/bug.cc, src/package_manager.cc, src/util/various.cc, src/util/various.h: Util#executeShellCommand(...) has been removed. Util#shExec(...) has been heavily tweaked. * src/util/various.cc: Remove cruft. * +src/scripts, +src/scripts/Makefile.in, +src/scripts/get_var.bash, +src/scripts/Makefile.am, src/environment.cc, src/tests/test_util.h, +src/tests/bash_cfg.test, +src/tests/t_get_variable_from_file_using_bash.cc, src/tests/Makefile.am, src/environment.h, src/Makefile.am, src/util/various.cc, src/util/various.h, configure.ac: Added Util#getVariableFromFileUsingBash(...) and a test for it. * src/package.cc, src/environment.cc, src/Makefile.am, src/util/various.cc, configure.ac, +HACKING, Makefile.am: Some LIBEXECDIR related tweaks. Added HACKING. Actually use Util#getVariableFromFileUsingBash(...) where appropriate. For the user this means, that gatt finally understands shell constructs in make.conf (see bug 163745 comments 3,4). * HACKING: Tweaks. * src/logger.cc: Don't use colors if stdout/stderr is not a terminal. 2008-05-11 Matthias Langer <mlangc@gmx.at> * +src/tests/t_sh_exec.cc, src/Makefile.am, src/util/various.cc, src/util/various.h: Added Util#shExec(...). This is a more sophisticated version of Util#executeShellCommand(...), which is going to be removed. 2008-05-10 Christian Faulhammer <fauli@gentoo.org> * NEWS: Some more sentences, so it looks like something useful 2008-05-10 Matthias Langer <mlangc@gmx.at> * src/util/fs_and_io.cc, src/util/various.cc: Make gcc-4.3 happy again. * src/main.cc, +src/util/sys_call.h, src/util/Makefile.am: Added some stuff, that should be included in a future version of libthrowable. 2008-05-09 Matthias Langer <mlangc@gmx.at> * src/main.cc: Use SA_RESTART (see man sigaction). * src/Makefile.am, src/util/util.cc, src/util/Makefile.in, src/util/util.h, +src/util/fs_and_io.cc, +src/util/fs_and_io.h, src/util/Makefile.am, +src/util/various.cc, +src/util/various.h, src/Makefile.am, src/util/util.cc, src/util/util.h, +src/util/fs_and_io.cc, +src/util/fs_and_io.h, src/util/Makefile.am, +src/util/various.cc, +src/util/various.h: Clean house in src/util. * src/util/util.cc: Prepare to die! * src/Makefile.am, -src/util/util.cc, src/util/Makefile.am: And dead you are... * (lots): src/util/util.h has been removed. 2008-05-04 Matthias Langer <mlangc@gmx.at> * configure, src/backup_system.cc, src/script_generator.cc, ChangeLog, doc/Makefile.in, aclocal.m4: Use <cstring> instead of <string.h>; regenerate and fix autovoodo. * src/tests/t_backup_system.cc: Another gcc-4.3 fix. * src/package.cc: Fix a gcc-4.3 warning. 2008-05-04 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Don't use PORTDIR variable from Portage which is not avaiable in the standard environment, but PORTDIR_CVS which we require anyway. Pointed out by Markus Meier (maekke) by instant messaging 2008-05-03 Christian Faulhammer <fauli@gentoo.org> * src/backup_system.cc, src/exit_status.cc, src/script_generator.cc: Fix compilation with GCC 4.3, provided by Hanno Bck * configure.ac, Doxyfile, doc/gatt.texi: Bump version to 0.6.1 * NEWS: Add an entry for 0.6.1 2008-05-02 Matthias Langer <mlangc@gmx.at> * src/environment.cc: Environment#GetProfileHierachy now should also work with profiles that use multiple parents. * src/environment.cc: Environment#GetProfileHierachy now should return a list of directories that is ordered *exactly* as PMS suggests. Besides, as cycles are not allowed, we terminate if a depth of 1024 is exceeded (should never happen under normal conditions). 2008-03-22 Christian Faulhammer <fauli@gentoo.org> * src/configuration.cc (Configuration::initializeBpoOptionsFromOptDescVec): Fix a typo, reported by gentoofan23 * templates/post-resolve/keywords: Wrap cvs command for tree update with global variables Make more generic message on closing so it looks not that stupid when there always only has been one arch on that bug. Pointed out by gentoofan23 2008-03-16 Christian Faulhammer <fauli@gentoo.org> * doc/Makefile.in (DISTFILES): Add TUTORIAL so it gets added to the distfile. Reported by Richard Freeman in Gentoo bug #213558 * templates/post-resolve/keywords: Make a list of (hopefully) all variables used in the template, including descriptions. Make Manifest generation quiet Comment a bit more LAST_ARCH now uses true|false (and not yes|no) as all other fake booleans do ********************************************************* 2008-03-11 gatt-0.6.0 released by mlangc <mlangc@gmx.at> ********************************************************* 2008-03-10 Matthias Langer <mlangc@gmx.at> * AUTHORS, README, NEWS: Dropped the old README in favor of pointing the user to the texinfo documentation. Prepare for release. * src/tests/t_package.cc, src/pkg_cfg_files/manager.h, src/pkg_cfg_files/manager.cc, NEWS: Cosmetics. * src/actions/stat.cc: Cosmetics, again. 2008-03-10 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Allow recheck when asked for commit, on request of Brent Baude 2008-03-09 Matthias Langer <mlangc@gmx.at> * src/pkg_cfg_files/manager.cc: Fixed a SIGSEGV that may have been triggered by clean (thanks to gentoofan for pointing it out). What has happened: 'stringify("for bug" + 1234)'. Maybe some day the gcc guys may consider to at least emit a compiler warning for mistakes like this. * src/pkg_cfg_files/manager.cc: Another '--clean' related fix. * doc/gatt.1: Updaded the man page (help2man + cosmetics). 2008-03-08 Matthias Langer <mlangc@gmx.at> * src/tests/t_pkg_cfg_files.cc, src/tests/t_regular_expressions.cc, src/pkg_cfg_files/basic_manager.h, src/pkg_cfg_files/grammar.cc, src/pkg_cfg_files/manager.cc, src/regular_expressions.cc, src/regular_expressions.h, src/actions/uninstall_related.cc: Gatt may no longer be tricked into adding sections with illegal names (aka "gatt -g 'foo\nbar' bar/baz-1.2"). Free sections called "outdated", "invalid", "unneeded" or "unapplied" will be rejected. * (lots): Revisited the definitions of "unneeded", "unapplied" in connection with "--stat". Added the new category "not-wanted". Greatly enhaced "--clean" by making it accept "invalid", "unneeded", "unapplied" and "not-wanted". Updated the texinfo-manual to reflect these changes. Gatt should now be able to remove sections, even if they start at the first line of one of the package files (bugfix). Some code cleanups. * configure.ac: Added a check for another boost header. 2008-03-07 Matthias Langer <mlangc@gmx.at> * configure.ac: Check compiler support for CXXFLAGs before adding them. * src/pkg_cfg_files/manager.cc: Dropped support for deprecated section names and attributes. * src/pkg_cfg_files/manager.h, src/pkg_cfg_files/manager.cc: Revisited the definitions and implementations for "--stat unneeded|unapplied". 2008-03-06 Matthias Langer <mlangc@gmx.at> * +src/tests/rx_changelog_entry_header.nmatch.txt, +src/tests/rx_changelog_entry_header.match.txt, src/tests/t_regular_expressions.cc, src/regular_expressions.cc, src/regular_expressions.h, src/tests/Makefile.am: Added Regex::changeLogEntryHeader. * src/tests/rx_changelog_entry_header.match.txt, src/tests/t_regular_expressions.cc, src/regular_expressions.cc, src/regular_expressions.h: Added Regex::changeLogBumpMarker. * src/package.cc, src/regular_expressions.h, src/actions/common.cc, src/package_manager.cc: Package::toPrettyString() now also includes information about who added the package when. Silenced compiler warnings. * doc/gatt.texi: cosmetics. 2008-03-04 Matthias Langer <mlangc@gmx.at> * src/regular_expressions.h, src/configuration.cc, src/configuration.h, src/actions/common.cc: Fixed two typos (fauli,gentoofan). Added an undefined regular expression. 2008-03-03 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi (Templates): Document --action|-t option (Templates): Make a note about libpaludis (Templates): Describe understood environment variables (Examples), (Files): Document post-resolve-script-from * templates/post-resolve/keywords: Regenerate Manifest file, as pointed out by Robert Buchholz Quote all occurences of TMPFILE variable, so spaces can be safely used As suggested by Robert Buchholz, it now understands --action|-t commitonly|bugonly, so individual steps can be done separately A spurious output is not displayed in a check External variables can be set to override the ChangeLog message and the bug comment, requested by Robert Buchholz * configure.ac, doc/gatt.texi: Bump version to 0.6.0 2008-03-03 Matthias Langer <mlangc@gmx.at> * src/main.cc: Handle paludis exceptions. Fail more verbosely if paludis is not configured properly. * src/configure.ac: "--disable-libpaludis" should actually not enable it. * src/configuration.cc, src/configuration.h, src/actions/uninstall_related.cc: Support "post-resolve-script-from = foobar" in ~/.gattrc. The value of this option is treated like "--script-from" and can be overridden by it. 2008-03-02 Matthias Langer <mlangc@gmx.at> * src/package.cc, src/package.h, src/package_manager.cc: Added Package::toPrettyString(). This function is now used when asking the user to select a particular version of a package to be unmasked. * (lots): Added subdirectory makefiles, to make it possible to have identical filenames in different directories; if build with libpaludis support, gatt will now warn if there are missing unstable dependencies. Note that it is planned to do far more sensible things than just emit console messages, but this is the first step in this direction. 2008-03-01 Matthias Langer <mlangc@gmx.at> * src/package_manager.cc: It should no longer be required to have paludis installed with USE="portage". * Doxyfile, src/actions/action.h, src/actions/installation_related.cc, src/bug.cc, src/bug.h, src/package_manager.cc, src/package_manager.h, src/util/util.h: Removed PackageManager::MaskedDependency, as this class has become useless; added Bug::getKeywords(); API-doc updates and fixes. 2008-02-28 Matthias Langer <mlangc@gmx.at> * src/main.cc, src/actions/uninstall_related.cc, src/package_manager.cc, src/package_manager.h: Optionally use libpaludis to evaluate the order in which post-resolve-scripts should be called. 2008-02-28 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Do some checks only in first script (should speed up a bit) and some safety quoting 2008-02-27 Matthias Langer <mlangc@gmx.at> * src/package_manager.cc: Fixed a very annoying bug that may have existed for quite some time: Gatt used to install *all* packages with "--oneshot". 2008-02-26 Matthias Langer <mlangc@gmx.at> * src/actions/action.h: some documentation. * configure.ac: configure does now support "--enable-libpaludis". However, at the moment this option does nothing but checking for paludis and adding appropriate flags. 2008-02-25 Christian Faulhammer <fauli@gentoo.org> * src/package_manager.cc (PackageManager::install): It was not such a great idea to ask for binary packages...so remove it 2008-02-24 Matthias Langer <mlangc@gmx.at> * +src/actions/uninstall_related.h, +src/actions/stat.cc, +src/actions/misc.cc, +src/actions/show_use_desc.h, +src/actions/action.cc, +src/actions/misc.h, +src/actions/stat.h, src/main.cc: Added lot's of Action classes that where located in main.cc before, with the effect, that this file finally looks sane again. 2008-02-24 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Define colours with the help of tput, inspired by a change to emacs-updater from Ulrich Mller 2008-02-24 Matthias Langer <mlangc@gmx.at> * +src/package_manager.h, +src/package_manager.cc: Added a new class called PackageManager. It is meant to help with cleaning up main.cc and should make supporting alternative package managers more easily. * -src/pkg_wizard.h, -src/pkg_wizard.cc: Droped the PkgWizard class as it has been replaced by PackageManager. What you should learn from this: *Wizard classes should always be regarded with suspicion. 2008-02-23 Matthias Langer <mlangc@gmx.at> * Fix tests. * +src/actions/action.h: Will be used for cleaning up main.cc; does nothing at the moment. 2008-02-17 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: repoman should not only scan, but display it in full (functionality changed in newer Portage) Only display header and help messages if we are in the first script Make recognition if other arches are still on the bug robust for multi-arch commits 2008-02-16 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi (Templates): Document --quickndirty|-d * templates/post-resolve/keywords: Add the functionality for the --quickndirty|-d option 2008-02-08 Christian Faulhammer <fauli@gentoo.org> * AUTHORS: Add Lars Weiler * templates/post-resolve/keywords: Save one echo in quiet mode so display does not shift one by one Prepare for --quickndirty|-d option and fix a wrong shift for --quiet operator Arches were not checked for validity in a correct manner, thanks to Brent Baude for pointing that out Quote some variables 2008-02-06 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi (Templates): Note about BSDs not being supported by keywords template (Templates): Describe exit codes (Templates): Describe new paramters --arches|-a and --quiet|-q for keywords template (Templates): PORTDIR_CVS' meaning changed a bit * templates/post-resolve/keywords: Add a new parameter --arches|-a which allows working on multiple architectures at once Add --quiet|-q option to minimize output Test if PORTDIR_CVS points to a valid repository Test if changing to package's directory is possible 2008-02-05 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Display an informational header The version number (including date of change) is now a variable Raised version number to 0.8.1 Make all output functions aware of backslash commands Introducing a proper output for --help parameter Collect all temporary files in one place and make them more robust EKEYWORD is not needed to save output * doc/gatt.texi (Top): Better description of Templates node (Templates): Make a comment in what way the keywords template is described: Not implementation-wise but user interface of generated scripts (Examples): Add -b and -c switches, so people get a hint how they work 2008-02-02 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Prepare for optional arguments to alter standard ChangeLog messages and bug comments extend a message plus the comment add version information Note needed packages (TMPOPTIONS): Force English output * doc/gatt.texi: Nice up a sentence (Examples): Add another example how to read in dozens of packages from a file (Templates): Remove unneeded sections (empty) (Templates): Add sections to describe the default templates (Top): Write a guide how to learn Gatt, remove ifnottex conditionals 2008-01-21 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi: Add Matthias Langer as author (Templates): Warn about local USE flags on the command-line regarding package ordering * doc/TUTORIAL: Warn about local USE flags on the command-line regarding package ordering 2008-01-19 Matthias Langer <mlangc@gmx.at> * doc/gatt.texi (Script generation): Inform people that gatt is broken. * doc/gatt.texi (Understood variables): Clarifications. * doc/gatt.texi (Actions): Clarifications for "--stat". * src/configuration.cc: Changed help string for "--stat". 2008-01-17 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Save the contents of the bug in a temporary file and process that file instead of nagging Bugzilla three times 2008-01-16 Christian Faulhammer <fauli@gentoo.org> * doc/Makefile.am (EXTRA_DIST): Remove _TEXINFOS because they automatically taken into account for make dist * doc/gatt.texi (Gatt and its command-line options): Clarify some statements for better readability 2008-01-15 Matthias Langer <mlangc@gmx.at> * Added doc/texinfo.tex; autovoodoo is happy again. * Gatt now has a homepage -- people should report bugs there. * Remove doc/texinfo.tex -- as it is currently a symlink and it is not yet clear if this should be part of the repo at all. 2008-01-15 Christian Faulhammer <fauli@gentoo.org> * doc/Makefile.am (info_TEXINFOS): Define Info documentation to get it processed properly * doc/gatt.texi (Examples): mark-up an option name so dashes are properly displayed * doc/gatt.1: Add another hyphen to create a dash in NAME field Fix a typo Add a SEE ALSO section to point to Info manual Add an AUTHORS section * doc/gatt.texi: Correct @setfilename setting Update date and copyright information (Gatt and its command-line options): Describe --stat in detail 2008-01-14 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi (Templates): Note that scripts should be immediately used 2008-01-11 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi: Adjust version number to 0.5.1 * doc/gatt.1: Welcome to 2008, too 2008-01-10 Matthias Langer <mlangc@gmx.at> * Added some really nice API to PkgCfgFiles#Manger: Manager#getEntriesByProperty(...) Manager#getOutdatedEntries(...) Manager#getInvalidEntries(...) Manager#getUnneededEntries(...) Manager#getUnappliedEntries(...) * Gatt no longer warns if a package is installed but no longer available and will not dare to drop it from the keyword files when doing --clean. However, this is only an interim solution, as the API mentioned above could be easily used to implement much more sophisticated "--clean". * Used the API above to implement additional arguments for "--stat": gatt --stat unneeded gatt --stat outdated gatt --stat invalid gatt --stat unapplied * Switched version to 0.5.1. 2008-01-09 Matthias Langer <mlangc@gmx.at> * Fixed two minor g++-4.2 warnings. 2008-01-07 Matthias Langer <mlangc@gmx.at> * ported to new 1.2 API of libthrowable 2008-01-04 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Welcome to the year 2008 2008-01-03 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Move function and binary definition near to the top, so all calls are after and not before their definition 2008-01-02 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: make exit with undefined PORTDIR_CVS variable a failure message not just simple echo 2007-12-30 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.1: Adjust arguments parallel to the Texinfo pages * doc/gatt.texi (Gatt and its command-line options): correct argument name for --script-from 2007-12-27 Christian Faulhammer <fauli@gentoo.org> * src/configuration.cc (Configuration::fillOptDescriptionVec): typo fix * AUTHORS: adding my rle * doc/gatt.texi (Templates): Note about handling of special characters in script naming (Examples): "From testing to stable" finished (Top): A note where to direct bug reports to (Gatt and its command-line options): Elaborate on arguments of options and actions 2007-12-26 Christian Faulhammer <fauli@gentoo.org> * doc/TUTORIAL: update on phases where Gatt comes in handy * src/use_flag.h (Gatt): typo fix * src/exceptions.h (Gatt): typo fix * src/use_set.h (Gatt): use flag -> USE flag * src/use_set.cc (Gatt): use flag -> USE flag * src/use_flag.cc (UseFlag::UseFlag): typo fix (UseFlag::grabUseDescForUseExpand): typo fix (UseFlag::initFromName): use flag -> USE flag * src/regular_expressions.h (Gatt): use flag -> USE flag, typo fix * src/configuration.cc (Configuration::fillOptDescriptionVec): use flag -> USE flag (Configuration::checkedOptMapAdd): use flag -> USE flag * doc/gatt.texi: Merge some nodes into one (Templates): Describe now known variables (Templates): Insert section about script generation (Templates): Insert section about script execution (Top): Write an introduction (Examples): Start "From testing to stable" (Examples): Write introduction to example section (Examples): Document examples taken from gatt.1 (Gatt and its command-line options): Clarify subsection title 2007-12-25 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi: Adjust version number and date of change Fix some minor typing errors (package.keywords): extend on bug resolving and refine cleaning section (Templates): Extend chapter and refine structure 2007-12-13 Matthias Langer <mlangc@gmx.at> * Thanks to gentoofan, gatt now features a "--fetchonly" option. 2007-12-12 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: Inform about the position in the script chain 2007-12-11 Christian Faulhammer <fauli@gentoo.org> * src/package.cc (Package::verifyThatPackageExistsAndStoreLocation): Extend message to cover other possible mistakes 2007-12-07 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords: CHANGELOG_MSG for keywording is changed from gerund to participle * doc/TUTORIAL: update to reflect the latest development * templates/post-resolve/keywords: in case of being the last arch and working on a security bug, change BUG_MESSAGE so security team knows that everyone's finished on the bug * src/configuration.cc (Gatt): remove --interactive option (Configuration::getObject): remove --interactive option (Configuration::fillOptDescriptionVec): remove --interactive option * src/configuration.h (Gatt): remove --interactive option 2007-12-06 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.1: remove documentation for --interactive (will not be implemented) * doc/gatt.texi (Options): document --no-user-interaction (Options): remove documentation for --interactive (will not be implemented) 2007-12-06 Matthias Langer <mlangc@gmx.at> * post-resolve scripts should now be always called in the correct order. * Fix tests. * Switched version to 0.5.0_rc1. * Only evaluate the correct order for post-resolve scripts if we are dealing with at least two packages. * It is no longer possible to create free sections that are parsable as depend atoms or are called summary. * Switched version to 0.5.0 at last. * Added and implemented "--no-user-interaction". 2007-12-05 Matthias Langer <mlangc@gmx.at> * doc/gatt.texi: corrected a few typos. 2007-12-01 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi (package.keywords): Change verbatim example to a shorter, better to grasp one (package.keywords): Implement a new structure (package.keywords): Describe the different phases in more detail * templates/post-resolve/keywords: Colours will only be defined and thus used, when we are on stdout and not redirected to a file or whatever 2007-11-28 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi (gattrc): First summary for settings in ~/.gattrc (package.keywords): First draft for description of the modifications of the package.keywords file * templates/post-resolve/keywords: Define colours directly, as functions.sh does not hold them anymore 2007-11-23 Matthias Langer <mlangc@gmx.at> * Fixed Gatt#Atom as it refused to handle some rather strange, but valid atoms like "=dev-tex/tex4ht-20071024_p0140" or "=sys-apps/lshw-02.11.01b". * Switched version to 0.5.0_pre3. 2007-11-14 Christian Faulhammer <fauli@gentoo.org> * src/configuration.cc (Configuration::Configuration): Fix a typing error * ChangeLog: update ChangeLog * doc/gatt.texi: update modification date and version number (Options): Adding all options 2007-11-08 Matthias Langer <mlangc@gmx.at> * Fixed a sloppiness detected by icc-10.0.026. * configure.ac is now aware of ifc. 2007-11-05 Matthias Langer <mlangc@gmx.at> * gatt should now honor "uninstall" also in "slated for removal". * Fixed tests. * gatt no longer changes attributes of already existing entries if used for reinstalling packages. 2007-10-28 Matthias Langer <mlangc@gmx.at> * gatt now also handles entries in package.* correctly that refer to an installed package that is no longer contained in any repository. 2007-10-27 Matthias Langer <mlangc@gmx.at> * Moved Gatt#PkgUseFile to Gatt#PkgCfgFiles#PkgUseFile. * Transformed Gatt#PkgCfgFiles#PkgUseFile into Gatt#PkgCfgFiles#PkgUseFileTemplate -- a class where the grammar is a template parameter and added a convenience typedef. * When gatt asks the user to choose one of multiple unstable dependencies, the listed packages are finally ordered in a sane way. * Punted *all* package related regular expressions; quite some code has been transformed to use Gatt#Atom instead. * "==" fixes, that come from modifying Gatt#Package#toString(). * The README no longer states that gatt doesn't like mplayer. * Switched version to 0.5.0_pre2. * We don't want to see things like "<=www-client/mozilla-firefox-2.0.0.8>" when doing "gatt --stat xyz". * templates/post-resolve/keywords will now be installed. 2007-10-26 Matthias Langer <mlangc@gmx.at> * Gatt#Atom is now in use; that means gatt can finally be used to handle bugs for mplayer and friends. * Gatt#Package#toString() now returns "=x/y-1" instead of "x/y-1"; watch out for broken (error) messages. * gatt now also accepts "# gatt -w 123 =x/y-1". * Switched version to 0.5.0_pre1. * API-doc updates. * Gatt#PkgCfgFiles#DefaultGrammar no longer uses depend atom related regular expressions. * Gatt#Package now inherits from Gatt#ExactAtom. * Punted redundant methods from Gatt#Package. 2007-10-25 Matthias Langer <mlangc@gmx.at> * Implemented some additional functionality for Gatt#Atom. 2007-10-21 Matthias Langer <mlangc@gmx.at> * Gatt#Atom is now fully implemented and (hopefully) PMS conformant (but see gentoo bug 196561). 2007-10-20 Matthias Langer <mlangc@gmx.at> * Implemented and tested Gatt#ExactAtom#compare(...). 2007-10-19 Matthias Langer <mlangc@gmx.at> * Started working on Gatt#Atom. * Gatt#Atom is now implemented except for Atom#match(...). 2007-10-15 Matthias Langer <mlangc@gmx.at> * Fix tests. 2007-10-13 Christian Faulhammer <fauli@gentoo.org> * ChangeLog: emacsify ChangeLog completely (at least the author entries, changes itself too much work) * src/main.cc (installPackages): add -k to emerge options so a possibly existing binary package repository is used 2007-10-12 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords (LAST_ARCH): test for "m" instead of a star, see change in util.cc from today * doc/gatt.texi (Actions): Create a node Actions (Options): Create a node Options (Gatt and its command-line options): Create menu to link to Actions, Options and Files (Examples): Create a node Examples (Files): Create node Files with menu (gattrc): Create node gattrc (package.keywords): Create node package.keywords * src/util/util.cc (packageMaskToString): don't use a star, but the letter m to mark a missing keyword (makes handling in scripts easier for templates) 2007-10-11 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi: added basic Info documentation * doc/TUTORIAL: added TUTORIAL file, taken from article on Planet Gentoo * templates/keywords: added keywording template 2007-09-03 Matthias Langer <mlangc@gmx.at> * Fixed a few formatting issues with the manpage. * Added Thomas G. Anderson aka gentoofan23 to AUTHORS. 2007-09-02 Matthias Langer <mlangc@gmx.at> * Thanks to gentoofan23 and help2man gatt now comes with a minimalistic manpage. 2007-09-01 Matthias Langer <mlangc@gmx.at> * README update. 2007-08-26 Matthias Langer <mlangc@gmx.at> * Added "--no-merge", a new option that prevents gatt from installing/uninstalling packages. * Switched version to 0.4.3. 2007-08-18 Matthias Langer <mlangc@gmx.at> * Gatt now should also work with boost-1.34. * Switched version to 0.4.2. 2007-08-16 Matthias Langer <mlangc@gmx.at> * Removed trace points as the bug we have been after has been fixed. * The memory-exhausted branch has been merged back as the bug we were after has been fixed. 2007-08-15 Matthias Langer <mlangc@gmx.at> * Created the memory exhausted branch and added a shitload of trace-points for debugging. * Done some cleanups, modifications and and doc updates in Gatt#Regex; fixed the 'Memory exhausted' bug. 2007-08-13 Matthias Langer <mlangc@gmx.at> * Performance tweaks to make PkgCfgFiles#Manger#resolveSection(...) work about 2 times faster. * Console output tweaks. * Switched version to 0.4.1. 2007-08-09 Matthias Langer <mlangc@gmx.at> * Generated subscripts now receive the command line arguments that have been passed to the master script. * Fixed a bug that made it possible to run multiple instances of "gatt -w" and/or "gatt -g". * Switched version to 0.4.0. 2007-08-06 Matthias Langer <mlangc@gmx.at> * Added a workaround for a pybugz-0.7.0 oddity. 2007-08-05 Matthias Langer <mlangc@gmx.at> * Gatt#Util#Mapping now provides iterators. * Gatt#Util#Mapping#operator() --> Gatt#Util#Mapping#operatot[]. * Refactoring: /etc/portage/package.* related stuff has been moved to a seperate namespace and has been reorganized. * Switched version to 0.4.0_rc1. 2007-08-04 Matthias Langer <mlangc@gmx.at> * Updated NEWS. * Removed Gatt#PkgFiles. * Switched version to 0.4.0_pre4. 2007-08-03 Matthias Langer <mlangc@gmx.at> * Gatt#PkgCfgFilesManager has replaced Gatt#PkgFiles; that means: - Gatt new features a better and more flexible parser. - Support for "free sections"; see below. - Gatt no longer dies if it encounters packages in the package configuration files, that are not available -- but prints a warning. - "###### slated {" has been deprecated in favour of "###### slated for removal". - Multiple sections with the same name are no longer allowed, without any exceptions. That is true especially for "slated". - '--clean' now removes also entries for packages that are not in the tree. - "## attribute: remerge" is no longer supported. * Added new options: --give-me: install unstable packages and add them to a custom, so called free section (similar to --work-on) --drop: drops free sections (similar to --resolve) * Post-resolve scripts are now called in the same order as the associated entries appear in the keyword files. * The emerge based dependency resolver of gatt now emitts deps in an propably superior order: That is, if you use gatt for package A, that depends und B, where B depends on C, the resolver will return "C B A", and not "A B C", as this was the case before. This is reflected in the keyword files -- and should help users of post-resolve templates that call repoman for stabling packages. * Merging and unmerging packages now is done in one step. * Post-resolve scripts can now be executed from everywhere. 2007-08-02 Matthias Langer <mlangc@gmx.at> * Added and implemented Gatt#PkgCfgFilesManager. 2007-08-01 Matthias Langer <mlangc@gmx.at> * Gatt#PkgCfgFiles --> Gatt#PkgCfgFilesTemplate. * The 'read-only-part' of Gatt#PkgCfgFiles is now implemented and tested. * Gatt#PkgCfgFiles is implemented and tested except for commit(). * Check for additional boost headers in configure.ac. 2007-07-30 Matthias Langer <mlangc@gmx.at> * Added Gatt#PkgCfgGrammarBase, Gatt#PkgCfgDefaultGrammar and Gatt#PkgCfgFiles. * Started implementing Gatt#PkgCfgFiles as well as a test for the new class. 2007-07-29 Matthias Langer <mlangc@gmx.at> * Added /src/util/metafunctions.h with two metafunctions as well as a test for them. * Added Gatt#Util#Mapping as well as a test for the new class. 2007-07-28 Matthias Langer <mlangc@gmx.at> * Gatt no longer produces a completly missleading error message if the package files contain a package that is not in portage. 2007-07-23 Matthias Langer <mlangc@gmx.at> * Gatt will no longer refuse to reinstall packages (fixes todo item 33). * Fixed some cosmetic console output bugs. * Added another boost-header-check to configure.ac. * Fix non-fatal test failures as java ebuilds have been removed. * Enhanced templates/post-resolve/skeleton. * Fixed a typo. 2007-07-22 Matthias Langer <mlangc@gmx.at> * Some cleanup in util/util.cc. * API-doc fixes/improvements. * Added templates/post-resolve/skeleton. * README update. * Switched version to 0.4.0_pre3. 2007-07-20 Matthias Langer <mlangc@gmx.at> * gatt now may parse options from ~/.gattrc; at moment these are: 'template-script-dir' and 'script-dest-path' * Impoved the way scripts are generated; slightly changed the API for templates. * The recently added features are finally documented in the README. * Switched version to 0.4.0_pre2. 2007-07-18 Matthias Langer <mlangc@gmx.at> * Gatt can now generate scripts from templates that are supplied by the user during "--resolve"; look for the "--gen-script-from" option. * Switched version to 0.4.0_pre1. 2007-07-17 Matthias Langer <mlangc@gmx.at> * Introduced the new class ScriptAlikeFile and a test for it. * Improved Gatt#Util#makeTmpBackupFrom(...) to work also when the file we want to backup lies in a ro-directory. * Removed the test for Gatt#ConfigurationFile as this class is deprecated. * Gatt#ConfigurationFile has been removed and has been replaced by Gatt#ScriptAlikeFile. * Switched version to 0.3.5. * Added Gatt#ScriptGenerator. * Added Gatt#PostResolveScriptGenerator. * Added a test for Gatt#ScriptGenerator. * Fixed minor bugs in Gatt#Util#(string/list)ToFile(...). 2007-07-16 Matthias Langer <mlangc@gmx.at> * The base class of all execptions that are thrown by boost#program_options is -- surprise -- boost#program_options#error. With this interesting insight, it was possible to slighty improve the the implementation of Gatt#Configuration. 2007-07-15 Matthias Langer <mlangc@gmx.at> * Improved the output of "gatt --stat summary". * Fixed tests. * Switched version to 0.3.4. 2007-05-01 Matthias Langer <mlangc@gmx.at> * Cosmetics; once again. 2007-04-30 Matthias Langer <mlangc@gmx.at> * Cosmetic improvents to some console messages. 2007-04-11 Matthias Langer <mlangc@gmx.at> * Gatt#UseFlag is now aware of forced and masked USE flags. For now this only means that "gatt --use-desc" produces more accurate output; in the long therm this will be needed for the proper implementation of USE flag related options. * ApiDoc fixes. * Switched version to 0.3.3. 2007-04-08 Matthias Langer <mlangc@gmx.at> * Adapted the regular expressions that match package and depend atoms according to PMS. * Switched version to 0.3.2. 2007-04-07 Matthias Langer <mlangc@gmx.at> * Added Gatt#Environment#getProfileHierarchy(). * Changed the naming convention for enums. * Gatt#Package#isMaskedByProfile() should now at leat in theory confirm to PMS. * Updated test data for USE flag related stuff. * Gatt#Regex#useFlag now confirms to PMS. 2007-04-06 Matthias Langer <mlangc@gmx.at> * Gatt should no longer leave empty "slated" sections in the package files. 2007-03-23 Matthias Langer <mlangc@gmx.at> * README update. 2007-03-21 Matthias Langer <mlangc@gmx.at> * Fixed a bug that was triggered if "$ readlink /etc/make.profile" returned "../*". * Gatt#UseFlag is now aware of USE_EXPAND. For now this means, that gatt may also be used to extract information, for say "video_cards_nvida". In the long term, this is needed for gatt to be able to manage USE flag related stuff correctly. * Gatt will now longer try to do anything, if ROOT is set to something other than "/". * Switched version to 0.3.1. 2007-03-19 Matthias Langer <mlangc@gmx.at> * Added Gatt#UseFlag#UseFlag(const string&). * Added Gatt#Regex#useOverlayLine and a test for it. 2007-03-15 Matthias Langer <mlangc@gmx.at> * Added a test for Gatt#PkgUseFile. * Implemented Gatt#PkgUseFile. * Added Gatt#Util#isRegularFile(...). * Stick to 'filename' instaed of 'fileName'. * Added Gatt#PackageDoesNotExist. * Use metadate for Gatt#Package#getIUSE() as the value of IUSE in ebuilds cannot be trusted (see vim for an example). * Added Gatt#Test#NonFatalTestFailure. * Minor API-doc improvements. 2007-03-14 Matthias Langer <mlangc@gmx.at> * Started getting serious about package.use support: added and implemeted Gatt#UseSet and a test for it added Gatt::PkgUseFile * Minor modification to the output of "--help" to make it more clear what "--stat" is for. 2007-03-13 Matthias Langer <mlangc@gmx.at> * At least in theory, gatt should now fail more gracefully if confronted with a bug in the portage tree. 2007-03-12 Matthias Langer <mlangc@gmx.at> * Gatt now has a "--stat" option. * "--stat" now also accepts "summary" as argument. * Switched version to 0.3.0. * "--stat" now also accepts "slated" as argument. 2007-03-11 Matthias Langer <mlangc@gmx.at> * Gatt now is able to work with packages that are masked by missing keyword. * Gatt now at least makes sure that "${PORTDIR}/profiles" exists, before generating weird errors because of a h0rked make.conf. * Switched to version 0.2.4. 2007-03-09 Matthias Langer <mlangc@gmx.at> * Gatt#Package#getDefaultMask() now also checks if the package is masked by profile. * Fixed a console output related bug in Gatt#PkgWizard. 2007-03-08 Matthias Langer <mlangc@gmx.at> * We now set the "default_name_check" for boost#filesystem#path globally. 2007-03-07 Matthias Langer <mlangc@gmx.at> * Some minor restucturing in src/main.cc. 2007-02-03 Matthias Langer <mlangc@gmx.at> * Fixed the "glibc-2.5-bug", that was triggered if an ebuild contains multiple values for SLOT. 2007-02-02 Matthias Langer <mlangc@gmx.at> * The warning that gatt displays if it can't verify that it actually knows what "FEATURES" to use on the arch it is started is now more verbose and should no longer lead to misunderstandings. 2007-01-30 Matthias Langer <mlangc@gmx.at> * Deactived a part of t_package.cc as it depends upon a nasty hack that may lead to problems on some systems. 2007-01-26 Matthias Langer <mlangc@gmx.at> * '--verbose' now is really verbose. * Fixed a bug that caused an endless loop in the dependency resolution system under certain conditions. * Switched version to 0.2.3. 2007-01-25 Matthias Langer <mlangc@gmx.at> * Gatt#BackupSystem has been integrated into the program. * Gatt now installs handlers for SIGHUP, SIGINT and SIGTERM that a.) restore config files that may be left in an inconsistent state otherwise b.) remove "/var/run/gatt.pid" if appropriate. * Gatt#BackupSystem now also restores ownership and attributes for the files it handles. 2007-01-24 Matthias Langer <mlangc@gmx.at> * Added Gatt#BackupSystem and wrote a test for it. * Implemented Gatt#BackupSystem. 2007-01-23 Matthias Langer <mlangc@gmx.at> * Adaped the test suite to the ever changing portage tree. * Added Gatt#Arch, a class that wrapps arch specific configuration values. * Gatt no longer modifies make.conf. * Gatt now queries the arch it is used on to choose appropriate FEATURES. 2007-01-08 Matthias Langer <mlangc@gmx.at> * Spotted a bug in gatt, that is triggered when emerge fails unconventionally. While the bug has not yet been fixed due lack of time, the error messages you get if the bug is triggered are much more verbose. 2006-12-25 Matthias Langer <mlangc@gmx.at> * We now have a usefull README. * Added a catch block for another boost#program_options related exception. * Updated NEWS and INSTALL. 2006-12-24 Matthias Langer <mlangc@gmx.at> * Gatt#Package#getSlot() --> Gatt#Package#getSLOT(). * Gatt#Logger now takes care of the width of the current terminal internally. * Added Gatt#InternalProgramError. * Added Gatt#Util#ExitStatus. 2006-12-22 Matthias Langer <mlangc@gmx.at> * Added and implemented a test for Gatt#UseFlag. * Added USE flag related regular expressions to Gatt#Regex and tests for them. * Added Gatt#Package#getIUSE(). * Implemented Gatt#UseFlag. * Added and implemented '--use-desc'. * Fixed another unhandled, boost#program_options realted exception. * Switched version to 0.2.1. * Gatt no longer requests root privileges by default, but as needed. * Switched version to 0.2.2. * '--work' has is now called '--work-on' again. 2006-12-21 Matthias Langer <mlangc@gmx.at> * Gatt now works even if /etc/portage/package.* is a directory. * Packages that are not yet installed are no longer merged with '--oneshot'. * Added src/use_flag.(h|cc). 2006-12-20 Matthias Langer <mlangc@gmx.at> * Gatt now honors attributes in slated sections. * Fixed a bug that might have caused gatt not to install packages. 2006-12-19 Matthias Langer <mlangc@gmx.at> * Improved Gatt#Logger. * Added a check for boost/tokenizer.h. * Added Gatt#Main, and replaced the old, ugly main function. * Implemented '--verbose'. * It should now be possible to add a.) stable packes to a bug b.) specify a list of packges to '--work' * We don't query bugzilla anymore if at least one package atom is provided for '-- work', as bugzilla is slow and down on a regular basis. * Switched version to 0.2.0. * Fixed a minor inconsistency with 'gatt -w'. * Fixed a minor option handling related bug. * Added and implemented '--version'. * Added and implemented '--no-tests'. * Implemented '--quiet'. * Fixed a minor bug in Gatt#PkgFiles. 2006-12-18 Matthias Langer <mlangc@gmx.at> * Gatt#Configuration is now implemented and already in use. * Started working on Gatt#Logger. * A first version of Gatt#Logger has been implemented and is already in use. 2006-12-16 Matthias Langer <mlangc@gmx.at> * Continued with implementing Gatt#Configuration. 2006-12-15 Matthias Langer <mlangc@gmx.at> * Replaced an "ad hoc" bug fix with a more major solution. 2006-12-07 Matthias Langer <mlangc@gmx.at> * Fixed a typo. * If gatt fails because it stubles over a package that has been masked by missing keyword or profile, which is not yet implemented, it includes the package it has problems with in it's error output. 2006-11-28 Matthias Langer <mlangc@gmx.at> * We are now using Gatt#Regex#emergeMaskedDependency in Gatt#PkgWizard instaed of a locally crafted regular expression. This is not only more elegant, but also fixes a bug, that caused gatt not to work with packages that are masked by package.mask. * Fixed a serious bug in Gatt#PkgFiles. * Fixed a minor bug in Gatt#PkgFiles that caused empty slated sections to stay around under certain conditiones. * As this may lead to undefined behaviour for the time beeing, running multiple instances of gatt is no longer possible. 2006-11-27 Matthias Langer <mlangc@gmx.at> * Fixed a bug that caused gatt to exit with an uncaught boost#filesystem_error if trying to work on a package that is contained in a category that was never used before. * Added Gatt#Regex#emergeMaskedDependency and a test for it. 2006-11-20 Matthias Langer <mlangc@gmx.at> * We now use access(char*, int) in Gatt#Util#doWeHaveWritePermissions(...). 2006-11-12 Matthias Langer <mlangc@gmx.at> * Fixed a bug that caused empty slated sections not to be removed. 2006-11-10 Matthias Langer <mlangc@gmx.at> * Emerge packages that are already installed with "--oneshot". * Fixed a nasty SIGSEGV. 2006-11-09 Matthias Langer <mlangc@gmx.at> * Added the exception types Gatt#(InvalidConfiguration|InvalidCommandLine) * Added Gatt#Configuration -- not implemented yet. * Switched version to 0.1.0. * Started implementing Gatt#Configuration. 2006-11-08 Matthias Langer <mlangc@gmx.at> * Worked on Gatt#PkgFiles; implemented gatt --clean. * Code cleanups in Gatt#PkgFiles. * Adapting the internal structure of Gatt#PkgFiles is now complete. 2006-11-07 Matthias Langer <mlangc@gmx.at> * Worked on Gatt#PkgFiles. 2006-11-02 Matthias Langer <mlangc@gmx.at> * Gatt no longer accumulates empty newlines in package.*. * The program now appends an empty newline to package.*. * Modified GPL headers. 2006-11-01 Matthias Langer <mlangc@gmx.at> * Fixed a typo in configure.ac. 2006-10-29 Matthias Langer <mlangc@gmx.at> * We need at least libthrowable-0.9.6 from now on. 2006-10-27 Matthias Langer <mlangc@gmx.at> * Added a test for Gatt#Package#getSlot(). * Added additional -W options; gatt should now compile without a single warning. 2006-10-26 Matthias Langer <mlangc@gmx.at> * Code cleanups mainly in the tests directory. * tests/test_failure_exception.h --> tests/test_failure.h * Don't query bugzilla when the user just wants to resolve a bug locally. * Added new, not yet implemented options. * Gatt should now handle packages that have been removed from portage, but are still installed locally. * Added more tests to configure.ac. * Inform the user when we are running bugz; extract more information from the exit status of bugz. 2006-10-25 Matthias Langer <mlangc@gmx.at> * Gatt#ConfigurationFile is now working. * Gentoo CFLAGS are honored again. * Fixed two (invalid) gcc warnings. * t_config_file now also works when doing distcheck. * Fixed a bug that may have invalidated package.* files. * Fixed a bug that left trailing, empty newlines in package.* files. * The program no longer complains if you want to work on a bug that has an already existing section in package.keywords. * Gatt now ensures that make.conf contains collision-protect and test. * Tweaked the output a bit. * Fixed the gtk+ -- boost#filesystem bug. 2006-10-24 Matthias Langer <mlangc@gmx.at> * The way gatt deals with its options is now much more professional. * Fixed two annoying bugs. * Use "emerge -a ..." when "-p" is missing. * Added Gatt#ConfigurationFile. * Implemented a test for Gatt#ConfigurationFile. 2006-10-23 Matthias Langer <mlangc@gmx.at> * Gatt#Package#getSlot() should now work for all packages that are in portage and for packages from overlays as long as SLOT is defined in the ebuild. * We do now have a first, alpha^2 version of gatt. 2006-10-22 Matthias Langer <mlangc@gmx.at> * Moved regular expressions from Gatt#PkgFiles to Gatt#Regex * Gatt#PkgFiles is now a singleton. * Fixed some issues in Gatt#PkgFiles. * Fixed some g++ warnings. * Started implementing Gatt#Package#isInstalled(). * We now use CXXFLAGS="-Wall" as default. * Added and partially implemented Gatt#Package#getSlot(). 2006-10-21 Matthias Langer <mlangc@gmx.at> * Implemented a first, not yet complete version, of Gatt#Package#getDefaultMask(). * Refactored PkgFiles. * Doxygen now generates include graphs and other fancy stuff like this. * Started implementing Gatt#PkgFiles#resolveBug(...). * Minimalistic but usable versions of Gatt#PkgFiles#resolveBug(...) and Gatt#PkgFiles#commit() have been implemented. 2006-10-20 Matthias Langer <mlangc@gmx.at> * Implemented and checked Gatt#Package#match(...). * Debugged Gatt#Package#match(...); hopefully it works now. * Added Gatt#Environment#getPortdir(). * Added (not yet implemented) Gatt#Package#getDefaultMask(). * Documentation impovements. * Implemented a first, not yet complete version, of Gatt#Package#getDefaultMask(). 2006-10-19 Matthias Langer <mlangc@gmx.at> * gatt now uses libthrowable-0.9.5. * Gatt#PkgAtom --> Gatt#Package * pkg_atom.(h|cc) --> package.(h|cc) * Added src/regular_expressions.(h|cc). * Relocated three 'regular expressions' to the files mentioned above. * Added src/tests/t_regular_expressions.cc, src/tests/rx_package_atom.match.txt, src/tests/rx_package_atom.nmatch.txt. * Fixed a bug in Gatt#Util#fileToList(...). * Reorganized regular expressions; Regex#dependAtom seems to work now. 2006-10-13 Matthias Langer <mlangc@gmx.at> * Implemented PkgFiles#markAsSlaited(...). * Sed session. * Improved configure.ac. * NEWS is no longer empty and the README has been updated. 2006-10-12 Matthias Langer <mlangc@gmx.at> * Init ChangeLog. * Added a check for /usr/bin/bugz to configure.ac. * Revisted PkgFiles#Entry and completed PkgFiles#getEntries(...). * PkgFiles#getEntries(...) should now work. * Bug and PkgAtom now have explicit ctors. * PkgFiles has been refactored and no longer consists mainly of static methods. * Implemented PkgFiles#commit(). * Added .todo (emerge -av devtodo). * Implemented a first version PkgFiles#addEntry(...). * Fixed a critical bug in PkgFiles#commit() that just killed my package.use file :-)
********************************************************* 2008-12-22 gatt-0.6.3 released by mlangc <mlangc@gmx.at> ********************************************************* 2008-12-19 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi: Change version number to 0.6.3 2008-12-07 Matthias Langer <mlangc@gmx.at> * src/scripts/get_var.0.bash, src/environment.cc src/environment.h, src/configuration.cc, src/configuration.h, src/package_manager.cc: Gatt is now aware of EMERGE_DEFAULT_OPTS. More precisely, this means that gatt calls emerge with '--ignore-emerge-default-opts', and issues a warning, that can be deactivated by setting a value in ~/.gattrc, if EMERGE_DEFAULT_OPTS is set and not empty. Besides of this, we now use "echo -n" instead of printf in get_var.0.bash, to avoid format string related issues. * src/tests/t_package.cc, src/tests/t_pkg_use_file.cc, src/tests/package.use.test: Fix tests. * src/package.h, src/package_manager.cc: Deal with EAPI 2 related failures. * src/configuration.cc, configure.ac: 'version' and 'warn-for-emerge-default-opts' are *not* mutually exclusive. Switched gatt version to 0.6.3. 2008-11-29 Christian Faulhammer <fauli@gentoo.org> * src/regular_expressions.h, templates/post-resolve/keywords, authors, AUTHORS: Update my email address 2008-11-11 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi: Change license to CC-by-nc-sa license. GFDL is much too restrictive 2008-10-31 Christian Faulhammer <fauli@gentoo.org> * templates/post-resolve/keywords (TMPFILE, TMPOPTIONS) (TMPKEYWORD): Don't use deprecated -t option for mktemp but --tmpdir, remove some unnecessary quotes 2008-10-17 Matthias Langer <mlangc@gmx.at> * src/package_manager.cc: Finally fix libpaludis related stuff. * src/tests/t_use_flag.cc: Fixxor. 2008-10-14 Christian Faulhammer <fauli@gentoo.org> * doc/gatt.texi: Fixed some typos and changed wording a bit 2008-07-28 Matthias Langer <mlangc@gmx.at> * src/tests/t_pkg_use_file.cc: "=sys-kernel/gentoo-sources-2.6.19-r5" is no longer in portage. 2008-07-28 Matthias Langer <mlangc@gmx.at> * src/atom.cc: Hopefully fixed a PCC related test failure. * src/atom.cc: OK, should be fixed now. What should be learned from that? Don't assume that std::string::compare(...) only returns -1, 0 or 1. Thanks a lot to Brent Baude aka ranger who provided me access to PPC hardware. 2008-07-09 Christian Faulhammer <fauli@gentoo.org> * doc/Makefile.am (EXTRA_DIST): This time we really add TUTORIAL to the Makefiles so it gets installed
This is a maintenance release that contains some bugfixes, as well as minor feature additions. Enjoy!
2008-06-27 Matthias Langer <mlangc@gmx.at> * src/arch.cc, AUTHORS: Make gatt happy on SPARC. Thanks to tcunha for the patch. 2008-06-19 Christian Faulhammer <opfer@gentoo.org> * templates/post-resolve/keywords: Rephrase some output 2008-06-18 Matthias Langer <mlangc@gmx.at> * src/tests/t_atom.cc, src/package_manager.cc: Do dependency resolution using the same FEATURES as when actually merging packages. 2008-06-17 Matthias Langer <mlangc@gmx.at> * src/configuration.cc: '--help' and '--post-resolve-script-from' are *not* mutually exclusive.
********************************************************* 2008-06-09 gatt-0.6.1 released by mlangc <mlangc@gmx.at> ********************************************************* 2008-06-06 Christian Faulhammer <opfer@gentoo.org> * templates/post-resolve/keywords: Fix a typo and make a warning out of a message to be more prominent on the screen 2008-06-05 Christian Faulhammer <opfer@gentoo.org> * doc/gatt.texi (Templates): Clarify what the -a|--arches option can do for the keywords template * templates/post-resolve/keywords: Rephrase some output Give out architectures which will change keyword 2008-06-03 Matthias Langer <mlangc@gmx.at> * ChangeLog, src/backup_system.cc, src/backup_system.h, src/util/fs_and_io.cc, src/util/fs_and_io.h: Use hidden backup files. If they cannot be stored in the same directory as the original files, gatt will refuse to work (atomic renaming might not be possible at all in this case, because rename does not work across mount points). * +src/scripts/get_var.0.bash, -src/scripts/get_var.bash, src/scripts/Makefile.am, src/environment.cc, src/util/various.cc, configure.ac: Scripts (at the moment only one) that are executed by gatt are now versioned. Their version should be increased every time a non-trivial change is introduced. Why do we need this at all? Well, gatt honors the environment variable GATT_LIBEXEC_DIR only if it cannot find the needed scripts in $libexecdir/gatt (on purpose!). Should an update of gatt depend on script related enhancements, merging it with "test" might fail, if an older version already provides scripts in $libexecdir/gatt. By increasing the version of the scripts, this is avoided. * src/util/fs_and_io.cc: We should be really using hidden backup files now. * src/util/fs_and_io.cc: Don't try to create backups elsewhere as advertised before. * NEWS: Tabs are evil. 2008-05-15 Matthias Langer <mlangc@gmx.at> * src/backup_system.cc, src/backup_system.h, src/util/fs_and_io.cc, src/util/fs_and_io.h: Reverted to the old behaviour in regards to backup files, until I can come up with a real fix. 2008-05-14 Matthias Langer <mlangc@gmx.at> * src/util/fs_and_io.cc: Store temporary in /tmp/ where they belong in order to fix a bug reported by gentoofan23. 2008-05-14 Christian Faulhammer <opfer@gentoo.org> * templates/post-resolve/keywords: Move check for PORTDIR_CVS variable out of conditional that will only test in first script. 2008-05-14 Matthias Langer <mlangc@gmx.at> * src/pkg_cfg_files/manager.cc: Cosmetics. 2008-05-12 Matthias Langer <mlangc@gmx.at> * src/environment.cc, src/tests/t_script_generator.cc, src/bug.cc, src/package_manager.cc, src/util/various.cc, src/util/various.h: Util#executeShellCommand(...) has been removed. Util#shExec(...) has been heavily tweaked. * src/util/various.cc: Remove cruft. * +src/scripts, +src/scripts/Makefile.in, +src/scripts/get_var.bash, +src/scripts/Makefile.am, src/environment.cc, src/tests/test_util.h, +src/tests/bash_cfg.test, +src/tests/t_get_variable_from_file_using_bash.cc, src/tests/Makefile.am, src/environment.h, src/Makefile.am, src/util/various.cc, src/util/various.h, configure.ac: Added Util#getVariableFromFileUsingBash(...) and a test for it. * src/package.cc, src/environment.cc, src/Makefile.am, src/util/various.cc, configure.ac, +HACKING, Makefile.am: Some LIBEXECDIR related tweaks. Added HACKING. Actually use Util#getVariableFromFileUsingBash(...) where appropriate. For the user this means, that gatt finally understands shell constructs in make.conf (see bug 163745 comments 3,4). * HACKING: Tweaks. * src/logger.cc: Don't use colors if stdout/stderr is not a terminal. 2008-05-11 Matthias Langer <mlangc@gmx.at> * +src/tests/t_sh_exec.cc, src/Makefile.am, src/util/various.cc, src/util/various.h: Added Util#shExec(...). This is a more sophisticated version of Util#executeShellCommand(...), which is going to be removed. 2008-05-10 Christian Faulhammer <opfer@gentoo.org> * NEWS: Some more sentences, so it looks like something useful 2008-05-10 Matthias Langer <mlangc@gmx.at> * src/util/fs_and_io.cc, src/util/various.cc: Make gcc-4.3 happy again. * src/main.cc, +src/util/sys_call.h, src/util/Makefile.am: Added some stuff, that should be included in a future version of libthrowable. 2008-05-09 Matthias Langer <mlangc@gmx.at> * src/main.cc: Use SA_RESTART (see man sigaction). * src/Makefile.am, src/util/util.cc, src/util/Makefile.in, src/util/util.h, +src/util/fs_and_io.cc, +src/util/fs_and_io.h, src/util/Makefile.am, +src/util/various.cc, +src/util/various.h, src/Makefile.am, src/util/util.cc, src/util/util.h, +src/util/fs_and_io.cc, +src/util/fs_and_io.h, src/util/Makefile.am, +src/util/various.cc, +src/util/various.h: Clean house in src/util. * src/util/util.cc: Prepare to die! * src/Makefile.am, -src/util/util.cc, src/util/Makefile.am: And dead you are... * (lots): src/util/util.h has been removed. 2008-05-04 Matthias Langer <mlangc@gmx.at> * configure, src/backup_system.cc, src/script_generator.cc, ChangeLog, doc/Makefile.in, aclocal.m4: Use <cstring> instead of <string.h>; regenerate and fix autovoodo. * src/tests/t_backup_system.cc: Another gcc-4.3 fix. * src/package.cc: Fix a gcc-4.3 warning. 2008-05-04 Christian Faulhammer <opfer@gentoo.org> * templates/post-resolve/keywords: Don't use PORTDIR variable from Portage which is not avaiable in the standard environment, but PORTDIR_CVS which we require anyway. Pointed out by Markus Meier (maekke) by instant messaging 2008-05-03 Christian Faulhammer <opfer@gentoo.org> * src/backup_system.cc, src/exit_status.cc, src/script_generator.cc: Fix compilation with GCC 4.3, provided by Hanno Bck * configure.ac, Doxyfile, doc/gatt.texi: Bump version to 0.6.1 * NEWS: Add an entry for 0.6.1 2008-05-02 Matthias Langer <mlangc@gmx.at> * src/environment.cc: Environment#GetProfileHierachy now should also work with profiles that use multiple parents. * src/environment.cc: Environment#GetProfileHierachy now should return a list of directories that is ordered *exactly* as PMS suggests. Besides, as cycles are not allowed, we terminate if a depth of 1024 is exceeded (should never happen under normal conditions). 2008-03-22 Christian Faulhammer <opfer@gentoo.org> * src/configuration.cc (Configuration::initializeBpoOptionsFromOptDescVec): Fix a typo, reported by gentoofan23 * templates/post-resolve/keywords: Wrap cvs command for tree update with global variables Make more generic message on closing so it looks not that stupid when there always only has been one arch on that bug. Pointed out by gentoofan23 2008-03-16 Christian Faulhammer <opfer@gentoo.org> * doc/Makefile.in (DISTFILES): Add TUTORIAL so it gets added to the distfile. Reported by Richard Freeman in Gentoo bug #213558 * templates/post-resolve/keywords: Make a list of (hopefully) all variables used in the template, including descriptions. Make Manifest generation quiet Comment a bit more LAST_ARCH now uses true|false (and not yes|no) as all other fake booleans do
this is our first maintenance release. it features some minor improvements and bug fixes. enjoy!
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: