| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Quoted from PEP 3114:
The iterator protocol in Python 2.x consists of two methods:
__iter__() called on an iterable object to yield an iterator,
and next() called on an iterator object to yield the next item in
the sequence. Using a for loop to iterate over an iterable object
implicitly calls both of these methods. This PEP proposes that the
next method be renamed to __next__, consistent with all the other
protocols in Python in which a method is implicitly called as part
of a language-level protocol, and that a built-in function named
next be introduced to invoke __next__ method, consistent with the
manner in which other protocols are explicitly invoked.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|/
|
|
|
|
|
|
|
| |
* --schema allows you to specify a custom path to the XML Schema files
* --stdin allows you to specify a list of files on stdin and
bcfg2-repo-validate will only validate those files. This is
particularly useful to speed up validation checks in post-commit
hooks (or similar).
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
| |
This still needs to be fixed in apt-python, but we can at least give the
user a smarter failure and disable the client tool properly here.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
Something changed in Python 2.7 with respect to the xmlrpclib.Transport
api such that you need to store the authentication headers in
self.extra_headers so that they are sent to the server properly.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
'bcfg2-admin reports purge' to make purge honor -q flag.
|
| |
|
|
|
|
| |
(cherry picked from commit 81fce09fb9671c652703c37a5f9b48d020a34307)
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
the file. If an altsrc attribute was used, then "name" is set to the altsrc value; otherwise, it is set to the "name" attribute of the original <Path> tag used to declare the file. In the new Genshi handler functionality of Cfg, this had not been ported over; "name" was always the original name of the file, even if altsrc was specified. Fixed that bug.
|
|
|
|
|
|
|
|
| |
If the Cfg plugin handled a file containing a character which isn't
contained in the encoding specified, it resulted in a traceback. This
now fails gracefully and suggests use of an alternate encoding.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Client removes only one excess backup copy at every configfile
change, even if there are more backup copies eligible for deletion.
Moreover, lowering the max_copies parameter could cause client to never
remove any excess files from there.
2. Space character in backup file names is mildly annoying -
datetime.isoformat() will put a 'T' there instead.
3. More robust handling of 'paranoid' attribute values from info.xml
(paranoid='True' should also be allowed - currently only paranoid='true'
works as expected).
A simple patch (attached) addresses all these issues.
/mkd
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
(non-greedy matching)
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
| |
This commit modifies the Bundler plugin to allow for genshi templates
with .xml file extensions via the xml namespace (Resolves ticket #861).
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
|
| |
Using info.xml files allows the user to validate permissions with the
info schema.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
| |
The POSIX client tool now has the ability to recursively remove the
contents of a specified directory provided there are no other managed
entries under the directory.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This does not appear to work with the default settings for some
distributions. Here is what happens on Ubuntu:
[error] /usr/lib/pymodules/python2.6/django/template/loader.py:64: UserWarning: Your TEMPLATE_LOADERS setting includes 'django.template.loaders.eggs.load_template_source', but your Python installation doesn't support that type of template loading. Consider removing that line from TEMPLATE_LOADERS.
This appears to be disabled in django by default as per
http://docs.djangoproject.com/en/dev/ref/templates/api/#loading-templates.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
| |
(Resolves #988)
Patch made available in ticket report.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
| |
|
|
|
|
| |
updated correctly if cert is requested before key, thus key was getting genned, then cert, then key again because the plugin didnt know it already had the key - doh
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Causes the server to wedge. (Resolves #970)
|