lilydjwg
14b3863f11
version 2: MVP
2020-08-11 17:43:03 +08:00
Chih-Hsuan Yen
7dab7c3b6a
Get rid of warnings from logging.warn
...
logging.warn is deprecated [1].
[1] https://docs.python.org/3/library/logging.html#logging.Logger.warning
2019-03-23 23:59:13 +08:00
lilydjwg
81fb17ab25
nvtake: log for ignored names
2018-09-25 12:54:56 +08:00
lilydjwg
2d9bbadd15
add --ignore-nonexistent arg to nvtake
2018-09-25 12:36:17 +08:00
lilydjwg
9937378876
structlog PrintLogger doesn't have the 'fatal' synonym.
2018-09-22 21:27:17 +08:00
lilydjwg
79c36641a2
switch from logging to structlog
2018-04-11 16:18:41 +08:00
lilydjwg
156e281a82
nvtake: add support for '--all'
...
fixes #60
2017-08-30 14:27:00 +08:00
Felix Yan
39d1895b2b
Improve error message for non-exist nvtake targets
...
`nvtake foo` was giving the following error:
```
Traceback (most recent call last):
File "/usr/bin/nvtake", line 11, in <module>
load_entry_point('nvchecker==0.5', 'console_scripts', 'nvtake')()
File "/usr/lib/python3.6/site-packages/nvchecker/tools.py", line 34, in take
oldvers[name] = newvers[name]
KeyError: 'foo'
```
This is unclear and too verbose. With the change it is now:
```
[C 08-05 02:51:46.767 tools:38] foo doesn't exist in 'newver' set.
```
2017-08-05 02:51:14 +08:00
lilydjwg
8e2be647e0
add license declaration to each file
2017-02-28 15:27:24 +08:00
lilydjwg
fa927dbf50
fix missing import
2015-04-18 18:59:23 +08:00
lilydjwg
0c362d907d
nvtake: backup oldver before overwriting
2015-04-18 16:39:43 +08:00
lilydjwg
2eea113a66
add nvcmp command
2014-01-08 21:24:13 +08:00
lilydjwg
5dd8a4df68
nvtake: exit on unexpected config
2014-01-08 21:16:40 +08:00
lilydjwg
dfaf858951
version 0.4: simpler config, simpler usage
...
and simpler code
2013-12-04 00:34:14 +08:00
lilydjwg
b58e3f70e5
add the nvtake command utility
2013-09-05 16:53:19 +08:00
lilydjwg
e1457aadd3
rearrange argument parsing
2013-08-21 17:38:43 +08:00
lilydjwg
ff46f33752
use argparse instead of tornado.options and change a few terms
2013-08-09 18:50:41 +08:00