Commit graph

895 commits

Author SHA1 Message Date
Igor Chubin
5671e7d0d9 Add Redis installation notes (#305) 2022-04-18 12:25:39 +02:00
Igor Chubin
7f769d6f36 Add -- to git commands to avoid ambiguities (fixes #303) 2022-04-17 12:01:47 +00:00
Igor Chubin
7c5bfa5d9c Fix keyword-based search (#323)
* Fixes directories handling in git-based repos
* Fixes a minor bug in tldr-adapter
2022-04-17 12:01:46 +00:00
Igor Chubin
46d1a5f73c Add cacheCleanup.go 2022-01-01 19:51:07 +01:00
Anatoli Babenia
e0010117ca
Merge pull request #319 from chubin/newalpine
docker: Alpine fixes merged upstream

https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27453
2021-11-17 01:09:48 +03:00
Anatoli Babenia
71bbf48092 gevent dependency fix on setuptools is merged to Alpine
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27453
2021-11-16 12:57:14 +03:00
Anatoli Babenia
0fc93f79c7 .dockerignore: no Travis anymore 2021-11-16 11:55:35 +03:00
Anatoli Babenia
4bb7b14843
Merge pull request #309 from chubin/outputfix
Fix #307 error reporting on fetch failures
2021-11-13 21:14:05 +03:00
Anatoli Babenia
b918a33200 fetch.py: report when files are already downloaded 2021-11-13 21:04:46 +03:00
Anatoli Babenia
140b64d5cb Better fix for #307 is to return text stream from Popen
`universal_newlines` make this in compatible way with older Python.
2021-11-13 21:03:34 +03:00
Anatoli Babenia
ac3ed3cce2 Fix #307 error reporting on fetch failures 2021-11-13 20:05:47 +03:00
Anatoli Babenia
a18e6d8089
Merge pull request #316 from chubin/redocker
Fixes for Docker + `docker-compose` workflow
2021-11-13 19:46:26 +03:00
Anatoli Babenia
aa8196d08b docker: setuptools is needed by gevent
Temporary fix until this is merged
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27419
2021-11-13 19:39:40 +03:00
Anatoli Babenia
10edf376e2 docker: install GNU sed to fix ansi2html (fixes #274, #301) 2021-11-13 19:39:19 +03:00
Anatoli Babenia
5f0aa79396 docker: update Alpine image (doesn't fix ansi2html issue) 2021-11-13 19:39:05 +03:00
Anatoli Babenia
fe80c38760 docker-compose: always mount source volume 2021-11-13 19:38:32 +03:00
Anatoli Babenia
dd35bc90bb docker: remove compose file with missing prebuilt image
No https://hub.docker.com/u/bglopez/cheat.sh
2021-11-13 18:34:30 +03:00
Anatoli Babenia
abde4c2b92
Merge pull request #318 from chubin/space-tests
Document unit tests and replace + and space handling logic with regexpx
2021-11-13 18:33:17 +03:00
Anatoli Babenia
908bc52237 g++ workaround could still strip ++ if more ++ were encountered
This replaces cycle logic in #312 with regex.
2021-11-13 18:21:53 +03:00
Anatoli Babenia
4643429c33 Simplify handling of query with multiple spaces
A followup to #312
2021-11-13 17:18:27 +03:00
Anatoli Babenia
0ff765a0a3
Merge pull request #312 from Jan200101/PR/g++
Catch edge cases were delimiter are wrongfully caught, such as in g++

Fixes #308.
2021-11-13 15:50:22 +03:00
Jan200101
f8d27202be
add generic test cases 2021-11-13 09:59:01 +01:00
Jan200101
cf31a03c32
Catch edge cases were delimiters are wrongfully caught 2021-11-13 09:58:57 +01:00
Anatoli Babenia
2463185329
Merge pull request #317 from chubin/down-colored
Fix tests by downgrading colored
2021-11-13 11:47:49 +03:00
Anatoli Babenia
db5217aac2 Downgrade colored to fix tests
`colored` became smarter in patch version to avoid
coloring if running without TTY

https://gitlab.com/dslackw/colored/-/issues/21
2021-11-13 11:37:31 +03:00
Anatoli Babenia
609c79093d
Merge pull request #314 from chubin/fix-tests
Add test for section splitting
2021-10-22 13:41:21 +03:00
Anatoli Babenia
3d1e4ec2f9 Add test for section splitting (for #312) 2021-10-22 13:29:41 +03:00
Jan200101
cbf001cede move nested function outside scope 2021-10-22 13:05:29 +03:00
Anatoli Babenia
5a79c76c9b
Merge pull request #313 from chubin/fix-tests
Fix tests.
2021-10-20 08:03:07 +03:00
Anatoli Babenia
e50a9f937f Update tests
CHEATSH_UPDATE_TESTS_RESULTS=YES bash run-tests.sh
2021-10-17 10:40:53 +03:00
Igor Chubin
6d83c4d76c Add doc how to switch caching off (#291) 2021-04-25 21:00:37 +02:00
Igor Chubin
562875eda6 Decode bytes to str (fetch.py) (fixes #291) 2021-04-25 10:37:28 +00:00
Igor Chubin
74876d6d94 Call virtualenv directly (cht.sh) 2021-04-25 10:36:48 +00:00
Igor Chubin
95e5b88b94
Merge pull request #293 from CodeLongAndProsper90/wayland-copy
Add Wayland support
2021-04-25 08:45:05 +02:00
Igor Chubin
a15c9fdfa5 Bump cht.sh version 2021-04-25 08:41:51 +02:00
Scott Little
8e789a884f Fix typographical error 2021-04-23 14:14:06 -05:00
Scott Little
064eacf513 Add wayland support to stealth-mode 2021-04-23 14:10:48 -05:00
Scott Little
b071e17ecc Add support for wl-copy/Wayland 2021-04-23 14:02:41 -05:00
Igor Chubin
348db3e7a9 Bump cht.sh (client) version 2021-04-23 13:39:06 +02:00
Igor Chubin
0da5cbaeef
Merge pull request #277 from aokellermann/bug/FixShEscape
Fix some unescaped shell colors
2021-04-23 13:37:39 +02:00
Igor Chubin
8af942e516
Update TOC 2021-04-22 17:07:31 +02:00
Igor Chubin
bdde91a6f4
Merge pull request #136 from julien-tremblay-mclellan/master
Ran doctoc to generate a table of contents (toc)
2021-04-22 17:01:53 +02:00
Igor Chubin
1d9a7bd1c1
Users/Contributors 2021-04-06 08:12:18 +02:00
Igor Chubin
5dff76a866
Merge pull request #286 from bl-ue/patch-1
Use icons for source repos' users/stars
2021-04-06 08:09:38 +02:00
Anatoli Babenia
83bffa587b
Merge pull request #289 from Sea-n/patch-1
Fix syntax highlight in README
2021-03-18 17:27:51 +03:00
Sean
6692850495
Fix typo in README
Co-authored-by: Anatoli Babenia <anatoli@rainforce.org>
2021-03-18 19:24:57 +08:00
Sean Wei
7655f75f26 Fix syntax highlight in README
- Specific bash in some code blocks
- Specific zsh in zshrc config
- Fix unclosed `code` markup
2021-03-18 18:11:23 +08:00
Anatoli Babenia
42097e2c9d
Fix w3c validator error about self-closing <form> 2021-03-05 09:54:19 +03:00
bl-ue
249e7cee4e
Update README.md 2021-02-28 12:26:57 -05:00
bl-ue
dee6b24b25
Use icons for source repos' users/stars
See https://github.com/chubin/cheat.sh/pull/285#issuecomment-787416248
2021-02-28 12:22:50 -05:00