diff options
-rwxr-xr-x | cgit/new.sh | 2 | ||||
-rw-r--r-- | nginx/nginx.conf | 4 | ||||
-rw-r--r-- | packages/aur.ini | 2 | ||||
-rw-r--r-- | packages/aur.py | 17 | ||||
-rw-r--r-- | packages/searxng/PKGBUILD | 4 |
5 files changed, 23 insertions, 6 deletions
diff --git a/cgit/new.sh b/cgit/new.sh index 9e14080..351e4ae 100755 --- a/cgit/new.sh +++ b/cgit/new.sh @@ -16,5 +16,5 @@ ssh -t git@asylum rm $1.git/description '&&' micro $1.git/description if [ $public = y ]; then ssh git@asylum touch $1.git/git-daemon-export-ok - ssh git@asylum rm -r .cache + # ssh git@asylum rm -r .cache fi diff --git a/nginx/nginx.conf b/nginx/nginx.conf index b331ddd..a5e108d 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -111,6 +111,10 @@ http { proxy_pass http://unix:/run/searxng.sock; } + location /autocompleter { + proxy_pass http://unix:/run/searxng.sock; + } + %AUTH_LOCATIONS% } diff --git a/packages/aur.ini b/packages/aur.ini index d3fbb83..326f106 100644 --- a/packages/aur.ini +++ b/packages/aur.ini @@ -1,6 +1,6 @@ cgit-pink = 87afbcd732af921d9127cbbbe4aeb8f823f72d97 fw-ectool-git = r2763.0ac6155 -iceshrimp.net-git = v2024.1.beta1.r2.g566b2e3 +iceshrimp.net-git = v2024.1.beta2.r38.g2625a4f ; searxng deps python-fasttext-predict = 043cd051e2e43ba72a9776745fde07bbb290d44a diff --git a/packages/aur.py b/packages/aur.py index 4fdbcfc..b52ab29 100644 --- a/packages/aur.py +++ b/packages/aur.py @@ -1,18 +1,25 @@ import shlex import subprocess - -from local import build_push +import sys from commia.prelude import * from commia.util import check_continue, read_ini +from local import build_push packages = read_ini("packages/aur.ini")["default"] ini = Path("packages/aur.ini").read_text() git_ignore = Path("packages/.gitignore").read_text() +only = sys.argv[1:] +if len(only) == 0: + only = None + print("initializing new packages") for name, fix in packages.items(): + if only and name not in only: + print(f"skipping {name}") + continue if not Path(f"packages/{name}").exists(): print(f"cloning {name}") run_check( @@ -49,6 +56,9 @@ print("checking for new versions") queue = [] for name, current in packages.items(): + if only and name not in only: + print(f"skipping {name}") + continue if name.endswith("-git"): continue print(f"checking {name}") @@ -75,6 +85,9 @@ for name, current in packages.items(): for name, current in packages.items(): + if only and name not in only: + print(f"skipping {name}") + continue if not name.endswith("-git"): continue print(f"checking {name}") diff --git a/packages/searxng/PKGBUILD b/packages/searxng/PKGBUILD index c51e1ae..b84ab53 100644 --- a/packages/searxng/PKGBUILD +++ b/packages/searxng/PKGBUILD @@ -1,8 +1,8 @@ # adapted from searxng-git 1.0.0.r3824.gac430a9ea-1 pkgname=searxng -_date=2024.05.31 -_commit=18fb701be +_date=2024.07.05 +_commit=c835f920e pkgver=$_date+$_commit pkgrel=1 pkgdesc="A privacy-respecting, hackable metasearch engine" |