Commit Graph

143 Commits

Author SHA1 Message Date
Tom Keffer
669bf76725 First step in refactoring config_util into package weecfg 2015-04-21 06:06:43 -07:00
Tom Keffer
72c91b0477 Got the --no-prompt option working using native distutils machinery 2015-04-05 14:28:19 -07:00
Tom Keffer
30fafb6bd2 Rewrote weeutil.weeutil.read_config to use utilities in config_util 2015-04-01 09:16:11 -07:00
Tom Keffer
b4bf1cb966 Refactoring some config utilities 2015-03-31 18:46:56 -07:00
Tom Keffer
ef77a504e0 Moved configuration test suite to its own directory under bin 2015-03-31 08:06:56 -07:00
Tom Keffer
7dbbe264fe Added with statement (for Python 2.5).
Print some useful information about saving files.
2015-03-29 16:41:30 -07:00
Tom Keffer
b693205427 Moved prompt_with_options to config_util. Added test suites. Refactored
to use it.
2015-03-29 16:17:23 -07:00
Tom Keffer
012d01f3e4 Restructed the tests of prompt_for_input() so they are all in one
testing function.
2015-03-29 15:44:30 -07:00
Tom Keffer
c58176aa99 Added tests for prompt_for_info() 2015-03-29 08:56:48 -07:00
Tom Keffer
aa96f56110 Updated test to reflect change in name to config_util 2015-03-29 07:42:54 -07:00
Tom Keffer
c7b60a51f4 Added functions print_dict() and prompt_with_options() to
weeutil.weeutil
2015-03-28 16:58:30 -07:00
Tom Keffer
1345f22415 Move weeutil.config to config_util 2015-03-28 11:10:57 -07:00
Tom Keffer
ba91103508 Simplified list_as_string() 2015-03-28 11:05:56 -07:00
Tom Keffer
b82c0c57b7 Adding logic for --modify 2015-03-27 17:47:06 -07:00
Tom Keffer
7b646d9ccb Working on grammar of wee_config 2015-03-27 11:11:31 -07:00
Tom Keffer
714c96d973 Refactored prompt_for_info 2015-03-26 06:41:29 -07:00
Tom Keffer
6af7ba19a1 Refactored prompt_for_info() 2015-03-20 15:45:25 -07:00
Tom Keffer
ffe40afb1f Use --switches instead of commands 2015-03-20 06:26:44 -07:00
Tom Keffer
add2f34091 Making progress on merge command 2015-03-19 08:31:28 -07:00
Tom Keffer
936916effe Added tests for merge 2015-03-18 17:43:53 -07:00
Tom Keffer
aa411a5dfb Continued refactoring; moving functionality into weeutil. 2015-03-18 16:41:39 -07:00
Tom Keffer
7511a8a499 Improved handling of comments and the merge 2015-03-18 10:47:06 -07:00
Tom Keffer
a9a41b0f87 Snapshot 2015-03-17 18:44:08 -07:00
Tom Keffer
0ed2795ec1 More complete insertion of a [DataBindings] section into an old V2.X
config file.
2015-03-17 09:34:33 -07:00
Tom Keffer
a8079417c4 Updating to a V3.x config file now injects a [DataBindings] section.
Also, it inserts relevant comments in the right places.
2015-03-13 17:35:24 -07:00
Tom Keffer
87ece3d7e5 Added tests for upgrading configuration file to V3.0 2015-03-12 19:20:59 -07:00
Tom Keffer
b5015159bb Started test suite for merging and upgrading config files. 2015-03-10 19:08:04 -07:00
Tom Keffer
b016dc1826 Removed $Id tags from *.py files used by this branch 2015-02-24 17:39:46 -08:00
Tom Keffer
df97cc7e93 Catch up branch 'config' with branch 'master' 2015-02-21 12:18:44 -08:00
Tom Keffer
91e9864a98 Went through all the Python code, deleting all SVN $Id$ tags.
Standardized copyright notices, except for those I don't own.
2015-02-21 09:44:19 -08:00
Tom Keffer
7a0f3697fa Catch EOFError exceptions on FTP state file, then keep going. 2015-02-19 05:53:58 -08:00
Tom Keffer
0d18258089 Snapshot. Working on wee_config. 2015-02-15 02:26:59 +00:00
Tom Keffer
a86249246d Snapshot 2015-02-10 01:16:10 +00:00
Tom Keffer
890ac09c0c V3.1.0rc1 2015-02-05 02:25:16 +00:00
Tom Keffer
93cdc30c92 SFTP now uses fallback for older versions of Python. 2015-01-31 17:38:33 +00:00
Tom Keffer
cbc4da99b9 Secure FTP (SFTP) sessions are now possible. 2015-01-31 17:29:37 +00:00
Tom Keffer
a17091f5fb Added explicit timezone to unit tests. 2014-12-23 22:03:40 +00:00
Tom Keffer
1738d2ffed Reintegrate from the v3 branch.
V3.0.0b1
2014-11-29 18:15:24 +00:00
Tom Keffer
5fb95900bd Improved robustness of the pickling and unpickling of the times of the last upload. 2014-10-12 15:17:26 +00:00
Tom Keffer
ceb32c89fb Improved command-line interface to wee_reports, making it look more like the other utilities. 2014-10-12 14:38:09 +00:00
Tom Keffer
027266a0ac Removed redundant import 2014-10-11 21:42:38 +00:00
Tom Keffer
2b9e83d74a bytes is a reserved keyword. Substituted Nbytes instead. 2014-10-11 21:40:12 +00:00
Tom Keffer
98ceb68848 Fixed bug that can affect hardware that emits floating point timestamps, where the timestamp is within 1 second of the end of an archive interval.
Added regression test to test it.
2014-10-02 01:55:38 +00:00
Matthew Wall
defb95ed5d use seoul instead of tokyo 2014-10-01 13:18:46 +00:00
Tom Keffer
4cd3dd84d1 Now sets TZ before every test. 2014-10-01 01:54:00 +00:00
Tom Keffer
c2cfb7cb92 Added test for startOfInterval with a 60 second, on-the-boundary, value. 2014-09-30 17:41:59 +00:00
Tom Keffer
b9f40fa226 Applied patch from Gary Roderick, which adds debug information to rsync 2014-09-17 13:30:07 +00:00
Tom Keffer
32d49bd0d0 The function _get_object() now raises a more informative exception. 2014-08-31 17:01:35 +00:00
Tom Keffer
1935849c32 Corrected catch clause in exception 2014-06-10 23:21:47 +00:00
Tom Keffer
be8ebe4b7d The plot images can now use UTF-8 characters. 2014-02-20 13:55:23 +00:00