-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
138 lines (122 loc) · 5.91 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
3.1.0
- use type annotations w/o typing module, requires python 3.10+
- add mailer module (create mail from HTML/txt template and send mails)
- add convert_to_snake_case(str) to strings
- use Node.create() in git module
3.0.1
- fix for Python 3.10
- threading: ensure that job_completed() is called even if exception is thrown
3.0.0
- git:
* add is_existing_remote()
* add methods to collect commit details
* run_output has 'strip' param, default True, for one-line outputs
* add RepoCloner and BranchCreator classes (related to dewi-core's projects,
but the code is independent from it)
- add files.python_repo_hash_md5 to have an a checksum
- threading: drop usage of old, obsolete threadpool module, use ThreadPoolExecutor
(under the hood: no interface change)
- rrdtool.writer: use the own threading module instead of threadpool
- relicensed under the terms of Apache License v2.0 similar to dewi_core
2.5.0
- add git.py (Git) with several helper methods, including
context manager wrapping git stash and git stash apply
- fix setup.py's license header
- Python 3.8+ only
2.4.0
- fix files.find_file_recursively to work without specified directory
- fix typos in lithurgical module
- config's convert_to_bool and convert_from_bool methods are public
- add support of passwords in ConfigPage.input()
- works with Python 3.9
2.3.0
- add threading module for threadpool and jobs
- config.IniConfig uses new DictConfigParser, add as_dict() method
2.2.0
- add lock module for simple locking
- udate rrdtool to run partially
- add files module to find recursively like searching for .gitignore
- add screen module - currently adding frame of '#' chars around text
- add config module for managing gitconfig-like ini files
(like remote.master.merge: [remote "master"]\nmerge...)
- add ConfigPage for interactive config management
2.1.0
- readd rrdtool into dewi_utils.rrdtool
2.0.0
- !!! DEWI goes into multiple repositories and packages
- add ``csv`` module to load simple CSV files
- keep dewi.utils package as dewi_utils
- start using semantic versioning
1.5
- MainApplication: --debug implies --log-level debug
default log level: info
- images/filedb: add count() to count entries in photo_file_info table
- images related commands: use exiftool-5.26 as MacPorts updated it
- safe_delete_images: handle Exceptions at unlink(), mainly PermissionErrors
- add further log_*() calls into dewi.rrdtool & realtime_sync
1.4
- pretty-print output command list (e.g. 'list-all')
- add dewi.utils.archive, which contains an UnZip class to (partially) unzip
.zip files
- if a command is mistyped or non-existing, print at most 6 similar command
names, or list all of them
- dewi.images.filedb: add rollback() method to FileDatabase
- dewi.core.context: Context got 'commands' and 'command_registry'
properties, and always contains the corresponding 'commands' and
'commandregistry' fields
- introduce dewi.core.logger module, log_debug, log_info, etc. can be used
1.3
- fix setup.py
1.2
- add Connection class and ensure_connection() method to kayako module
to reuse calculated signature and provide an object for easier testing
- config/node: add NodeList and also test the module
- rrdtool: use NodeList & fix modifiers
- NetworkCardVendors: add option to prevent network usage
- logparsers: add support to add multiple callbacks to a pattern:
during log processing one pattern matching - multiple calls.
And ensure that '\n' (0x10) is handled only as log line separator
- add lithurical command to print events of a calendar year
- kayako: add TicketStatus and TicketStatuses classes
1.1
- add support of generating .PNG files from .rrd files in a munin directory
- dewi.utils.yaml: add the module to save a dict to a YAML file
- config/node.py: add Node.load_from() to load from a dict (from eg. YAML);
- config/node: __setattr__ checks whether key is already in the node
- config/config: add _top_level_unsafe_set() used by subclasses, for self[key] = value
- logparser: add ISO8601Parser.to_datetime, reuse it in to_timestamp
- dewi.core.application: add list and list-all commands, w/o args 'list' is used
1.0
- It can be marked as stable.
- Changed to LGPL, to use freely in proprietary code (eg. by me)
0.90
- Major update
- in_directory() context manager
- a product list loader
- module for lutheran lithurgical feasts
- main app: --wait to wait before exiting (useful on Windows)
- main app: --debug / --print-backtrace options
- dewi.module_framework: add module support for any command (see README.rst)
* another Config() as dewi.config.Config() class
* Messages() class
- dewi.logparser: parse logs in a directory + modules (see README.rst)
- dewi.utils.network: MAC to vendor mapping
- dewi.utils.dictionaries: customized behaviour of dicts
- dewi.utils.render.py: add Jinja2 TemplateRenderer
- dewi.realtime_sync + filesync (treesync):
sync a directory tree (source code) to a local or remote directory with rules
- dewi.utils.process: find_binary/which to search for executable in PATH
- dewi.utils.kayako_rest: Request + Host classes to communicate with Kayako's REST API
- dewi.config.node: Node is a typesafe dict for dewi.config module
- dewi.images + 4 commands to sort photos from multiple locations:
* collect-images -> to an SQLite DB
* select-images: select useful entries from collected images
* dedup-images: copy unique images into a new location (original -> new mapping is in DB)
* safe-delete-images: delete images that are copied by dedup-images (if already copied)
- add examples + updated README.rst
0.1
- Initial release
- Supports / provide plugins and commands
- Added edit command, to easily open file with vim at a specific line,
the argument can be copied directly from anything which have similar
output as grep -nH ... | cut -f-2 -d: