-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint: update W59 (no checksum on url) to always display a warning, no…
… more tied to --check-upstream option
- Loading branch information
Showing
5 changed files
with
27 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -352,7 +352,10 @@ homepage: "egapemoh" | |
maintainer: "[email protected]" | ||
license: "ISC" | ||
bug-reports: "https://nobug" | ||
url { src:"https://u.rl" } | ||
url { | ||
src:"an-archive.tgz" | ||
checksum: "md5=00000000000000000000000000000000" | ||
} | ||
### opam lint ./lint.opam | ||
${BASEDIR}/lint.opam: Warnings. | ||
warning 37: Missing field 'dev-repo' | ||
|
@@ -852,7 +855,8 @@ dev-repo: "hg+https://[email protected]" | |
bug-reports: "https://nobug" | ||
url { src:"an-archive.tgz" } | ||
### opam lint ./lint.opam | ||
${BASEDIR}/lint.opam: Passed. | ||
${BASEDIR}/lint.opam: Warnings. | ||
warning 59: url doesn't contain a checksum | ||
### opam lint ./lint.opam --check-upstream | ||
${BASEDIR}/lint.opam: Warnings. | ||
warning 59: url doesn't contain a checksum | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -353,6 +353,7 @@ depexts devel/llvm10 llvm-10-dev | |
opam-version: "2.0" | ||
url { | ||
src:"https://an.arch/i/ve.tgz" | ||
checksum: "md5=00000000000000000000000000000000" | ||
mirrors: | ||
[ "https://a.mi/rror" | ||
"http://swhid.opam.ocaml.org/swh:1:dir:309cf2674ee7a0749978cf8265ab91a60aea0f7d" ] | ||
|
@@ -364,18 +365,19 @@ name swhid | |
all-versions dev | ||
|
||
<><> Version-specific details <><><><><><><><><><><><><><><><><><><><><><><><><> | ||
version dev | ||
pin https://an.arch/i/ve.tgz | ||
url.src "https://an.arch/i/ve.tgz" | ||
url.swhid "swh:1:dir:309cf2674ee7a0749978cf8265ab91a60aea0f7d" | ||
homepage "egapemoh" | ||
bug-reports "https://nobug" | ||
dev-repo "hg+https://[email protected]" | ||
authors "the testing team" | ||
maintainer "[email protected]" | ||
license "MIT" | ||
synopsis A word | ||
description Two words. | ||
version dev | ||
pin https://an.arch/i/ve.tgz | ||
url.src "https://an.arch/i/ve.tgz" | ||
url.swhid "swh:1:dir:309cf2674ee7a0749978cf8265ab91a60aea0f7d" | ||
url.checksum "md5=00000000000000000000000000000000" | ||
homepage "egapemoh" | ||
bug-reports "https://nobug" | ||
dev-repo "hg+https://[email protected]" | ||
authors "the testing team" | ||
maintainer "[email protected]" | ||
license "MIT" | ||
synopsis A word | ||
description Two words. | ||
### opam show ./swhid.opam --raw | ||
opam-version: "2.0" | ||
name: "swhid" | ||
|
@@ -390,6 +392,7 @@ bug-reports: "https://nobug" | |
dev-repo: "hg+https://[email protected]" | ||
url { | ||
src: "https://an.arch/i/ve.tgz" | ||
checksum: "md5=00000000000000000000000000000000" | ||
mirrors: [ | ||
"https://swhid.opam.ocaml.org/swh:1:dir:309cf2674ee7a0749978cf8265ab91a60aea0f7d" | ||
"https://a.mi/rror" | ||
|