Merge pull request #157452 from Stunkymonkey/treewide-remove-updatewalker
followup remove updatewalker
This commit is contained in:
commit
08afe3eb1e
5 changed files with 4 additions and 13 deletions
|
@ -67,10 +67,6 @@ indent_style = unset
|
||||||
insert_final_newline = unset
|
insert_final_newline = unset
|
||||||
trim_trailing_whitespace = unset
|
trim_trailing_whitespace = unset
|
||||||
|
|
||||||
[pkgs/build-support/upstream-updater/**]
|
|
||||||
indent_style = unset
|
|
||||||
trim_trailing_whitespace = unset
|
|
||||||
|
|
||||||
[pkgs/development/compilers/elm/registry.dat]
|
[pkgs/development/compilers/elm/registry.dat]
|
||||||
end_of_line = unset
|
end_of_line = unset
|
||||||
insert_final_newline = unset
|
insert_final_newline = unset
|
||||||
|
|
|
@ -51,7 +51,7 @@ url="${ql_src##* }"
|
||||||
[ "$ql_src_type" = github ] && {
|
[ "$ql_src_type" = github ] && {
|
||||||
ql_src_type=git
|
ql_src_type=git
|
||||||
url="https://github.com/$url";
|
url="https://github.com/$url";
|
||||||
version="$("$(dirname "$0")/../../../build-support/upstream-updater/urls-from-page.sh" "$url/releases/" | grep /tag/ | head -n 1 | xargs -l1 basename)"
|
version="$("$(dirname "$0")/urls-from-page.sh" "$url/releases/" | grep /tag/ | head -n 1 | xargs -l1 basename)"
|
||||||
rev="refs/tags/$version";
|
rev="refs/tags/$version";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ url="${ql_src##* }"
|
||||||
) && {
|
) && {
|
||||||
url="${url/git:/https:}"
|
url="${url/git:/https:}"
|
||||||
url="${url%.git}"
|
url="${url%.git}"
|
||||||
[ -z "$rev" ] && rev=$("$(dirname "$0")/../../../build-support/upstream-updater/urls-from-page.sh" "$url/commits" | grep /commit/ | head -n 1 | xargs basename)
|
[ -z "$rev" ] && rev=$("$(dirname "$0")/urls-from-page.sh" "$url/commits" | grep /commit/ | head -n 1 | xargs basename)
|
||||||
hash=$("$(dirname "$0")/../../../build-support/fetchgit/nix-prefetch-git" "$url" "$rev" | grep . | tail -n 1)
|
hash=$("$(dirname "$0")/../../../build-support/fetchgit/nix-prefetch-git" "$url" "$rev" | grep . | tail -n 1)
|
||||||
[ -z "$version" ] && version="git-$(date +%Y%m%d)";
|
[ -z "$version" ] && version="git-$(date +%Y%m%d)";
|
||||||
}
|
}
|
||||||
|
@ -131,7 +131,7 @@ url="${ql_src##* }"
|
||||||
|
|
||||||
[ "$ql_src_type" = froydware-http ] && {
|
[ "$ql_src_type" = froydware-http ] && {
|
||||||
dirurl="http://method-combination.net/lisp/files/";
|
dirurl="http://method-combination.net/lisp/files/";
|
||||||
url="$("$(dirname "$0")/../../../build-support/upstream-updater/urls-from-page.sh" "$dirurl" |
|
url="$("$(dirname "$0")/urls-from-page.sh" "$dirurl" |
|
||||||
grep "/${url}_" | grep -v "[.]asc\$" | tail -n 1)"
|
grep "/${url}_" | grep -v "[.]asc\$" | tail -n 1)"
|
||||||
ql_src_type=http
|
ql_src_type=http
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ path="${url#$protocol://}"
|
||||||
server="${path%%/*}"
|
server="${path%%/*}"
|
||||||
basepath="${path%/*}"
|
basepath="${path%/*}"
|
||||||
relpath="${path#$server}"
|
relpath="${path#$server}"
|
||||||
|
|
||||||
echo "URL: $url" >&2
|
echo "URL: $url" >&2
|
||||||
|
|
||||||
curl -A 'text/html; text/xhtml; text/xml; */*' -L -k "$url" | sed -re 's/^/-/;s/[^a-zA-Z][hH][rR][eE][fF]=("([^"]*)"|'\''([^'\'']*)'\''|([^"'\'' <>&]+)[ <>&])/\n+\2\3\4\n-/g' | \
|
curl -A 'text/html; text/xhtml; text/xml; */*' -L -k "$url" | sed -re 's/^/-/;s/[^a-zA-Z][hH][rR][eE][fF]=("([^"]*)"|'\''([^'\'']*)'\''|([^"'\'' <>&]+)[ <>&])/\n+\2\3\4\n-/g' | \
|
|
@ -1 +0,0 @@
|
||||||
url http://luarocks.org/releases/
|
|
|
@ -1,4 +0,0 @@
|
||||||
name apache-jena-fuseki
|
|
||||||
attribute apache-jena-fuseki
|
|
||||||
target fuseki-binary.nix
|
|
||||||
minimize_overwrite
|
|
Loading…
Reference in a new issue