summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-reports
Commit message (Collapse)AuthorAgeFilesLines
* bcfg2-reports: rewrote with new option parserChris St. Pierre2013-10-301-277/+3
|
* DB: fixed how Django settings are loadedChris St. Pierre2013-10-301-18/+2
|
* bcfg2-reports: Fix exception handlingSol Jerome2013-04-121-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-reports: fixed name of database config sectionChris St. Pierre2013-03-201-6/+6
|
* bcfg2-reports: dangling reference to old schemaTim Laszlo2012-10-161-1/+1
|
* bcfg2-reports: updated to new schemaTim Laszlo2012-10-151-22/+20
|
* bcfg2-reports: Point to new settings fileSol Jerome2012-08-291-2/+2
| | | | | | The location of the db settings was changed in 8b438fd. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* renamed Bcfg2Py3k to CompatChris St. Pierre2012-08-271-1/+1
|
* bcfg2-reports: pull good entries from the databaseTim Laszlo2012-06-141-3/+2
|
* bcfg2-reports: exit if file cannot be readChris St. Pierre2012-06-141-0/+1
|
* bcfg2-reports: exclude clients without an interactionTim Laszlo2012-06-141-1/+1
|
* bcfg2-reports improvements:Chris St. Pierre2012-06-141-336/+239
| | | | | | * Rewrote script, particularly option parsing, to be much more maintainable * Clarified usage message * Added --entrystatus mode
* fixed option group stuffChris St. Pierre2012-05-211-0/+1
|
* Remove svn keywordsSol Jerome2012-02-191-1/+0
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-reports: Catch "--badentry=/tmp/nonexistent"Holger Weiß2011-06-301-36/+48
| | | | | Catch I/O errors which might occur while reading a file specified as argument to --badentry, --extraentry, or --modifiedentry.
* bcfg2-reports: Catch getopt exceptionsHolger Weiß2011-06-291-38/+51
| | | | | On getopt errors, print a proper usage message instead of spitting out a traceback.
* bcfg2-reports: Revert shebang line modificationSol Jerome2011-06-081-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-reports: Show total numbers of entriesHolger Weiß2011-06-081-3/+43
| | | | | | Add a "-t NAME" option which reports the total (and good) number of managed entries on the host NAME. Also, allow for specifying "total", "good", and "bad" fields via --fields and --sort.
* bcfg2-reports: Show modified entriesHolger Weiß2011-06-071-26/+69
| | | | | bcfg2-reports now shows modified entries if it's called with --modifiedentry, -m, or -s.
* Fix bcfg2-reports --badentry and --extraentryHolger Weiß2011-05-011-4/+4
| | | | | | | | | The reporting system schema has been changed. This change lead to exceptions such as | AttributeError: 'Entries_interactions' object has no attribute 'name' when running bcfg2-reports with the --badentry or --extraentry options.
* src/sbin: Add full PY3K compatibilitySol Jerome2011-04-271-8/+8
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-reports: Fail gracefully when missing statisticsSol Jerome2011-03-171-1/+7
| | | | | | | | | This fix is to address the traceback at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608613. We need to inform the user about the [statistics] section in bcfg2.conf so that they can go and find the necessary information needed to set up reports. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-reports: Fix usage helpSol Jerome2011-03-011-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Updated files to match PEP 257 Fabian Affolter2010-06-211-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5953 ce84e21b-d406-0410-9b95-82705330c041
* Typo in bcfg2-reportsTim Laszlo2010-06-111-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5922 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-071-4/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5896 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-071-8/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5895 ce84e21b-d406-0410-9b95-82705330c041
* Reports: Fix incorrect error message (reported by Thorsten Lockert) [bugfix]Sol Jerome2009-11-101-7/+4
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5567 ce84e21b-d406-0410-9b95-82705330c041
* Fix svn keywords for bcfg2-reportsSol Jerome2009-04-151-1/+1
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5163 ce84e21b-d406-0410-9b95-82705330c041
* Update dictionary accesses to work with Python 3.0Sol Jerome2008-12-221-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4999 ce84e21b-d406-0410-9b95-82705330c041
* Add option to view stale hosts in bcfg2-reportsSol Jerome2008-12-211-6/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4998 ce84e21b-d406-0410-9b95-82705330c041
* Fix bcfg2-reports so that it can also grab extra entries.Sol Jerome2008-09-031-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4899 ce84e21b-d406-0410-9b95-82705330c041
* Fix bcfg2-reports to use new reporting system schema.Sol Jerome2008-08-291-15/+21
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4897 ce84e21b-d406-0410-9b95-82705330c041
* added in : after the b and e option so that it would take the hostname of ↵Rick Bradshow2008-08-061-1/+1
| | | | | | the machine to search for. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4865 ce84e21b-d406-0410-9b95-82705330c041
* fixed minor issues involving -e and -b in bcfg2-reportsJames Yang2008-08-061-5/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4864 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-reports: fix script docstringNarayan Desai2008-07-301-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4841 ce84e21b-d406-0410-9b95-82705330c041
* added extra entry options for bcfg2-reportsJames Yang2008-07-291-1/+33
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4836 ce84e21b-d406-0410-9b95-82705330c041
* added a man page for bcfg2-reportsJames Yang2008-07-171-8/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4804 ce84e21b-d406-0410-9b95-82705330c041
* remove dead codeNarayan Desai2008-07-161-4/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4798 ce84e21b-d406-0410-9b95-82705330c041
* code walkthrough resultsNarayan Desai2008-07-161-14/+26
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4797 ce84e21b-d406-0410-9b95-82705330c041
* bad entry queries now display which bad entries are on each hostJames Yang2008-07-161-6/+19
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4796 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-reports now has the option to read bad entry queries from a fileJames Yang2008-07-151-7/+21
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4790 ce84e21b-d406-0410-9b95-82705330c041
* Added -h to the standalone Reports script, bcfg-reportsJames Yang2008-07-141-76/+125
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4784 ce84e21b-d406-0410-9b95-82705330c041
* Add report client script in a directly executable location (works around ↵Narayan Desai2008-07-121-0/+158
weird django bug) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4777 ce84e21b-d406-0410-9b95-82705330c041