aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adds sourcefile var to inits for plug-in modulesDevan Franchini2016-05-092-0/+2
| | | | | X-Gentoo-Bug: 582154 X-Gentoo-Bug-URL: https://bugs.gentoo.org/582154
* Repairs layman-updater rebuild functionalityDevan Franchini2016-04-301-4/+5
| | | | | | reposconf.py: Adds rebuild __init__ parameter to fix rebuild functionality updater.py: Sets rebuild parameter for repos.conf ConfigHandler class
* reposconf.py: Adds proper disabling of overlays when option is "ALL"Devan Franchini2015-04-201-3/+5
| | | | | X-Gentoo-Bug: 546852 X-Gentoo-Bug-URL: https://bugs.gentoo.org/546852
* reposconf.py: Adds check to prevent conf_path false negativeDevan Franchini2015-03-241-1/+2
| | | | | | | | | | | | In the check_conf_path() function if the file did not previously exist and you tried to write to the repos.conf file specified by repos_conf it would generate a false negative declaring that repos_conf is a directory when it should be a file. This is clearly not the case and remedied by calling os.access () in conjunction with os.path.isfile () prior to declaring that the target is a directory. X-Gentoo-Bug: 538324 X-Gentoo-Bug-URL: https://bugs.gentoo.org/538324
* reposconf.py: Adds sanity checking on self.pathDevan Franchini2015-03-241-1/+16
| | | | | | | | A function has been created to properly relay any issues with the sanity of a specified repos_conf path. X-Gentoo-Bug: 538324 X-Gentoo-Bug-URL: https://bugs.gentoo.org/538324
* config_modules/reposconf.py: pyflakes import cleanupBrian Dolbec2015-02-161-2/+0
|
* config_modules/reposconf.py: Fix bug 540012 Errors /layman.conf does not existBrian Dolbec2015-02-161-5/+25
| | | app-portage/layman-2.3.0 - ReposConf: ConfigHandler.read(); Failed to read "/etc/portage/repos.conf/layman.conf.
* makeconf.py: Rewrites overlay names to make.confDevan Franchini2015-02-071-1/+1
| | | | | | If make.conf is not present on the system and layman-updater is ran then the presently installed overlays will be written to the make.conf file.
* config_modules/reposconf/reposconf.py: Sort the overlaysBrian Dolbec2015-02-071-3/+3
|
* reposconf.py: Changes global SYNC_TYPE variable to laymansyncDevan Franchini2015-02-071-2/+3
| | | | Also deletion of laymansync after import.
* reposconf.py: Changes sync_type to SYNC_TYPE to reflect global var standardsDevan Franchini2015-02-041-5/+5
|
* reposconf.py: Adds toggle for auto-sync if sync plugin is not installedDevan Franchini2015-02-041-0/+2
|
* reposconf.py: Rewrites enable() and disable() functionsDevan Franchini2015-02-041-34/+6
| | | | | | | | | | | | The enable() function was cleaned up and the doc string was improved to reflect what the function actually does. The previous behavior of the disable function was completely replaced in favor of being a wrapper for the delete() function. The reasoning behind this is that previously the function would simply "comment" out the section and its lines. This lead to an issue where the config manager would no longer list the sections, causing them to no longer be in the repos.conf file if the file was rewritten to by layman for any reason. So commenting the sections out was more work than needed anyway.
* reposconf.py: Imports sys for hexversion checkDevan Franchini2015-02-041-0/+1
|
* reposconf.py: Modifies disable function to reflect enabled overlay outputDevan Franchini2015-02-041-1/+6
|
* reposconf.py: Adds check to see if it is necessary to add auto_sync to sectionDevan Franchini2015-02-041-2/+4
|
* {config, reposconf}.py: Modifies import strategy for config parserDevan Franchini2015-02-021-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
* reposconf.py: Corrects declaration of self.overlays to overlays parameterDevan Franchini2015-02-021-2/+2
|
* reposconf.py: Modifies sync type name to reflect plugin nameDevan Franchini2015-02-021-1/+1
|
* reposconf.py: Modifies checking for sync-plugin to reflect new plugin nameDevan Franchini2014-12-071-1/+1
|
* reposconf.py: Fixes incorrectly named self.overlays variableDevan Franchini2014-11-301-1/+1
|
* reposconf.py: Adds check to write all ovelays to blank fileDevan Franchini2014-08-281-2/+8
| | | | | | If a user has a blank repos.conf file then a check should be make to ensure that the user has all his/her installed overlays written to that repos.conf file.
* makeconf.py: Ensures disable/enable compatibilityDevan Franchini2014-08-261-5/+12
| | | | | | To reflect the ability to disable or enable an overlay, makeconf.py needed to be able to go from the old style make.conf file to the new style automatically when layman wrote to the make.conf.
* reposconf.py: Modifies options added if sync_type doesn't existDevan Franchini2014-08-171-3/+4
| | | | | To prevent future complaining from portage, the options added to the repos.conf has been changed if the sync_type does not exist.
* reposconf.py: Converts to config plug-in moduleDevan Franchini2014-08-152-0/+211
|
* makeconf.py: Converts to config plug-in moduleDevan Franchini2014-08-152-0/+409
|
* Adds module directory for repo config typesDevan Franchini2014-08-151-0/+0