Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | layman/config.py: Fix py3.7, py3.8 ConfigParser error | Brian Dolbec | 2020-04-24 | 1 | -1/+1 |
| | | | | | | | Newer pythons require string defaults only. The final config instance variable is either a NoneType or list Signed-off-by: Brian Dolbec <dolsen@gentoo.org> | ||||
* | Removes unnecessary "_db" appendage to db_type var | Devan Franchini | 2015-07-17 | 1 | -1/+1 |
| | | | | | | | To avoid namespace collisions in py2.7 the database modules needed to have "_db" appended to their name. In order to avoid having this ugliness in the user's config file and elsewhere in layman's code the DbBase class simply adds the "_db" portion of the name itself. | ||||
* | Renames db module "xml" to "xml_db" | Devan Franchini | 2015-07-10 | 1 | -1/+1 |
| | | | | This prevents namespace collisions with the required xml class. | ||||
* | layman.cfg, config.py: Adds db_type option to configuration | Devan Franchini | 2015-07-09 | 1 | -0/+1 |
| | |||||
* | Renames protocol_order to protocol_filter | Devan Franchini | 2015-03-26 | 1 | -1/+1 |
| | | | | | | | | | The config/cli flag name "protocol_order" has been changed to "protocol_filter" in an attempt to provide a more suitable name for users. The description of the option has been altered as well to provide a more fitting elaboration on what the option actually does. overlay.py: Calls filter_protocols from self to prevent run-time errors. | ||||
* | config.py: Adds "protocol_order" to config defaults | Devan Franchini | 2015-03-07 | 1 | -0/+1 |
| | |||||
* | config.py: Changes default conf_type to "repos.conf" | Devan Franchini | 2015-03-07 | 1 | -1/+1 |
| | |||||
* | {config, reposconf}.py: Modifies import strategy for config parser | Devan Franchini | 2015-02-02 | 1 | -2/+2 |
| | | | | | | Importing the config parser based on hex version has been implemented to ensure that layman is bringing in the correct config parse class. For more information, see: https://bugs.gentoo.org/528752 | ||||
* | Removes doctest remnants | Devan Franchini | 2014-10-17 | 1 | -10/+0 |
| | |||||
* | config.py: Fixes output use in proxies() | Devan Franchini | 2014-09-20 | 1 | -1/+2 |
| | | | | | | | | This patch was supplied by Maxim Odinintsev (gwynn@devc.net) to properly use layman's output from it's private _options variable. X-Gentoo-Bug: 523258 X-Gentoo-Bug-URL: https://bugs.gentoo.org/523258 | ||||
* | config.py: Blanks out squashfs_command | Devan Franchini | 2014-08-16 | 1 | -2/+3 |
| | | | | | | | | | | | | Due to squashfs not needing to run a command aside from mount and umount (which are handled by the Mounter() class), the config option was set to a blank value. layman.cfg: Reflects change to squashfs_command option with explanation to user. config.py: Also removes clean_tar from the true false check in favor of the clean_archive config option. | ||||
* | config.py: Adds squashfs_* config opts | Devan Franchini | 2014-08-15 | 1 | -0/+4 |
| | |||||
* | Centralizes common archive overlay code | Devan Franchini | 2014-08-15 | 1 | -1/+1 |
| | | | | | | | | | | | This commit brings archive overlay code to one common place, in an attempt to make maintaining and adding archive overlay types to layman much easier. config.py: Alters the clean_tar option to clean_archive. tar.py: Removes doctest tests from tar.py as there is already an existing external.py test. | ||||
* | Fixes hard-coded defaults and EPREFIXIES repos_conf | Devan Franchini | 2014-08-14 | 1 | -1/+1 |
| | | | | | X-Gentoo-Bug: 519922 X-Gentoo-Bug-URL: https://bugs.gentoo.org/519922 | ||||
* | Adds interactive session for unofficial overlay installs | Devan Franchini | 2014-08-13 | 1 | -1/+2 |
| | | | | | | | | | | | In order to improve the communication of the risks taken from installing unofficial overlays, a config option has been created that when enabled will create an interactive session to confirm that the user is aware that they are installing an unofficial overlay. X-Gentoo-Bug: 315359 X-Gentoo-Bug-URL: https://bugs.gentoo.org/315359 | ||||
* | external.py: Adds CreateConfig() test to test suite | Devan Franchini | 2014-08-10 | 1 | -18/+0 |
| | | | | config.py: Removes doctests. | ||||
* | config.py: Adds output attribute for OptionConfig | Devan Franchini | 2014-07-31 | 1 | -0/+5 |
| | |||||
* | config.py: Improves quietness logic for OptionConfig | Devan Franchini | 2014-06-19 | 1 | -2/+2 |
| | | | | This improvement prevents KeyError exceptions. | ||||
* | Adds clean_tar configuration option2.1.0 | Devan Franchini | 2014-06-14 | 1 | -1/+2 |
| | |||||
* | config.py: moves EPREFIX constant to top of file | Devan Franchini | 2014-06-12 | 1 | -9/+7 |
| | |||||
* | config.py: Adds proxies() @property function | Devan Franchini | 2014-06-12 | 1 | -1/+22 |
| | | | | | | | Since remotedb.py and tar.py both made use of the same code that determined available proxies, the code has been moved to a function in config.py and both files have been changed to make use of this function as a value. | ||||
* | overlay.py: adds update() function | Devan Franchini | 2014-06-12 | 1 | -0/+1 |
| | | | | | | | | | | | | To update local database and overlay source urls, this function has been created to allow the overlay.type functions to update their source urls in their own methods. source.py: Adds a stub update() function for overlay types that don't have their own update() function. config.py: Adds a list of supported overlay types that have their own update() methods. | ||||
* | config.py: Adds auto_sync, conf_type, and require_repoconfig | Devan Franchini | 2014-06-12 | 1 | -2/+5 |
| | | | | | Three new options have been added to give users repo config configurability. | ||||
* | config.py: Adds py3 configparser support | Devan Franchini | 2014-06-12 | 1 | -1/+7 |
| | |||||
* | Imports unicode_literals from __future__ | Devan Franchini | 2014-06-02 | 1 | -0/+2 |
| | | | | Adds py2 unicode compatibility to py3. | ||||
* | layman/{config, constants, output}.py: Adds notice level. | Devan Franchini | 2014-05-07 | 1 | -0/+1 |
| | | | | | | | | | The -q flag setting was being ignored by output.notice() calls. Adding note_level to the output.notice() function makes it so that the output will be quieted, if desired. X-Gentoo-Bug: 457726 X-Gentoo-Bug-URL: https://bugs.gentoo.org/457726 | ||||
* | Add new repository type g-sorcery created by Jauhien Piatlicki | Brian Dolbec | 2013-08-18 | 1 | -0/+4 |
| | | | From Gentoo 2013 GSOC project: Framework for automated ebuild generators. | ||||
* | reduce indent level | Brian Dolbec | 2013-08-18 | 1 | -67/+70 |
| | |||||
* | Add https connection verification. | Brian Dolbec | 2013-08-10 | 1 | -1/+2 |
| | |||||
* | Update the repositories.xml urls. | Brian Dolbec | 2013-07-28 | 1 | -3/+3 |
| | |||||
* | split out remotedb to it's own file, add gpg signed list support, some ↵ | Brian Dolbec | 2012-11-18 | 1 | -3/+5 |
| | | | | pyflakes cleanup | ||||
* | revert error introduced in commit 92a545dc6b64bbebfa9bc4c3788f1ae3db058788 | Brian Dolbec | 2012-10-30 | 1 | -1/+1 |
| | |||||
* | Add checking for ROOT in the environment on statup, and setting it in the ↵ | Brian Dolbec | 2012-10-14 | 1 | -19/+27 |
| | | | | | | appropriate paths. Add warnings for not finding the config file and installed db. Fix updaters config file path | ||||
* | Update doctest data for config changes. | Brian Dolbec | 2012-10-07 | 1 | -2/+2 |
| | |||||
* | Add setting the default user name and email when adding new git based ↵ | Brian Dolbec | 2012-10-07 | 1 | -0/+2 |
| | | | | overlays. Bug 433687. | ||||
* | fix the BareConfig not str sub'ing %(configdir)s before calling ↵ | Brian Dolbec | 2012-04-13 | 1 | -4/+9 |
| | | | | read_config(). indent fix in read_config(). | ||||
* | Add news reporting capability to meet GLEP 42 requirement. | Brian Dolbec | 2012-03-10 | 1 | -0/+1 |
| | |||||
* | add news reporting capability when adding/syncing overlays. Bug 388233 | dol-sen | 2011-10-26 | 1 | -0/+2 |
| | |||||
* | rename local_list to installed, create an update function to migrate the change. | dol-sen | 2011-08-24 | 1 | -2/+3 |
| | |||||
* | set some options to the ones passed in that were previously missed. | dol-sen | 2011-08-21 | 1 | -5/+6 |
| | |||||
* | make EPREFIX test code eprefixy proof | dol-sen | 2011-08-09 | 1 | -1/+1 |
| | |||||
* | make it EPREFIX ready | dol-sen | 2011-08-08 | 1 | -11/+20 |
| | |||||
* | fix a bug causing it to not get the correct config path. | dol-sen | 2011-08-06 | 1 | -5/+5 |
| | | | | improve debug messages, set levels to 9 | ||||
* | fix existing tests. add tests for new classes. rename T/F_options to ↵ | dol-sen | 2011-07-22 | 1 | -10/+34 |
| | | | | lowwercase due to ConfigParser making it lowercase, creating a dupe. | ||||
* | fix --quiet option. | dol-sen | 2011-04-30 | 1 | -3/+3 |
| | |||||
* | Add empty add, sync and postsync options to the defaults so they are defined. | dol-sen | 2011-04-29 | 1 | -2/+26 |
| | | | Fixes sync not working due to the addition of them in the code. | ||||
* | add being able to set the OptionConfig defaults as well | Brian Dolbec | 2011-03-26 | 1 | -3/+15 |
| | |||||
* | add a new OptionConfig subclass. | Brian Dolbec | 2011-03-26 | 1 | -4/+39 |
| | | | | improve some debug messages. | ||||
* | separate out ArgsParser to it's own file and subclass BareConfig | Brian Dolbec | 2011-02-23 | 1 | -355/+49 |
| | |||||
* | import Message directly add all options to BareConfig for easy instantiation ↵ | Brian Dolbec | 2011-02-19 | 1 | -6/+9 |
| | | | | with teh desired options. |