update watch files

This commit is contained in:
John McQuah 2024-05-04 12:16:57 +00:00
parent 4cf408461e
commit 41a0bef8c7
10 changed files with 30 additions and 43 deletions

12
REPO
View File

@ -137,9 +137,9 @@ f:2d0c97f36a2d60b8db8e5b915cc13eb3:bemenu/.signature
f:7e77935851fcf4a2561511e9a1817768:bemenu/Pkgfile f:7e77935851fcf4a2561511e9a1817768:bemenu/Pkgfile
f:a8fad073dd3f91231e8fa2b0ff81b07d:bemenu/.footprint f:a8fad073dd3f91231e8fa2b0ff81b07d:bemenu/.footprint
f:4bd5070636360865228067768da977b8:lbreakouthd/README f:4bd5070636360865228067768da977b8:lbreakouthd/README
f:4829cea8033cf908e1814c15e506a169:lbreakouthd/.signature f:a17613dcf63a33b232f085846e97839a:lbreakouthd/.signature
f:d2308d37b6d5b2a67198e90b701dbfe9:lbreakouthd/Pkgfile f:9c7c0d6fd20a8a29dbe278f0566c159c:lbreakouthd/Pkgfile
f:d32be866b7f980203fc6564c947bff33:lbreakouthd/.footprint f:1627e0f9cc064b27dffe3d2f13f60acd:lbreakouthd/.footprint
f:d8f351d4fb547859ae62a6aec84e2a2e:xclock/.signature f:d8f351d4fb547859ae62a6aec84e2a2e:xclock/.signature
f:63dd2c0915dada0d2d57d4973852e693:xclock/Pkgfile f:63dd2c0915dada0d2d57d4973852e693:xclock/Pkgfile
f:9e7fd2d9b0727049d7af602113e27204:xclock/.footprint f:9e7fd2d9b0727049d7af602113e27204:xclock/.footprint
@ -159,9 +159,9 @@ f:b90d579de47886b904cb8f61c408d0e4:deadbeef/.footprint
f:c76ab154b650442f15135838b695d7e5:octave/.signature f:c76ab154b650442f15135838b695d7e5:octave/.signature
f:b831b5b79847f469c6faa1492151bc4a:octave/Pkgfile f:b831b5b79847f469c6faa1492151bc4a:octave/Pkgfile
f:3b474e5611c6180796af976a03f337d8:octave/.footprint f:3b474e5611c6180796af976a03f337d8:octave/.footprint
f:abab16457a738deb1b0c271132664c4c:python3-pyicu/.signature f:166056a463ccda0bc54f0a145057431a:python3-pyicu/.signature
f:c2059e94e9efd82750e110c1dfe4f9ae:python3-pyicu/Pkgfile f:c1dcbf06a861e89542fcf5a5f82e05d8:python3-pyicu/Pkgfile
f:e61ffc32670214efee164aa41a3afe0c:python3-pyicu/.footprint f:ef43c58f08e497e8b8136db85563b9df:python3-pyicu/.footprint
f:a6245b9017406d3b07a58b6765c710f8:zathura-ps/.signature f:a6245b9017406d3b07a58b6765c710f8:zathura-ps/.signature
f:7ffbefb227176f1b8d5c0a7fe6efa212:zathura-ps/Pkgfile f:7ffbefb227176f1b8d5c0a7fe6efa212:zathura-ps/Pkgfile
f:dc946177c3e1057591b8951b35cefb57:zathura-ps/.footprint f:dc946177c3e1057591b8951b35cefb57:zathura-ps/.footprint

View File

@ -1,5 +1,3 @@
#!/bin/sh #!/bin/sh
curl -s "https://github.com/Cloudef/bemenu/releases" \ lynx -dump "https://github.com/Cloudef/bemenu/raw/master/VERSION"
| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*>(.+)<.*/,"\\1",1); print;}' \
| head -n 1

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
curl -s "https://github.com/project-repo/cagebreak/releases" \ curl -s "https://raw.githubusercontent.com/project-repo/cagebreak/master/Changelog.md" \
| awk '/<h2 class=.sr-only/ { $0=gensub(/.*>Release (.+)<.*/,"\\1",1); print; }' \ | awk '/^## Release/ { print $NF }' \
| head -n 1 | head -n 1

View File

@ -1,5 +1,4 @@
#!/bin/sh #!/bin/sh
curl -s "https://github.com/labwc/labwc/releases" \ curl -s "https://raw.githubusercontent.com/labwc/labwc/master/NEWS.md" \
| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*>(.+)<.*/,"\\1",1); print;}' \ | awk '/^## / {print gensub(/(\[|\])/,"","g",$2)}' | head -n 1
| head -n 1

5
prboom-plus/.watch Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
curl -s "https://github.com/coelckers/prboom-plus/tags" \
| awk '/^\s*<pre class.*bump version to / {print $NF}' \
| head -n 1

View File

@ -1,20 +1,6 @@
#!/usr/bin/env python3 #!/bin/sh
from subprocess import Popen,PIPE curl -s "https://pypi.org/rss/project/et-xmlfile/releases.xml" \
from bs4 import BeautifulSoup as bs | awk '/<title>[0-9]+/ {print}'
| sed 's/.*<title>//; s/<\/title>//;' \
def get_html(url): | head -n 1
try:
curlpipe = Popen(["/usr/bin/curl","-s","-L",url],stdout=PIPE)
except:
print("- Request error: unable to retrieve {}".format(url))
return None
curltup = curlpipe.communicate()
return curltup[0]
page = get_html("https://pypi.org/project/et_xmlfile/")
soup = bs(page, 'lxml')
headers = soup.body.find_all('h1')
for h in headers[:1]:
name_version = h.get_text().split()
print(name_version[-1])

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
curl -s "https://github.com/rrthomas/recode/releases" \ curl -s "https://github.com/rrthomas/recode/raw/master/NEWS" \
| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*v(.+)<.*/,"\\1",1); print;}' \ | awk '/^Version [0-9]+/ {print $2}' \
| head -n 1 | head -n 1

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
curl -s "https://github.com/wez/wezterm/releases" \ curl -s "https://github.com/wez/wezterm/tags" \
| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*>(.+)<.*/,"\\1",1); print;}' \ | awk '/a href=.\/wez\/wezterm\/releases\/tag/ { print }' \
| head -n 1 | sed 's/.*a href=".*">//; s/<\/a>.*//;' | head -n 1

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
curl -s "https://github.com/ammen99/wf-recorder/releases" \ curl -s "https://github.com/ammen99/wf-recorder/tags" \
| awk '/<h2 class=.sr-only/ {$0=gensub(/.*wf-recorder (.+)<.*/,"\\1",1); print;}' \ | awk '/bump meson.build version to / {print $NF}' \
| head -n 1 | head -n 1

View File

@ -1,5 +1,4 @@
#!/bin/sh #!/bin/sh
curl -s "https://github.com/Mindwerks/wildmidi/releases" \ curl -s "https://raw.githubusercontent.com/Mindwerks/wildmidi/master/README.md" \
| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*>WildMIDI (.+)<.*/,"\\1",1); print;}' \ | awk '/^Version:/ {print $2}' # | head -n 1
| head -n 1