summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Check length of version['micro'] instead of value.Raul Cuza2011-07-071-1/+1
|
* Add verification that version_info['micro'] is a single digit.Raul Cuza2011-07-071-11/+14
| | | | | | | | | | Because of restrictions in Mac OS X packaging, Bcfg2's Micro and Minor version numbers must be combined into an integer in the OS X package (IFMinorVersion attribute). In order for this to work, the micro version must be an integer, otherwise we'll run into cases where theĀ· IFMinorVersion will not be in sequence with the Bcfg2 Micro and Minor versions.
* Move export2.py ontop of export.py. One export script to rule them all.Raul Cuza2011-07-072-318/+207
|
* Remove extra whitespace from the debian/changelog entry.Raul Cuza2011-07-071-4/+4
|
* Add code to modify osx/Makefile directly so version is no longer discovered.Raul Cuza2011-07-061-1/+9
| | | | osx/Makefile will now have the version variables set when the repo is tagged like other package directories.
* Remove unused veriables.Raul Cuza2011-07-061-4/+0
|
* Replace minorver with dictionary call.Raul Cuza2011-07-061-3/+3
|
* Replace majorver[0:3] with dictionary call.Raul Cuza2011-07-061-2/+2
|
* Replace majorver with version_release.Raul Cuza2011-07-061-4/+4
|
* Derive majorver and minorver from dictionary; Add debug check.Raul Cuza2011-07-061-8/+24
|
* Group verpose output in a more logical way.Raul Cuza2011-07-061-1/+1
|
* Made verbose mode for commands a little more verbose.Raul Cuza2011-07-061-0/+1
|
* Create verbose option for running commands.Raul Cuza2011-07-061-0/+2
| | | | If export2.py -P -v is run, then the diff will be shown.
* Create paranoid mode for export script.Raul Cuza2011-07-061-1/+14
| | | | | | Paranoid mode does not modify the git repository, but does modify the files. This allows git-diff to be used to see what will change when run in regular mode.
* Finish converting find_and_replace calls to use dryrun argument.Raul Cuza2011-07-061-9/+22
| | | | | Set default value to false. Made the find_and_replace calls multilined.
* Extend dry-run mode to file replacementRaul Cuza2011-07-061-19/+35
|
* Add command line options to export tool.Raul Cuza2011-07-061-31/+74
| | | | Run with -h to see all the options.
* Add new version variables to export scriptRaul Cuza2011-07-061-3/+14
|
* Refactor export.py to use main() clause.Raul Cuza2011-07-061-0/+125
| | | | Minimal testing has been done to compare export.py and export2.py.
* export.py: Fix version in debian changelog and docsSol Jerome2011-06-181-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* export.py: Allow to run export from machine with no Bcfg2Sol Jerome2011-06-181-2/+5
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* export.py: Refactor find and replace bitsSol Jerome2011-05-311-33/+28
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* export.py: Update documentation version numbersSol Jerome2011-05-311-0/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Rewrote NagiosGen config to use NagiosGen/config.xml, whichChris St. Pierre2011-05-061-0/+75
| | | | | | | | | | | | understands <Group> and <Client> tags, rather than the client-specific Properties/NagiosGen.xml and the group-specific but limited NagiosGen/parents.xml. Includes schema and bcfg2-lint updates necessary. Wrote conversion tool, nagiosgen-convert.py, which converts everything but the <default/> tag in the old NagiosGen.xml, which cannot be reasonably converted to StructFile format. Also removed a _lot_ of string modification in NagiosGen.py, which should make it a fair bit faster.
* Consolidate PY3K compatibility librariesSol Jerome2011-04-266-33/+9
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* tools: Add full PY3K compatibilitySol Jerome2011-04-267-22/+52
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* export: Fix version quoting in solaris packagingSol Jerome2011-04-251-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* tools: Fixes from a second 2to3 runSol Jerome2011-04-063-5/+14
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* tools: PY3K + PEP8 fixesSol Jerome2011-04-0613-364/+549
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* export.py: Update solaris package versionsSol Jerome2011-02-011-0/+8
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* export: Update version number for reportsSol Jerome2011-01-241-0/+5
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Remove some deprecated toolsSol Jerome2010-12-163-79/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'master' into docsSol Jerome2010-12-051-19/+15
|\
| * export.py: Fix archive creation bug in export scriptSol Jerome2010-11-151-1/+1
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * export.py: Update export script for use with gitSol Jerome2010-11-151-19/+15
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Attempt to build a rpm pkg list with yumFabian Affolter2010-11-091-0/+124
|/
* export.py: Fix changelog formattingSol Jerome2010-09-271-1/+1
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6074 ce84e21b-d406-0410-9b95-82705330c041
* tools/export.py: Attempt to create a more portable export scriptSol Jerome2010-09-261-0/+84
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6069 ce84e21b-d406-0410-9b95-82705330c041
* tools/export.sh: Fix one more variable nameSol Jerome2010-06-091-1/+1
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5913 ce84e21b-d406-0410-9b95-82705330c041
* tools/export.sh: Fix bug in export scriptSol Jerome2010-06-091-5/+5
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5912 ce84e21b-d406-0410-9b95-82705330c041
* export.sh: Don't replace Source0 line in spec fileSol Jerome2010-06-091-1/+0
| | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5910 ce84e21b-d406-0410-9b95-82705330c041
* Version bump to 1.1.0rc2Sol Jerome2010-06-091-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5908 ce84e21b-d406-0410-9b95-82705330c041
* posixunified: Add support for subversion-backed repos (Patch from Tim Laszlo)Sol Jerome2010-05-171-4/+6
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5857 ce84e21b-d406-0410-9b95-82705330c041
* posixunified: Add note with reasoning for not updating Rules in placeSol Jerome2010-04-291-0/+9
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5848 ce84e21b-d406-0410-9b95-82705330c041
* posixunified: Add priority to generate proper xmlSol Jerome2010-03-061-0/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5751 ce84e21b-d406-0410-9b95-82705330c041
* posixunified: Add patch for BoundEntries from Eric McDonaldSol Jerome2010-03-051-0/+27
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5750 ce84e21b-d406-0410-9b95-82705330c041
* tools/posixunified.py: Add more improvements for converting old configurationSol Jerome2010-02-211-4/+22
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5735 ce84e21b-d406-0410-9b95-82705330c041
* tools/export.sh: Fix mktemp usage on OS XSol Jerome2010-01-231-2/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5699 ce84e21b-d406-0410-9b95-82705330c041
* tools/export.sh: Add version bump to export scriptSol Jerome2010-01-131-2/+30
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5677 ce84e21b-d406-0410-9b95-82705330c041
* tools: Fix bcfg2-admin bash completionSol Jerome2009-12-211-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5628 ce84e21b-d406-0410-9b95-82705330c041