1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00
Commit Graph

911 Commits

Author SHA1 Message Date
Igor Chubin e82797a39e Format python code using black 2025-07-29 20:07:59 +02:00
gachikuku 139f8c2fb3 Make rfc.sh work on macos (#412) 2025-02-01 16:32:00 +03:00
Anatoli Babenia e1847d25a2 Test rfc.sh on Ubuntu 2025-02-01 13:11:28 +03:00
Anatoli Babenia d9cafc2fc7 Test rfc.sh on MacOS
For https://github.com/chubin/cheat.sh/pull/412
2025-02-01 11:45:43 +03:00
Igor Chubin 045d15f074 Merge pull request #411 from JasonnnW3000/master
Update LICENSE, fix copyright license year
2024-12-31 18:50:52 +01:00
JasonnnW3000 2db5b744c8 Update LICENSE, fix license year
Signed-off-by: JasonnnW3000 <sufssl04@gmail.com>
2024-12-31 12:47:33 -05:00
Anatoli Babenia 4cebb8c066 Merge pull request #393 from cprice11/cprice11-bugfix-intro-spelling-grammar
Fixing some spelling
2024-11-13 14:51:19 +03:00
Anatoli Babenia 4ffc3e2d13 Minor edit 2024-06-22 22:07:47 +03:00
Anatoli Babenia 2f679b4b83 Minor editts 2024-06-22 22:07:32 +03:00
Christian Price 0698979b49 Minor spelling and grammar fixes in intro.txt 2023-11-22 16:36:16 -07:00
Igor Chubin 571377f2f7 Merge pull request #331 from Albonycal/patch-1
Improved installation instructions
2022-04-18 20:42:05 +02:00
Igor Chubin 742dd9f452 Fix search for uncached entries (#323) 2022-04-18 16:33:00 +00:00
Igor Chubin 717f89e0c2 Fix recursive search (#323) 2022-04-18 16:32:43 +00:00
Igor Chubin e66382cb53 Fix cache invalidation (#324) 2022-04-18 16:00:11 +00:00
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
Albony Cal a023fdd4bf updated installation instructions 2022-03-13 17:57:58 +05:30
Albony Cal b2cbf519e3 Improved installation instructions
`curl` using the `-s` 
and added missing `sudo`
2022-03-13 13:14:41 +05:30
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