summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2022-08-26 12:51:12 -0600
committerMark Wagie2022-08-26 12:51:12 -0600
commitcfc714805f695e4abcb015d882574be2199aeb40 (patch)
tree4dd493fd8fcc5ea0acf0cd741f4131ba11be5bb4
parent960a258a816caab8e46c11b2aad3a946e5e69796 (diff)
downloadaur-cfc714805f695e4abcb015d882574be2199aeb40.tar.gz
4.3.2
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD10
-rw-r--r--conf.yml66
3 files changed, 51 insertions, 39 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fc33d7ed0d6f..968efd14f9e6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cheat
pkgdesc = Allows you to create and view interactive cheatsheets on the command-line
- pkgver = 4.3.1
- pkgrel = 3
+ pkgver = 4.3.2
+ pkgrel = 1
url = https://github.com/cheat/cheat
arch = x86_64
arch = arm
@@ -19,14 +19,14 @@ pkgbase = cheat
conflicts = python-cheat
replaces = python-cheat
backup = etc/cheat/conf.yml
- source = cheat-4.3.1.tar.gz::https://github.com/cheat/cheat/archive/refs/tags/4.3.1.tar.gz
+ source = cheat-4.3.2.tar.gz::https://github.com/cheat/cheat/archive/refs/tags/4.3.2.tar.gz
source = chris.pgp
source = conf.yml
- source = git+https://github.com/cheat/cheatsheets.git#commit=fffe3c471a27e86e95d98fa1ed142577748c3e08
- source = cheatsheets-4.3.1-LICENSE::https://raw.githubusercontent.com/cheat/cheatsheets/master/.github/LICENSE.txt
- sha256sums = 10011b4dd8e66976decd7f3252e3221cb2c5a290740648ac3a70f3b20bac3109
+ source = git+https://github.com/cheat/cheatsheets.git#commit=9571457c230c360090ad73c1ae18af8b0b913fad
+ source = cheatsheets-4.3.2-LICENSE::https://raw.githubusercontent.com/cheat/cheatsheets/master/.github/LICENSE.txt
+ sha256sums = ea40ebfef2d126c627e39a4e3c2aaf3a6b9bcf6489992430fb30fb42b13dab16
sha256sums = 6318f816e4c8f2e9c34b8dc1855adeff58c1254809b8aa86c2b39ed155f3d2b6
- sha256sums = 18f9df59e26ca4a0bd4e660afcb1c221e89e8a8f92995656dab63057067abf9c
+ sha256sums = 30df814034a3b7146232e195829564baa7c269940b40c81e1caefbbdc83744e8
sha256sums = SKIP
sha256sums = a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499
diff --git a/PKGBUILD b/PKGBUILD
index 40791141e077..1f1e01de71f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Co-Maintainer: Joost Bremmer <contact at madeofmagicandwires dot online>
# Contributor: Bogdan <d0xi at inbox dot ru>
pkgname=cheat
-pkgver=4.3.1
-pkgrel=3
+pkgver=4.3.2
+pkgrel=1
pkgdesc="Allows you to create and view interactive cheatsheets on the command-line"
arch=('x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/cheat/cheat"
@@ -14,15 +14,15 @@ optdepends=('bash-completion: for bash completions'
conflicts=("python-$pkgname")
replaces=("python-$pkgname")
backup=("etc/$pkgname/conf.yml")
-_commit=fffe3c471a27e86e95d98fa1ed142577748c3e08
+_commit=9571457c230c360090ad73c1ae18af8b0b913fad
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz"
'chris.pgp' # Christopher Allen Lane <chris@chris-allen-lane.com>
'conf.yml'
"git+https://github.com/cheat/cheatsheets.git#commit=$_commit"
"cheatsheets-$pkgver-LICENSE::https://raw.githubusercontent.com/cheat/cheatsheets/master/.github/LICENSE.txt")
-sha256sums=('10011b4dd8e66976decd7f3252e3221cb2c5a290740648ac3a70f3b20bac3109'
+sha256sums=('ea40ebfef2d126c627e39a4e3c2aaf3a6b9bcf6489992430fb30fb42b13dab16'
'6318f816e4c8f2e9c34b8dc1855adeff58c1254809b8aa86c2b39ed155f3d2b6'
- '18f9df59e26ca4a0bd4e660afcb1c221e89e8a8f92995656dab63057067abf9c'
+ '30df814034a3b7146232e195829564baa7c269940b40c81e1caefbbdc83744e8'
'SKIP'
'a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499')
diff --git a/conf.yml b/conf.yml
index 98824e40d3f8..88563cb15efc 100644
--- a/conf.yml
+++ b/conf.yml
@@ -19,34 +19,46 @@ formatter: terminal256
# 'more' is recommended on Windows
#pager: PAGER_PATH
-# The paths at which cheatsheets are available. Tags associated with a cheatpath
-# are automatically attached to all cheatsheets residing on that path.
+# Cheatpaths are paths at which cheatsheets are available on your local
+# filesystem.
#
-# Whenever cheatsheets share the same title (like 'tar'), the most local
-# cheatsheets (those which come later in this file) take precedent over the
-# less local sheets. This allows you to create your own "overides" for
-# "upstream" cheatsheets.
+# It is useful to sort cheatsheets into different cheatpaths for organizational
+# purposes. For example, you might want one cheatpath for community
+# cheatsheets, one for personal cheatsheets, one for cheatsheets pertaining to
+# your day job, one for code snippets, etc.
#
-# But what if you want to view the "upstream" cheatsheets instead of your own?
-# Cheatsheets may be filtered via 'cheat -t <tag>' in combination with other
-# commands. So, if you want to view the 'tar' cheatsheet that is tagged as
-# 'community' rather than your own, you can use: cheat tar -t community
+# Cheatpaths are scoped, such that more "local" cheatpaths take priority over
+# more "global" cheatpaths. (The most global cheatpath is listed first in this
+# file; the most local is listed last.) For example, if there is a 'tar'
+# cheatsheet on both global and local paths, you'll be presented with the local
+# one by default. ('cheat -p' can be used to view cheatsheets from alternative
+# cheatpaths.)
+#
+# Cheatpaths can also be tagged as "read only". This instructs cheat not to
+# automatically create cheatsheets on a read-only cheatpath. Instead, when you
+# would like to edit a read-only cheatsheet using 'cheat -e', cheat will
+# perform a copy-on-write of that cheatsheet from a read-only cheatpath to a
+# writeable cheatpath.
+#
+# This is very useful when you would like to maintain, for example, a
+# "pristine" repository of community cheatsheets on one cheatpath, and an
+# editable personal reponsity of cheatsheets on another cheatpath.
+#
+# Cheatpaths can be also configured to automatically apply tags to cheatsheets
+# on certain paths, which can be useful for querying purposes.
+# Example: 'cheat -t work jenkins'.
+#
+# Community cheatsheets must be installed separately, though you may have
+# downloaded them automatically when installing 'cheat'. If not, you may
+# download them here:
+#
+# https://github.com/cheat/cheatsheets
cheatpaths:
- # Paths that come earlier are considered to be the most "global", and will
- # thus be overridden by more local cheatsheets. That being the case, you
- # should probably list community cheatsheets first.
- #
- # Note that the paths and tags listed below are placeholders. You may freely
- # change them to suit your needs.
- #
- # Community cheatsheets must be installed separately, though you may have
- # downloaded them automatically when installing 'cheat'. If not, you may
- # download them here:
- #
- # https://github.com/cheat/cheatsheets
- #
- # Once downloaded, ensure that 'path' below points to the location at which
- # you downloaded the community cheatsheets.
+ # Cheatpath properties mean the following:
+ # 'name': the name of the cheatpath (view with 'cheat -d', filter with 'cheat -p')
+ # 'path': the filesystem path of the cheatsheet directory (view with 'cheat -d')
+ # 'tags': tags that should be automatically applied to sheets on this path
+ # 'readonly': shall user-created ('cheat -e') cheatsheets be saved here?
- name: community
path: /usr/share/cheat/cheatsheets/community
tags: [ community ]
@@ -60,11 +72,11 @@ cheatpaths:
# readonly: false
# While it requires no configuration here, it's also worth noting that
- # 'cheat' will automatically append directories named '.cheat' within the
+ # cheat will automatically append directories named '.cheat' within the
# current working directory to the 'cheatpath'. This can be very useful if
# you'd like to closely associate cheatsheets with, for example, a directory
# containing source code.
#
# Such "directory-scoped" cheatsheets will be treated as the most "local"
- # cheatsheets, and will override less "local" cheatsheets. Likewise,
+ # cheatsheets, and will override less "local" cheatsheets. Similarly,
# directory-scoped cheatsheets will always be editable ('readonly: false').