summaryrefslogtreecommitdiffstats
path: root/tools/upgrade/1.3
Commit message (Collapse)AuthorAgeFilesLines
* tools/upgrade: Fix checking for related fieldsAlexander Sulfrian2015-09-291-7/+9
| | | | | If we check for the existance of a related object, newer django versions (>= 1.5) raise a ObjectDoesNotExist exception and we have to handle it.
* Reporting: Do not use django.db.backend in newer django versionsAlexander Sulfrian2015-09-231-6/+11
| | | | | | The private API django.db.backend is deprecated in django 1.7 and removed in django 1.8, so we use another way to get the DatabaseOperations from the connection.
* tools/upgrade: Support multiple databasesAlexander Sulfrian2015-09-231-3/+5
| | | | | Do not use the global django connection object but the matching instance from the django connections list.
* tools/upgrade: Parse the Options before using djangoAlexander Sulfrian2015-09-231-2/+3
| | | | | | We need to go through the Options parsing before we could use django and import the models. The Options parsing will setup django and prepare the required settings.
* tools: components of a Options parser sould be a listAlexander Sulfrian2015-07-201-1/+1
|
* tools: Fix issue introduced in cd14868d with new parser for OptionsAlexander Sulfrian2015-07-202-6/+10
| | | | | | The new parser creates the the full plugin classes out of the options, so we need to use the __name__ attribute to get the name of the plugin and the directory containing the files in the repository.
* Merge branch 'maint'Alexander Sulfrian2014-11-122-0/+55
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/changelog doc/conf.py doc/releases/index.txt doc/server/database.txt doc/server/plugins/generators/cfg.txt doc/server/plugins/generators/sslca.txt man/bcfg2.conf.5 misc/bcfg2-selinux.spec misc/bcfg2.spec osx/Makefile osx/macports/Portfile schemas/packages.xsd solaris-ips/MANIFEST.bcfg2-server.header solaris-ips/MANIFEST.bcfg2.header solaris-ips/Makefile solaris-ips/pkginfo.bcfg2 solaris-ips/pkginfo.bcfg2-server solaris/Makefile solaris/pkginfo.bcfg2 solaris/pkginfo.bcfg2-server src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Proxy.py src/lib/Bcfg2/Client/Tools/APT.py src/lib/Bcfg2/Client/Tools/Action.py src/lib/Bcfg2/Client/Tools/SYSV.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Reporting/Collector.py src/lib/Bcfg2/Reporting/templates/base.html src/lib/Bcfg2/Server/Admin/__init__.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Plugins/Packages/Apt.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/settings.py src/lib/Bcfg2/version.py testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py testsuite/Testsrc/test_code_checks.py
| * SYSV: add a migration tool to change simplename attributes to simplefileMichael Fenn2014-11-072-0/+55
| |
* | Merge branch 'maint'Chris St. Pierre2013-11-121-4/+4
|\| | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Admin/Reports.py src/lib/Bcfg2/Server/Hostbase/hostbase/urls.py src/lib/Bcfg2/Server/Hostbase/urls.py src/sbin/bcfg2-crypt tools/upgrade/1.3/migrate_dbstats.py
| * Fix compatibility with Django 1.6.Simon Ruderich2013-11-111-4/+5
| |
* | Merge branch 'maint'Chris St. Pierre2013-11-112-3/+18
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Admin/Compare.py src/lib/Bcfg2/Server/Admin/Snapshots.py src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugins/Probes.py src/sbin/bcfg2-crypt src/sbin/bcfg2-reports tools/upgrade/1.3/migrate_configs.py tools/upgrade/1.3/migrate_perms_to_mode.py
| * tools: skip ignored files (e.g., .svn) in migrate_perms_to_mode (from Matt ↵Chris St. Pierre2013-11-081-1/+14
| | | | | | | | Baker)
| * tools: fix incorrect reference to config file in migrate_configs.py (from ↵Chris St. Pierre2013-11-081-4/+4
| | | | | | | | Matt Baker)
* | DB: fixed how Django settings are loadedChris St. Pierre2013-10-302-12/+16
| |
* | Options: migrated tools to new parserChris St. Pierre2013-06-275-58/+68
|/
* Merge pull request #81 from kincl/jasons-hackingChris St. Pierre2013-05-282-0/+73
|\ | | | | Upgrade script to move from XML to DB for Probes
| * adding docJason Kincl2013-05-222-0/+10
| |
| * 1.3 Upgrade Tools: Added script to facilitate upgrading from Probe XML to ↵Jason Kincl2013-05-221-0/+63
| | | | | | | | database backend
* | tools: make migrate_info.py migrate "perms" ↵Chris St. Pierre2013-05-221-1/+5
|/ | | | (http://trac.mcs.anl.gov/projects/bcfg2/ticket/1150)
* tools: pylint/pep8 fixesSol Jerome2013-05-101-10/+9
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* tools: write all changed files when migrating perms to modeChris St. Pierre2013-04-161-2/+3
|
* migrate_dbstats: Fix traceback found by jontenSol Jerome2013-03-221-0/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* migrate_perms_to_mode.py: handle info.xml files for SSLCAChris St. Pierre2013-03-211-1/+1
|
* migrate_perms_to_mode.py: gracefully handle unparseable XML filesChris St. Pierre2013-03-201-2/+12
|
* migrate_perms_to_mode.py: really seriously handle nested Path tagsChris St. Pierre2013-03-201-1/+1
|
* migrate_perms_to_mode.py: migrate SSHbase/info.xmlChris St. Pierre2013-03-201-1/+1
|
* migrate_info.py: fixed import of info/:info parsing regexChris St. Pierre2013-03-151-2/+4
|
* migrate_perms_to_mode.py: fixed migration of nested BoundPath entries in bundlesChris St. Pierre2013-03-151-3/+1
|
* add old schema to migrationTim Laszlo2013-01-291-0/+9
|
* Reporting: Allow interactions without a profileTim Laszlo2012-10-291-6/+0
|
* tools: Add migrate_perms_to_mode toolSol Jerome2012-10-262-0/+72
| | | | | | | Helps users to migrate their repositories from the perms attribute to mode. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* migrate_info: Remove trailing whitespaceSol Jerome2012-10-261-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Default to a url friendly group nameTim Laszlo2012-10-171-1/+1
|
* add a higher timeout for caching certain objectsTim Laszlo2012-10-171-1/+1
|
* Revert "migrate_db: skip db lookup since all should be known"Tim Laszlo2012-10-171-5/+5
| | | | | | | | | This caused data duplication on migration. This reverts commit 9707ee8e4c495133f329000d3e5b89d8b84e5998. Conflicts: src/lib/Bcfg2/Reporting/models.py
* Remove perms use in migrate_dbstats.pyTim Laszlo2012-10-171-1/+1
|
* migrate_db: skip db lookup since all should be knownTim Laszlo2012-10-151-5/+5
|
* migrate_db: add timing for importsTim Laszlo2012-10-151-1/+8
|
* migrate_db: set the current interaction after importTim Laszlo2012-10-151-0/+8
|
* migrate: create FilePerms objects earlyTim Laszlo2012-10-121-17/+38
|
* Remove unnecessary transaction.commit_manuallyTim Laszlo2012-10-121-1/+0
|
* migration: fetch metadata in the main queryTim Laszlo2012-10-121-3/+3
|
* migrate: switch to BatchFetch and bypass save() overrideTim Laszlo2012-10-111-2/+4
|
* added migrate_dbstats.py to 1.3 upgrade tools READMEChris St. Pierre2012-10-091-0/+3
|
* made migrate_dbstats.py executableChris St. Pierre2012-10-091-0/+2
|
* add unknown group to groupsTim Laszlo2012-10-091-0/+1
|
* Reporting: Add a migration script for DBStats dataTim Laszlo2012-10-081-7/+29
|
* Admin.Reports: stop calling __call__ in parent classTim Laszlo2012-10-081-0/+230
|
* fixed up tools documentation, added tests for tools docoChris St. Pierre2012-09-041-0/+14
|
* renamed Bcfg2Py3k to CompatChris St. Pierre2012-08-271-1/+1
|