aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* CHANGES: update for releaseHEAD2.4.3masterBrian Dolbec2020-04-241-0/+7
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* Update version for a releaseBrian Dolbec2020-04-241-1/+1
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* Update .gitignoreBrian Dolbec2020-04-241-0/+2
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* bin/layman: Add development code pythonpath insertBrian Dolbec2020-04-241-0/+6
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* laymansync.pylayman.py: Fix bug 674594 typoBrian Dolbec2020-04-241-1/+1
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* layman/config.py: Fix py3.7, py3.8 ConfigParser errorBrian Dolbec2020-04-241-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>
* Add additional debug statements to trace a py3.7, py3.8 errorBrian Dolbec2020-04-243-6/+19
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* test/external.py: Remove __future__ importsBrian Dolbec2020-04-241-5/+1
| | | | | | Remove unused resetwarnings() call since unittest.main() does a sys.exit() Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* pm_plugins/portage: drop portage._native_kwargs usage (bug 613936)Zac Medico2017-06-221-2/+2
| | | | | | | | The portage._native_kwargs function is not available since portage-2.3.0. X-Gentoo-Bug: 613936 X-Gentoo-Bug-URL: https://bugs.gentoo.org/613936
* Add a .gitignore, remove ols .svn.ignoreBrian Dolbec2017-03-212-2/+7
|
* api.py: Fix typo in string substitution dictionaryBrian Dolbec2017-03-211-1/+1
|
* Merge branch 'master' of git+ssh://git.gentoo.org/proj/laymanBrian Dolbec2017-02-022-2/+3
|\
| * api.py: Moves instantiation of rdb to above for-loopDevan Franchini2017-02-011-1/+2
| | | | | | | | | | | | | | | | | | There is no need to repeatedly connect to the rdb when syncing overlays. We are better off connecting once and querying it whenever we need to. Doing it every time leads us to issues like bug #603296 X-Gentoo-Bug: 603296 X-Gentoo-Bug-URL: https://bugs.gentoo.org/603296
| * argparser.py: Fixed typo in --help outputDevan Franchini2017-02-011-1/+1
| | | | | | | | Thank you dewey for pointing this out.
* | layman/cli.py: Typo fixBrian Dolbec2017-02-021-1/+1
| |
* | Update for a release2.4.2Brian Dolbec2017-02-022-1/+7
|/
* etc/layman.cfg: Add missed @GENTOO_PORTAGE_EPREFIX@ for the repos.conf setttingBenda Xu2017-02-011-1/+1
|
* bin/layman: Adds exception handling on ^c bug 539336Devan Franchini2016-11-091-1/+4
|
* utils.py: Removes catching KeyboardInterruptDevan Franchini2016-11-091-3/+0
| | | | | | As per bug 539336 it's near impossible to kill a stampeding layman process. This was due to the run_command() function which caught the KeyboardInterrupt exception.
* layman/module.py: Fix commit 63808ef00f94 mis-applied 'sourcefile' attribute ↵Brian Dolbec2016-05-101-5/+6
| | | | | | | | | changes It was not looking for the 'sourcefile' attribute first, then falling back to the kidname for backward compatibility. It was incorrectly looking for an ImportError, instead of a 'sourcefile' KeyError. The filepath of the affected file for the error message had an extra leading '_'. Add the module name to the warning message.
* Bumps version number to 2.4.12.4.1Devan Franchini2016-05-093-3/+7
|
* Adds sourcefile var to inits for plug-in modulesDevan Franchini2016-05-0917-1/+25
| | | | | X-Gentoo-Bug: 582154 X-Gentoo-Bug-URL: https://bugs.gentoo.org/582154
* setup.py: Adds DB_MODULES to use_defaults to include them in the dist tarball2.4.0Devan Franchini2016-05-011-0/+1
|
* version.py: Changes version to reflect updateDevan Franchini2016-04-301-1/+1
|
* Added changes to reflect upcoming releaseDevan Franchini2016-04-302-3/+3
|
* Repairs layman-updater rebuild functionalityDevan Franchini2016-04-302-5/+6
| | | | | | reposconf.py: Adds rebuild __init__ parameter to fix rebuild functionality updater.py: Sets rebuild parameter for repos.conf ConfigHandler class
* laymansync: Update module_spec for the change in portage's module.pyBrian Dolbec2016-04-291-0/+1
|
* remotedb.py: Removes climit param for internel _fetch_file() paramsDevan Franchini2016-03-091-2/+2
| | | | | As _fetch_file() is for fetching internal files and does not use ssl-fetch it should not have climit as a parameter.
* remotedb.py: Adds climit param to _fetch_file() definitionDevan Franchini2016-03-091-1/+1
| | | | | Following up on the updating of ssl-fetch's API update in commit 5ffbc7ae to make use of climit parameter.
* dbbase.py: adds return value for read_db()Devan Franchini2016-02-291-1/+1
|
* Adds error reporting for db read failuresDevan Franchini2016-02-294-66/+95
| | | | | If the database back-end fails to be read then layman will properly report it and exit without causing an ugly traceback.
* remotedb.py: Update for latest ssl-fetch APIBrian Dolbec2016-01-291-0/+6
|
* module.py: fixes bug where the module_spec module name was not usedDevan Franchini2015-12-301-1/+1
| | | | | This only showed up when the module's target name (filename) was not the same as the modules initialization name.
* remotedb.py: Add climit due to sslfetch API changeBrian Dolbec2015-12-261-3/+3
|
* updater.py: Sets set_db_type installed var to new_nameDevan Franchini2015-11-281-1/+1
| | | | | | Previously the set_db_type function would be passed the old installed database name instead of the new one. This would lead to setting the "installed" variable in the layman config to an incorrect one.
* updater.py: Adds expected "." to database migration check to ensure proper ↵Devan Franchini2015-11-281-1/+1
| | | | backup naming
* dbbase.py: Whitespace cleanupDevan Franchini2015-10-161-3/+3
| | | | | Shamelessly hiding the fact that I'm also ammending the lack of self.db_type use in the remove() function.
* setup.py: Closes bracket for database module appendingDevan Franchini2015-10-161-1/+1
|
* updater.py: Alters the way migrate_database handles an invalid db_typeDevan Franchini2015-10-161-2/+1
| | | | | | Instead of showing the user the error and raising an exception, an alternative method of dying after hitting the error has been implemented.
* dbbase.py: Creates internal function to get database module controllerDevan Franchini2015-10-161-19/+24
| | | | | | This internal function centralizes the functionality of getting the database module controller while also adding in checks to gracefully handle invalid module names.
* setup.py: Makes sqlite database backend optionDevan Franchini2015-10-161-4/+11
|
* Improved grammarPastafarianist2015-09-231-1/+1
| | | | Signed-off-by: Devan Franchini <twitch153@gentoo.org>
* CHANGES: Updates to reflect new changesDevan Franchini2015-09-051-1/+11
|
* Adds documentation for multiple database type supportDevan Franchini2015-09-052-1/+9
|
* api.py: Corrects typo in enable/disable_repo functions()Devan Franchini2015-09-051-2/+2
| | | | References git issue #30.
* overlay.py: Fixes method of assigning owner info if contact attrib is foundDevan Franchini2015-08-271-23/+26
| | | | | | | | Prior to this commit the overlay would not set the owner info if the contact attribute was found, breaking backwards compatibility. To allow for this backwards compatibility while maintaining multiple owner support layman will be defaulting to the "contact" attribute if it is present in any XML overlays.
* Deprecates get_all_info() functionDevan Franchini2015-08-274-105/+22
| | | | | | | | | | | | | | The api function get_all_info() is being deprecated as it was much slower than the get_info_str() function and was no longer used in layman's code. The only instance found making use of it was older test code which has been changed to also use the get_info_str() function. external.py: Deprecates the get_all_info() function and adds multiple owner testing compatibility. api.py: Removes the get_all_info() function. cli.py: Removes commented out use of get_all_info() function. global-overlays.json: Changes structure of 'owner' attribute to reflect changes for multiple owner support.
* overlay.py: Modifies __eq__ attribute requirementsDevan Franchini2015-08-271-2/+2
| | | | | | The previous method still made use of owner_name and owner_email to see if the two were equal while it should've been checking for the "owners" overlay attribute.
* maker.py: Modifies query promptsDevan Franchini2015-08-271-43/+27
| | | | | | These modifications remove a lot of duplicated prompts that were created when trying to prompt the user for an item that could be of more than one value.
* maker.py: Adds multiple owner user queryDevan Franchini2015-08-271-2/+18
|