summaryrefslogtreecommitdiffstats
path: root/config-db/OpenSLX
Commit message (Collapse)AuthorAgeFilesLines
* unicode deprecated, now sqlite_unicode is usedMichael Janczyk2010-05-181-1/+1
|
* added pbs stuffschmelzs2010-01-121-1/+13
|
* integrated firmware copy process into kernel module process, deleted unused ↵Alexander Hoppe2009-09-042-11/+0Star
| | | | | | attribute an function git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3143 95ad53e4-c205-0410-b2fa-d234c58c8868
* changed default values in attributeRosterAlexander Hoppe2009-08-281-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3138 95ad53e4-c205-0410-b2fa-d234c58c8868
* function for firmwares to be copied to /lib/firmware and attribute ↵Alexander Hoppe2009-08-262-0/+11
| | | | | | ramfs_firmmods git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3133 95ad53e4-c205-0410-b2fa-d234c58c8868
* Having mkdosfs as busybox plugin now ...Dirk von Suchodoletz2009-08-111-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3075 95ad53e4-c205-0410-b2fa-d234c58c8868
* Some experimental stuff (dont use yet) ...Dirk von Suchodoletz2009-08-112-0/+13
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3073 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed sorting of plugins by name in findProblematicValues()Oliver Tappe2009-06-121-1/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2955 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed debug-outputOliver Tappe2009-06-041-1/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2931 95ad53e4-c205-0410-b2fa-d234c58c8868
* Refactored implementation of preboot evironment to support the creationOliver Tappe2009-06-032-6/+38
| | | | | | | | | | | | | | of several preboot media from a single preboot client: * added new client attribute preboot_media which holds the list of media that shall be created for that preboot client (currently, only 'cd' is known) * the boot_type value 'preboot_cd' has been renamed to 'preboot' * db-schema has been bumped to 0.36 to adjust the db-contents to the new expectations * adjusted config-demuxer accordingly git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2929 95ad53e4-c205-0410-b2fa-d234c58c8868
* * pxe_prefix_ip supportSebastian Schmelzer2009-03-101-12/+27
| | | | | | | | | Usage: slxconfig change-system <system> pxe_prefix_ip=<ip> Result: sets <ip>:: prefixes for initramfs/kernel and if no boot_uri is set it adds file://<ip> to the pxe menu git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2706 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed potential warning about undefined value during DB-schema upgradeOliver Tappe2008-10-081-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2270 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed default value for boot_type as that field no longer exists (itOliver Tappe2008-09-041-6/+0Star
| | | | | | now is an attribute with automatic default value) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2206 95ad53e4-c205-0410-b2fa-d234c58c8868
* * turned the client fields 'boot_type','unbootable' and 'kernel_params' as well Oliver Tappe2008-09-043-110/+206
| | | | | | | | as the system fields 'kernel_params' and 'hidden' into attributes * added client-only attribute 'boot_uri' which will soon be evaluated by the preboot-cd boot environment git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2205 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cleaned all attributes that are marked obsolete by ticket #243 and a coupleOliver Tappe2008-08-202-183/+89Star
| | | | | | | | | more (see #243 for the list) * added all non-plugin-attrs into the hash-value that is being used to determine changes to the set of attributes & plugins git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2056 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixed two more problems exposed by mysql:Oliver Tappe2008-07-172-4/+8
| | | | | | | | * non-numeric IDs (like in the global_info table) were not handled properly * mysql needs to auto-reconnect to bypass problems related to forking while database connections are kept open git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1934 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problem a least one database server (mysql) not being able to startOliver Tappe2008-07-171-5/+18
| | | | | | with an auto-increment value of 0 (for "<<<default>>>" entries) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1932 95ad53e4-c205-0410-b2fa-d234c58c8868
* Implemented a better algorithm for keeping the plugins and the referencesOliver Tappe2008-06-033-9/+62
| | | | | | | | | | | to them (and their attributes) in the DB in sync: * The DB now keeps a hash-value for the list of known plugins and their attributes and checks this value against the current one on every connect. If the values do not match, the DB is brought up-to-date automatically (i.e. the attributes are synchronized with the systems, clients and groups). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1837 95ad53e4-c205-0410-b2fa-d234c58c8868
* * separated synchronization of attributes from removal of stale references,Oliver Tappe2008-06-022-24/+38
| | | | | | | | | as the are in fact two separate concepts (and are invoked from different contexts) * added cleanup-db command to slxconfig which can be used to get rid of references to unknown attributes and/or plugins git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1836 95ad53e4-c205-0410-b2fa-d234c58c8868
* fixed problem reported by Michael:Oliver Tappe2008-06-021-4/+6
| | | | | | | | | * improved robustness of config-demuxer and OSPlugin::Engine with respect to checking of attributes for plugins that no longer exist - now the config-demuxer will no longer fail, but print a warning about non-existing plugins (and their attributes) instead. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1835 95ad53e4-c205-0410-b2fa-d234c58c8868
* * bumped DB-schema version in order to cleanup potential problems afterOliver Tappe2008-06-021-1/+9
| | | | | | the removal of the theme plugin git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1832 95ad53e4-c205-0410-b2fa-d234c58c8868
* * cosmetics: print filename of kernel instead of full path in warning that is Oliver Tappe2008-05-281-1/+2
| | | | | | shown when a kernel is being picked automatically git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1808 95ad53e4-c205-0410-b2fa-d234c58c8868
* * when checking the attributes from within the config-demuxer, we no longer ↵Oliver Tappe2008-05-281-0/+5
| | | | | | | | complain about attributes that belong to plugins which are not installed anyway git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1807 95ad53e4-c205-0410-b2fa-d234c58c8868
* * refactored code for synchronization of attributes (moved from DBSchema to ↵Oliver Tappe2008-05-274-60/+225
| | | | | | | | | | | | ConfigDB) * When doing synchronization of attributes during a schema update, we now look for any stale attributes in system_attr, client_attr, group_attr or installed_plugin_attr and remove all those stale attributes automatically. Additionally, non-existent plugins that are still installed in a vendorOS are removed from that, too. * Updated DB-Schema to 0.31 in order to trigger this automatic cleaning process git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1805 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug that would not allow setting an empty attribute to '0'Oliver Tappe2008-05-251-1/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1801 95ad53e4-c205-0410-b2fa-d234c58c8868
* * heavily redesigned and improved the checking of attributes: instead of dyingOliver Tappe2008-05-241-22/+35
| | | | | | | | | | | on the first error, we now collect all errors and return them. The caller can now decide what to do - die or just print a warning or whatever. * slxconfig now dies with the list of all attribute problems if there were any * slxconfig-demuxer prints warnings for all attribute problems that were found (checking for each system & client in turn) * adjusted desktop plugin to API changes concerning the attribute checks git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1796 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented checking of attributes for groups and clients in slxconfigOliver Tappe2008-05-241-1/+7
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1789 95ad53e4-c205-0410-b2fa-d234c58c8868
* * artifically bumped the schema version to 0.30 in order to trigger a ↵Oliver Tappe2008-05-241-1/+10
| | | | | | | | synchronization of attributes into default system (required since plugins were added & removed) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1788 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug introduced recently that would cause attributes of default system toOliver Tappe2008-05-241-1/+3
| | | | | | | never be removed (which in turn messes up the automatic synchronization of attributes into the default system) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1787 95ad53e4-c205-0410-b2fa-d234c58c8868
* * use Clone::clone instead of Storable::dclone throughout OpenSLX in order ↵Oliver Tappe2008-05-221-3/+3
| | | | | | | | | | to use the same cloning function everywhere * added check for Clone module to Makefile git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1784 95ad53e4-c205-0410-b2fa-d234c58c8868
* * attributes set via slxconfig are now being checked not only against the ↵Oliver Tappe2008-05-221-27/+44
| | | | | | | | | | | | | | respective regex, but the corresponding plugin is being invoked to do a check of its own, too (where it has the chance to look at the vendor-OS attributes and determine the possible stage3-values from their state). * listing a vendor-OS in verbose mode now shows the vendor-OS attributes (stage1 & stage3), too * used Clone::clone instead of Storable::dclone since the latter is not capable of cloning compiled regexes git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1783 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug in slxconfig introduced yesterday that would not allow settingOliver Tappe2008-05-211-2/+41
| | | | | | any attribute that has not come from a plugin (reported by Reiner) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1779 95ad53e4-c205-0410-b2fa-d234c58c8868
* * optimized the methods that set the attributes of a client/group/system toOliver Tappe2008-05-201-46/+114
| | | | | | | only execute required changes (instead of deleting all and then re-adding them with the new values) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1776 95ad53e4-c205-0410-b2fa-d234c58c8868
* * finally corrected algorithm for merging attributes from default-system & ↵Oliver Tappe2008-04-031-7/+8
| | | | | | | | vendor-OS into a specific system - fixing #213 git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1719 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Deactivated DB-schema version 0.28, as it does not work with the currentOliver Tappe2008-03-261-1/+5
| | | | | | | implementation (it tries to access a table which is created in the next DB-schema version). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1696 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Switched indent used in Perl-code and settings files from tabs to 4 spaces.Oliver Tappe2008-03-208-2958/+2958
| | | | | | May need some manual corrections here and there, but should basically be ok. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1658 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed incorrect behaviour with respect to merging of plugin attributes:Oliver Tappe2008-03-181-3/+4
| | | | | | | we need to push them over the attributes of the default-system, not merge them - reported by Michael git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1653 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed debug outputOliver Tappe2008-03-171-2/+7
| | | | | | | | * fixed problem with respect to writing system attributes: do not filter unset attributes for the default-system, as we want that to show all existing attributes git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1649 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed several bugs in the config-demuxer caused by recent changes in pluginOliver Tappe2008-03-171-7/+28
| | | | | | | | | | | | | | | code (the way plugin info is returned from DB) * Added support to mergeDefaultAttributesIntoSystem() for merging in attributes that are stored in the installed plugins of the corresponding vendor-OS. The new order for system attribute selection is: 1. default client 2. specific system 3. vendor-OS (plugin attributes only) 4. default system git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1648 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added getStage3Attrs()Oliver Tappe2008-03-171-0/+28
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1645 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for stage1 attributes that are stored along each plugin ↵Oliver Tappe2008-03-144-20/+101
| | | | | | | | | installed into a vendor-OS. * an update of the slxos-plugin documentation is still missing (coming soon ;-) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1633 95ad53e4-c205-0410-b2fa-d234c58c8868
* * correct implementation bug that caused last schema change to work only ↵Oliver Tappe2008-02-172-4/+13
| | | | | | | | | half-way: now we can install the default plugins into the default vendor-OS - leading to db schema version 0.28 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1557 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added vendor-OS '<<<default>>>', which holds the plugins which shall beOliver Tappe2008-02-171-1/+15
| | | | | | | | installed automatically into every vendor-OS that is being generated. Currently, the only default-plugin is 'theme'. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1556 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added renaming functionality that upgrades exports and systems that follow Oliver Tappe2008-02-101-1/+24
| | | | | | the old naming scheme (single colon) to the current one (double colon) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1530 95ad53e4-c205-0410-b2fa-d234c58c8868
* * dropped attribute ramfs_screen as it is no longer needed (splashy doesOliver Tappe2008-02-093-32/+24Star
| | | | | | | | | | not need to be given the screen-size) - updating schema version to 0.25 * little code simplification in DBSchema.pm * removed ramfs_screen from all tests * added method removeAttributeByName() to MetaDB in order to be able to remove attributes from the DB in a simple manner git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1528 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed commentOliver Tappe2008-02-091-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1524 95ad53e4-c205-0410-b2fa-d234c58c8868
* * removed debugging outputOliver Tappe2008-01-271-1/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1501 95ad53e4-c205-0410-b2fa-d234c58c8868
* Hopefully finished the adjustments of the tools with respect to themeOliver Tappe2008-01-272-5/+39
| | | | | | | | | | | | | | | | | | naming and other recent discussions of user interface. * adjusted and simplified code to the fact that plugins are now named in all lowercase * slxos-plugin --verbose list now shows description for each plugin and a list of supported attributes * fixed some outstanding issues with respect to lowercasing of plugin names * Separated theme::name into theme::splash, theme::displaymanager and theme::desktop, leading to DB-schema 0.24. Please note that although these attributes exist, currently only theme::splash is being used (the new ones will be used by the reimplemented mkdxsinitrd) * moved some information gathering from OSPlugin::Engine into OSPlugin::Roster, where it belongs git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1500 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed bug that left orphaned installed_plugins when removing a vendor-OSOliver Tappe2008-01-271-0/+9
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1499 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support to getAttrInfo() for selecting only the attributesOliver Tappe2008-01-261-5/+20
| | | | | | matching a given scope (where 'core' means no scope) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1495 95ad53e4-c205-0410-b2fa-d234c58c8868