aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adds sourcefile var to inits for plug-in modulesDevan Franchini2016-05-093-0/+3
| | | | | X-Gentoo-Bug: 582154 X-Gentoo-Bug-URL: https://bugs.gentoo.org/582154
* Adds error reporting for db read failuresDevan Franchini2016-02-293-65/+84
| | | | | If the database back-end fails to be read then layman will properly report it and exit without causing an ugly traceback.
* Adds multiple owner support to layman overlaysDevan Franchini2015-08-271-25/+44
|
* Adds remove parameter to database write() functionDevan Franchini2015-08-153-6/+9
| | | | | | | | | This parameter has been added in order to obtain proper parallelization support for layman sqlite databases. With this additional parameter it prompts the sqlite db module's write function to simply return when removing an overlay, preventing it from re-adding any database entires and causing oddness, run-time errors, or other unwanted badness.
* sqlite_db.py: Modifies owner information gathering methodDevan Franchini2015-08-131-14/+9
| | | | | | Due to the fact that including the owner name isn't necessary layman needed to modify the way it gathered owner information to prevent run-time errors.
* sqlite_db.py: read_db() connects to database with "with" commandDevan Franchini2015-08-051-53/+54
|
* Adds remove function for overlay removal from databasesDevan Franchini2015-08-056-11/+39
| | | | | | sqlite_db.py: Also changes the way in which feeds are gathered in read_db(), this shows the nature of feeds being an unrequired attribute of the overlay.
* Adds SQLite databasing module supportDevan Franchini2015-08-032-0/+356
| | | | | | constants.py: Adds sqlite to list of supported database modules. setup.py: Adds db_modules.sqlite_db.sqlite_db to list of installable modules.
* json_db/__init__.py: Modifies function descriptionsDevan Franchini2015-07-131-2/+2
|
* xml_db/__init__.py: Modifies function descriptionsDevan Franchini2015-07-131-3/+3
|
* json_db.py: Adds JSON databasing support to laymanDevan Franchini2015-07-132-0/+144
|
* xml_db.py: Removes unnecessary __eq__ and __ne__ functionsDevan Franchini2015-07-131-11/+0
| | | | | | These functions are in the DbBase class and will continue to be used in that class. As such there's no need for any DBHandler class to include them in their code.
* Renames db module "xml" to "xml_db"Devan Franchini2015-07-102-4/+4
| | | | This prevents namespace collisions with the required xml class.
* dbbase.py: Modifies read_db function to allow for passing a text parameterDevan Franchini2015-07-091-7/+10
| | | | | | | | This was done to allow for only one read*() function and add compatibility with the way read() was originally set up. xml.py: read_db() is also modified in this file for the same purpose. remotedb.py: changes the calling of self.read() to self.read_db().
* xml.py: Adds XML database handler moduleDevan Franchini2015-07-093-0/+199