ocaml-opam / Camelus

Bot posting reports on opam-repository pull-request using a web hook
Other
18 stars 9 forks source link

Camelus doesn't show any errors when the name of the package added doesn't match its subdirectory #21

Open kit-ty-kate opened 6 years ago

kit-ty-kate commented 6 years ago

Let's say I'm making a mistake and make a PR adding the package pkg/pkgx.1.0.0 to opam-repository. Currently Camelus doesn't display any errors to avoid this problem. In particular my mistake was to use a - instead of . to separate between package name and version number but of course ended up creating a new package. Could Camelus do something to highlight this kind of error ?