Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn when using source for different version #352

Merged
merged 2 commits into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
status of the packages (#258, #323, @RyanGibb, @Julow)
- Take `archive-mirrors` from the global opam configuration into account to
allow more local caches (#337, @hannesm)
- Log at WARN level when opam-monorepo chooses a source for a package that
doesn't match the package's version (#352, @reynir)

### Removed

Expand Down
2 changes: 1 addition & 1 deletion lib/duniverse.ml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ module Repo = struct
version (url_to_string url)
in
let sep fmt () = Format.fprintf fmt "\n" in
Logs.info (fun l ->
Logs.warn (fun l ->
l
"The following packages come from the same repository %s but are \
associated with different URLs:\n\
Expand Down