Skip to content

Commit dc8cef4

Browse files
authored
Merge pull request #1127 from saulpw/develop
v2.6.1 release
2 parents 666e303 + fb53700 commit dc8cef4

File tree

14 files changed

+106
-59
lines changed

14 files changed

+106
-59
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# VisiData version history
22

3+
# 2.6.1 (2021-09-28)
4+
5+
## Bugfixes
6+
7+
- [editor] fix sysopen-row (thanks @frosencrantz #1116)
8+
- [loaders fixed] fix saver (#1123)
9+
- [loaders shell] fix copy-files
10+
- [loaders sqlite] fix import error on exception (thanks @jsvine #1125)
11+
312
# 2.6 (2021-09-19)
413

514
## Major feature

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# VisiData v2.6 [![twitter @VisiData][1.1]][1] [![CircleCI](https://circleci.com/gh/saulpw/visidata/tree/stable.svg?style=svg)](https://circleci.com/gh/saulpw/visidata/tree/stable) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/saulpw/visidata)
2+
# VisiData v2.6.1 [![twitter @VisiData][1.1]][1] [![CircleCI](https://circleci.com/gh/saulpw/visidata/tree/stable.svg?style=svg)](https://circleci.com/gh/saulpw/visidata/tree/stable) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/saulpw/visidata)
33

44
A terminal interface for exploring and arranging tabular data.
55

dev/checklists/manual-tests.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
1. cmdlog + replay
33
- logging of options
44
- logging of rows and columns
5+
- if empty sheet, row or column on cmdlog, executes command on current sheet, row, column
56
- pause, continue, abort
67
- test batch mode
78
- bin/vd -b -p tests/append.vd
@@ -11,12 +12,14 @@
1112
5. syscopy
1213
6. plots and image-loaders (like png)
1314
- relationship between plots and mice
14-
7. savers and gSavers
1515
8. .visidatarc
1616
- numerical, boolean and string option
1717
- sheet-specific and global
1818
- motd_url
1919
9. using the pandas loader
20+
- select
21+
- edit
22+
- frequency table
2023
10. large dataset (311)
2124
11. multiline scrolling tests
2225
- test case 1
@@ -45,7 +48,7 @@
4548
- -w and others should be set "globally" (work without -g option)
4649
- bin/vd -f xlsx sample_data/sample-sales-reps.xlsx -f json sample_data/y77d-th95.json.gz
4750
- the xlsx sheet should have filetype 'xlsx'
48-
- bin/vd sample_data/sample-sales-reps.xlsx -f xlsx
51+
- bin/vd sample_data/sample-sales-reps.xlsx -n -f xlsx
4952
- `o` another file
5053
- check that it loads
5154
- check that it does not show 'xlsx' on its sheet-specific options
@@ -55,6 +58,7 @@
5558
- -f should apply to inner file for zipped filetypes
5659
- bin/vd -f txt sample_data/y77d-th95.json.gz
5760
14. Testing the starting position syntax
61+
- `bin/vd +:sample-salesv4:: sample_data/sample-sales-reps.xlsx`
5862
15. Test loading url
5963
16. Split window
6064
- make sure that if you exit split window, all the sheets from both panes can be accessible on the resulting stack
@@ -98,3 +102,5 @@
98102
- if the second window is a smaller size, should it orient around the cursor position
99103
- using cursor in active pane
100104
- test both panes
105+
17. Anything new in this release (should it have its own automated test?)
106+
18. `edit-cell` and then `Ctrl+O` to launch editor.

dev/checklists/release.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
1. Merge `stable` to `develop` (if necessary)
44

55
2. Verify that VisiData is up-to-date:
6-
* vdmenu
6+
* help menu
77
* plugins.jsonl
88

99
2. Verify that documentation/docstrings are up-to-date on features and functionality
@@ -14,10 +14,6 @@
1414

1515
c. visidata.org; (formats?)
1616

17-
d. patrons.tsv;
18-
19-
e. contributors.tsv
20-
2117
3. Ensure `develop` automated tests run correctly with dev/test.sh
2218

2319
4. Go through the manual tests checklist
@@ -39,6 +35,7 @@
3935
d. bump version in `__version__` in source code (visidata/main.py, visidata/__init__.py) and setup.py;
4036

4137
6. Run dev/mkman.sh to build the manpage and updated website
38+
- Run ./mkmanhtml.sh, and move that to visidata.org:site/docs/man, and to visidata:docs/man.md
4239

4340
7. Push `develop` to testpypi
4441

@@ -116,6 +113,7 @@ git push --tags
116113
16. Upload new motd
117114
118115
17. Update the website by pushing to master. Update with new manpage. Update redirect to point to new manpage.
116+
- release notes
119117
120118
18. Comb through issues and close the ones that have been solved, referencing the version number
121119

docs/man.md

Lines changed: 64 additions & 34 deletions
Large diffs are not rendered by default.

plugins/plugins.jsonl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{"name": "vfake", "description": "replace column with fake values", "maintainer": "Saul Pwanson @saulpw", "latest_release": "2020-10-06", "url": "https://raw.githubusercontent.com/saulpw/visidata/0d8af5a226818aa2f99a2f74e08543152b22a36d/plugins/vfake.py", "latest_ver": "1.1", "visidata_ver": "2.0", "pydeps": "Faker", "vdplugindeps": "", "sha256": "8153b04a364ac3db2ee310503f762924c4dc472445477af9e027c4d0e921af7f"}
2-
{"name": "dedupe", "description": "adds commands for selection and removal of rows which are duplicates of prior rows", "maintainer": "Jeremy Singer-Vine @jsvine", "latest_release": "2020-10-11", "url": "https://raw.githubusercontent.com/jsvine/visidata-plugins/37cba82ed2cc49aedc1a377af984acfe1ef3d5cd/plugins/dedupe.py", "latest_ver": "0.1.0", "visidata_ver": "2.0", "pydeps": "", "vdplugindeps": "", "sha256": "2e077b8d62bc8ec2235d22d7d9711d99e7366c8c0ff20405f70647044cca67a1"}
2+
{"name": "dedupe", "description": "adds commands for selection and removal of rows which are duplicates of prior rows", "maintainer": "Jeremy Singer-Vine @jsvine", "latest_release": "2021-09-22", "url": "https://raw.githubusercontent.com/jsvine/visidata-plugins/0b82e6b7662320a291a846eb4a19899ef8d8b148/plugins/dedupe.py", "latest_ver": "0.2.0", "visidata_ver": "2.0", "pydeps": "", "vdplugindeps": "", "sha256": "d94adcc770349c6ae1d1a63628520558de74bc5e1022b801e29879fc580e571a"}
33
{"name": "normcol", "description": "normalizes column names in any given sheet so that the names are unique, valid Python identifiers, and only composed of lowercase letters, numbers, and underscores", "maintainer": "Jeremy Singer-Vine @jsvine", "latest_release": "2020-10-11", "url": "https://raw.githubusercontent.com/jsvine/visidata-plugins/37cba82ed2cc49aedc1a377af984acfe1ef3d5cd/plugins/normcol.py", "latest_ver": "0.1.0", "visidata_ver": "2.0", "pydeps": "", "vdplugindeps": "", "sha256": "ede6b9e508e1ce7842e00d308c372837c9b4d4906b88e0ba62efd5b481f816f6"}
44
{"name": "fec", "description": "loader for .fec files from the Federal Election Commission", "maintainer": "Jeremy Singer-Vine @jsvine", "latest_release": "2019-04-21", "url": "https://raw.githubusercontent.com/jsvine/visidata-plugins/37cba82ed2cc49aedc1a377af984acfe1ef3d5cd/plugins/fec.py", "latest_ver": "0.0.0", "visidata_ver": "1.5.2", "pydeps": "fecfile", "vdplugindeps": "", "sha256": "e917170e5bb74ac6242f81113aa48ba7e36763ad32cb190420acb93c3f62765c"}
55
{"name": "sparkline", "description": "add a sparkline column to visualise trends of numeric cells in a row", "maintainer": "Lucas Messenger @layertwo", "latest_release": "2020-09-13", "url": "https://raw.githubusercontent.com/saulpw/visidata/e4a373cd74b49b2b91876b17d7a1cd0cd0303848/plugins/sparkline.py", "latest_ver": "0.1", "visidata_ver": "2.0", "pydeps": "", "vdplugindeps": "", "sha256": "4256bea5535405a2478cb6827df4be86f28c69b3cb7f30cc08e2cd655e48b592"}
66
{"name": "rownum", "description": "add column of original row ordering", "maintainer": "Saul Pwanson @saulpw", "latest_release": "2019-11-07", "url": "https://raw.githubusercontent.com/saulpw/visidata/dd3aaa4a01e5116c8cd25a30a36bf39756a719b6/plugins/rownum.py", "latest_ver": "0.9", "visidata_ver": "2.0", "pydeps": "", "vdplugindeps": "", "sha256": "41dd84ce3b62504e9c7f40e3ace2285330431d6b46f2f17498ee7e00cb9d8907"}
77
{"name": "vmailcap", "description": "add mailcap-view(-selected) commands to DirSheet", "maintainer": "Saul Pwanson @saulpw", "latest_release": "2020-10-06", "url": "https://raw.githubusercontent.com/saulpw/visidata/0d8af5a226818aa2f99a2f74e08543152b22a36d/plugins/vmailcap.py", "latest_ver": "0.9", "visidata_ver": "2.0", "pydeps": "", "vdplugindeps": "", "sha256": "b8aa66821dfa38107ee45fe49a5262e766cc23a0ff362ce5aea5aa6e9b8e6fb0"}
88
{"name": "vmutagen", "description": "add mp3 metadata columns to DirSheet", "maintainer": "Saul Pwanson @saulpw", "latest_release": "2019-09-25", "url": "https://raw.githubusercontent.com/saulpw/visidata/v2.-2/plugins/vmutagen.py", "latest_ver": "0.1", "visidata_ver": "2.0", "pydeps": "mutagen", "vdplugindeps": "", "sha256": "de9429e6de46d130f1149d2d8834d8b3bbb55e523acefd735bf101384ebfab07"}
9-
{"name": "vds3", "description": "add support for Amazon S3 paths", "maintainer": "AJ Kerrigan @ajkerrigan", "latest_release": "2021-08-20", "url": "https://raw.githubusercontent.com/ajkerrigan/visidata-plugins/vds3-0.7/plugins/vds3.py", "latest_ver": "0.7", "visidata_ver": "2.0", "pydeps": "s3fs", "vdplugindeps": "", "sha256": "a8d561fb8569da0b3eb64c795e14293ee6e101833489950099b58e148d0e6d6c"}
9+
{"name": "vds3", "description": "add support for Amazon S3 paths", "maintainer": "AJ Kerrigan @ajkerrigan", "latest_release": "2021-09-23", "url": "https://raw.githubusercontent.com/ajkerrigan/visidata-plugins/vds3-0.8/plugins/vds3.py", "latest_ver": "0.8", "visidata_ver": "2.0", "pydeps": "s3fs", "vdplugindeps": "", "sha256": "1a52327be9edc87e2b29df5c2cf57903ac0d95625c0c5ccf9cc194f44d3d0325"}
1010
{"name": "genericSQL", "description": "add loaders for SQL databases (Oracle, MySQL)", "maintainer": "Andrew Swanson @aswan89", "latest_release": "2020-04-15", "url": "https://raw.githubusercontent.com/aswan89/visidata_plugin_genericSQL/1.0.0/generic_sql.py", "latest_ver": "1.0.0", "visidata_ver": "2.-3", "pydeps": "sqlalchemy cx_oracle mysqlclient pyodbc", "vdplugindeps": "", "sha256": "71bbaabaa4ffb973ef7745dc3eadca108b34a7e0f0bf6cf6631eca3fa4532513"}
1111
{"name": "diff", "description": "adds command to create diff sheets", "maintainer": "Anja Kefala @anjakefala", "latest_release": "2020-10-09", "url": "https://raw.githubusercontent.com/saulpw/visidata/492d558ff4aba55a192965a27ae6499f8d219072/plugins/diff.py", "latest_ver": "0.9", "visidata_ver": "2.0", "sha256": "0085bf8afdc9abf74b7dd52c251f7b7f7befc507aae262bbb656c2ab7379ddd1"}
1212
{"name": "marks", "description": "adds commands for marking selected rows, and selecting + viewing marked rows", "maintainer": "Saul Pwanson @saulpw", "latest_release": "2020-10-09", "url": "https://raw.githubusercontent.com/saulpw/visidata/54e49feee97a607cce5355bf0e3a79b2466c3d8a/plugins/marks.py", "latest_ver": "0.1", "visidata_ver": "2.0", "sha256": "f15977f327ccc387be208922b66afe4b65666912e8066d02352c53b1aaff941f"}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup
44
# tox can't actually run python3 setup.py: https://github.com/tox-dev/tox/issues/96
55
#from visidata import __version__
6-
__version__ = '2.6'
6+
__version__ = '2.6.1'
77

88
setup(name='visidata',
99
version=__version__,

visidata/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'VisiData: a curses interface for exploring and arranging tabular data'
22

3-
__version__ = '2.6'
3+
__version__ = '2.6.1'
44
__version_info__ = 'VisiData v' + __version__
55
__author__ = 'Saul Pwanson <[email protected]>'
66
__status__ = 'Production/Stable'

visidata/_input.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from visidata import EscapeException, ExpectedException, clipdraw, Sheet, VisiData
88
from visidata import vd, options, colors
9-
from visidata import launchExternalEditor, suspend, ColumnItem, AttrDict
9+
from visidata import suspend, ColumnItem, AttrDict
1010

1111

1212
vd.option('color_edit_cell', 'white', 'cell color to use when editing cell')
@@ -215,7 +215,7 @@ def find_nonword(s, a, b, incr):
215215
elif ch == 'KEY_BTAB': v, i = complete_state.complete(v, i, -1)
216216
elif ch in ['^J', '^M']: break # ENTER to accept value
217217
elif ch == '^K': v = v[:i] # ^Kill to end-of-line
218-
elif ch == '^O': v = launchExternalEditor(v)
218+
elif ch == '^O': v = vd.launchExternalEditor(v)
219219
elif ch == '^R': v = str(value) # ^Reload initial value
220220
elif ch == '^T': v = delchar(splice(v, i-2, v[i-1]), i) # swap chars
221221
elif ch == '^U': v = v[i:]; i = 0 # clear to beginning

visidata/editor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ def launchExternalEditor(vd, v, linenum=0):
5151
def launchExternalEditorPath(path, linenum=0):
5252
'Launch $EDITOR to edit *path* starting on line *linenum*.'
5353
if linenum:
54-
launchEditor(path, '+%s' % linenum)
54+
visidata.vd.launchEditor(path, '+%s' % linenum)
5555
else:
56-
launchEditor(path)
56+
visidata.vd.launchEditor(path)
5757

5858
with open(path, 'r') as fp:
5959
try:

0 commit comments

Comments
 (0)