summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add verification that version_info['micro'] is a single digit.Raul Cuza2011-07-072-12/+15
| | | | | | | | | | 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.
* Merge remote-tracking branch 'upstream/master'Raul Cuza2011-07-072-8/+2
|\
| * bcfg2-admin viz: Remove --raw from documentationHolger Weiß2011-07-062-8/+2
| | | | | | | | | | | | Remove the --raw option from the "bcfg2-admin viz" documentation. The option has been superseeded by the --outfile option which allows for specifying arbitrary output types since commit 476cb9ac76.
* | Merge branch 'master' of github.com:rcuza/bcfg2Raul Cuza2011-07-070-0/+0
|\ \
| * | Correct typo in version variable.Raul Cuza2011-07-071-1/+1
| | |
* | | Correct typo in version variable.Raul Cuza2011-07-071-1/+1
| | |
* | | 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.
* | Prepare osx/Makefile to be changed by export2.pyRaul Cuza2011-07-061-7/+3
| |
* | 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
| |
* | Use sys.version_info instead of string slices to get python version numbers ↵Raul Cuza2011-07-061-3/+3
|\ \ | | | | | | | | | (#lessonsFromY2K).
| * | Finish converting find_and_replace calls to use dryrun argument.Raul Cuza2011-07-051-9/+22
| | | | | | | | | | | | | | | Set default value to false. Made the find_and_replace calls multilined.
| * | Extend dry-run mode to file replacementRaul Cuza2011-07-051-19/+35
| | |
| * | Add command line options to export tool.Raul Cuza2011-07-051-31/+74
| | | | | | | | | | | | Run with -h to see all the options.
| * | Exclude compiled python files from the git repository.Raul Cuza2011-07-051-0/+1
| | |
| * | Add Environment.py file for building classes to gather env data.Raul Cuza2011-07-051-0/+37
| | | | | | | | | | | | | | | | | | Includes Pyversion() class which simplifies getting the Python version that Bcfg2 is running under. It is mostly useful for Python 2 and under, since Python 3 has the handy sys.version_info.{major,minor,...} object.
| * | Add new version variables to export scriptRaul Cuza2011-07-011-3/+14
| | |
| * | Refactor export.py to use main() clause.Raul Cuza2011-07-011-0/+125
| | | | | | | | | | | | Minimal testing has been done to compare export.py and export2.py.
* | | 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.
* | | Exclude compiled python files from the git repository.Raul Cuza2011-07-061-0/+1
| | |
* | | Add Environment.py file for building classes to gather env data.Raul Cuza2011-07-061-0/+37
| | | | | | | | | | | | | | | | | | Includes Pyversion() class which simplifies getting the Python version that Bcfg2 is running under. It is mostly useful for Python 2 and under, since Python 3 has the handy sys.version_info.{major,minor,...} object.
* | | 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.
* | Merge branch 'remove-generators-info' of https://github.com/weiss/bcfg2Sol Jerome2011-07-062-11/+0
|\ \
| * | bcfg2-info: Remove "generators" commandHolger Weiß2011-07-062-11/+0
| | | | | | | | | | | | | | | | | | | | | The command "bcfg2-info generators" didn't spit out anything useful, just an unexpanded $Id$ keyword for each of the current generators. It's been that way for quite some time now, and nobody seemed to miss the command.
* | | Display bcfg2-admin viz parameter errors on stdout instead of syslog.Mike McCallister2011-07-051-1/+1
| | | | | | | | | | | | | | | Also switched to use __longhelp__ instead of __shorthelp__, as __shorthelp__ isn't actually very helpful.
* | | Enhanced bcfg2-admin viz to allow output to be limited to one client.Mike McCallister2011-07-052-21/+48
|/ / | | | | | | | | | | | | | | | | | | By default, bcfg2-admin viz creates a diagram that shows the complete contents of the repository: all Groups, Bundles, and (optionally) Hosts/Clients. In a complicated configuration, this can be an overwhelming amount of information. This change adds an --only-client option that can be used to limit the elements on the diagram to those that apply to the named host.
* | doc: Fix typo in tableSol Jerome2011-07-051-2/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | bcfg2-admin compare: Another few print() cleanupsHolger Weiß2011-07-061-7/+9
| | | | | | | | Indent all output in a consistent way.
* | bcfg2-admin compare -r: Check for removed filesHolger Weiß2011-07-051-0/+6
| | | | | | | | | | When the "-r" flag is used, check for files which are present in the old directory but not in the new directory (not just the other way round).
* | bcfg2-admin compare -r: Clean up the outputHolger Weiß2011-07-051-4/+4
| | | | | | | | Fix the messages which are spit out when the "-r" flag is used.
* | bcfg2-admin compare: Some code cleanupsHolger Weiß2011-07-051-16/+12
| | | | | | | | ... in the compareSpecifications() method.
* | bcfg2-admin compare: Check for removed bundlesHolger Weiß2011-07-051-0/+5
| | | | | | | | | | Check for bundles specified in the old configuration but not in the new configuration (not just the other way round).
* | bcfg2-admin compare: Handle all <Independent> tagsHolger Weiß2011-07-051-6/+5
| | | | | | | | | | If the configuration specifications contain multiple <Independent> tags, compare all of them, not only the first one.
* | bcfg2-admin compare: Straighten the outputHolger Weiß2011-07-051-44/+36
| | | | | | | | | | Iterate only once over the entries of a bundle and print a single two-line message for each differing or missing entry.
* | bcfg2-admin compare: Don't edit list in for loopHolger Weiß2011-07-051-4/+6
| | | | | | | | | | Removing elements from a list while iterating over it (forwards) leads to unexpected results.
* | bcfg2-admin compare: Fix check if tag is knownHolger Weiß2011-07-051-1/+1
| | | | | | | | | | The if statement which checks whether a given tag is known was declared the wrong way round.
* | bcfg2-admin compare: Handle POSIX <Path> entriesHolger Weiß2011-07-051-8/+14
| | | | | | | | | | | | | | | | Let "bcfg2-admin compare" handle POSIX <Path> tags instead of the old-style entries. While at it, add support for all attributes which might show up in configuration specifications.
* | bcfg2-admin compare: Actually do somethingHolger Weiß2011-07-051-0/+1
| | | | | | | | | | The __call__() method now calls self.compareSpecifications() instead of effectively doing nothing.