summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools/POSIX/File.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed py2.6-ism properlyChris St. Pierre2014-10-201-2/+6
|
* removed python 2.6-ismChris St. Pierre2014-10-201-2/+2
|
* Clean up unicode diff handling a little more.Matt Kemp2014-08-201-1/+1
|
* Fixed lint test error.Matt Kemp2014-08-151-1/+1
|
* udiff doesn't mean unified diff, it means unicode diffMatt Kemp2014-08-151-4/+4
|
* Removed ndiff from POSIXFile, only attempt unified diff.Matt Kemp2014-08-151-35/+15
| | | | | | | | | | This removes the ndiff, which is a bit extraneous and can cause up to 30 second timeouts on larger files with many changes. unified_diff is faster and generally more applicable, and is already what is shown to the admin on interactive mode. This can save up to 30 seconds per file, per run. A future commit can take the resulting unified diff and recreate the ndiff specifically for the reporting if that is desired.
* POSIX: Fix merge failureSol Jerome2013-09-011-3/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Merge branch 'maint'Sol Jerome2013-09-011-3/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py src/lib/Bcfg2/Server/BuiltinCore.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/NagiosGen.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/Server/SSLServer.py tools/README
| * POSIX: Fix pylint failureSol Jerome2013-08-101-1/+2
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
| * POSIX: Fix unicode file verificationSol Jerome2013-08-101-3/+13
| | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* | Options: migrated client drivers to new parserChris St. Pierre2013-06-271-4/+6
|/
* fixed unit testsChris St. Pierre2013-06-121-2/+2
|
* POSIX: Fix support for unicode filesSol Jerome2013-06-081-0/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* File: handle Path type="file" entries with no text content even if empty is ↵Chris St. Pierre2013-04-051-6/+4
| | | | not set
* POSIX: Fixed handling of empty files that don't exist on client in ↵Chris St. Pierre2012-12-031-0/+4
| | | | interactive mode
* POSIX: Switch from perms to modeSol Jerome2012-10-151-1/+1
| | | | | | | | Bcfg2 has traditionally used the 'perms' attribute to specify the file mode for POSIX entries. Switching to a 'mode' attribute will allow us to be more consistent with other tools as well as POSIX itself. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Revert "POSIX: make sure to close file handles on temp files"Chris St. Pierre2012-09-281-10/+7
| | | | | | | This reverts commit a51d908d2fb08353c8aae349932c892d42f550c9. The file descriptor is closed when the file object created by os.fdopen goes out of scope.
* POSIX: make sure to close file handles on temp filesChris St. Pierre2012-09-281-7/+10
|
* expanded pylint testsChris St. Pierre2012-09-251-13/+19
|
* POSIX: fixed join of interactive-mode diff to work regardless of newlinesChris St. Pierre2012-09-111-1/+1
|
* renamed Bcfg2Py3k to CompatChris St. Pierre2012-08-271-1/+1
|
* finally a relative import fix that works on py2.4 thru 3.2Chris St. Pierre2012-08-231-1/+5
|
* removed relative imports from POSIX toolsChris St. Pierre2012-08-231-1/+1
|
* lots of various py3k fixesChris St. Pierre2012-08-211-10/+14
|
* py3k unicode fixesChris St. Pierre2012-08-201-4/+1
|
* removed excess newlines from interactive prompt diffsChris St. Pierre2012-08-201-1/+1
|
* fixed diffs of unicode filesChris St. Pierre2012-08-201-3/+3
|
* POSIX: added tests, fixes for File._get_diffsChris St. Pierre2012-08-161-9/+10
|
* POSIX:Chris St. Pierre2012-08-151-0/+219
refactored POSIX tool into multiple files to make it more manageable Added unit tests for POSIX tool and sub-tools fixed ACL handling for filesystems mounted noacl