File: watch

package info (click to toggle)
darkradiant 3.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 41,080 kB
  • sloc: cpp: 264,743; ansic: 10,659; python: 1,852; xml: 1,650; sh: 92; makefile: 21
file content (22 lines) | stat: -rw-r--r-- 1,124 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
version=4
# searchmode: use searchmode plain to search in the JSON returned by 
# the API
# filenamemangle: extract from the URL the GitHub project name (the last
#                 path part before /tarball/) and the version,
#                 to generate a resulting tarball named:
#                 ${PROJECT_NAME}-${VERSION}.tar.gz
# pgpsigurlmangle: retrieve also the tarball PGP signature assuming it 
#                  was uploaded with name ${PROJECT_NAME}-v${VERSION}
#                  extracting from the tarball download URL the GitHub
#                  username/organization, the GitHub project name and
#                  the version generating the signature URL as required 
#                  by GitHub
# URL: use the project API URL to get the release information, looking 
#      for the tarball URL and extracting the version from the last part
#      of the URL path.
opts=searchmode=plain,\
filenamemangle=s~.+/([^/]+)/tarball/(@ANY_VERSION@)~$1-$2.tar.gz~ \
  https://api.github.com/repos/codereader/DarkRadiant/releases \
  https://api.github.com/repos/codereader/DarkRadiant/tarball/@ANY_VERSION@