]> git.proxmox.com Git - rustc.git/commitdiff
update watch file for downloading other versions
authorXimin Luo <infinity0@debian.org>
Mon, 5 Apr 2021 13:51:49 +0000 (14:51 +0100)
committerXimin Luo <infinity0@debian.org>
Mon, 5 Apr 2021 13:51:49 +0000 (14:51 +0100)
debian/watch

index 8dd007c372f87de695cb54d189980a00240ece25..fe1cc1e51e238c21e975f74342da0e82db82ab16 100644 (file)
@@ -1,6 +1,7 @@
 version=4
 # if you need to download other versions replace the URL below with this one:
-# https://static.rust-lang.org/dist/index.html
+# https://static.rust-lang.org/dist/channel-rust-$VERSION.toml
+# and also add searchmode=plain,\
 # it's a bit slower to download, that's why we use the other one normally
 
 opts="\
@@ -14,4 +15,4 @@ repacksuffix=+dfsg1,\
 compression=xz,\
 " \
  https://forge.rust-lang.org/infra/other-installation-methods.html \
- (?:.*/)rustc?-(\d[\d.]*(?:-[\w.]+)?)-src\.tar\.[gx]z
https://(?:.*/)rustc?-(\d[\d.]*(?:-[\w.]+)?)-src\.tar\.[gx]z