Comments (3)
I am not sure myself but I believe I have a decent hypothesis why this happens based on this test:
opam-monorepo/test/test_duniverse.ml
Lines 153 to 169 in 5e22093
opam-monorepo
only supports one tarball per dev-repo
, because if there are multiple tarballs, their contents might have overlapping source trees (and in fact, all opam packages from the same dev-repo released with dune-release
share the same tarball which contains the entire source tree), so it needs to pick one or decide how to merge multiple source trees (which I would say is quite difficult, especially if the tarballs correspond to different versions of the dev-repo). The way it does so is by determining the dev-repo
, but if they are missing the field, then it can't figure out which tarballs to aggregate.
It might be useful to display a warning if a package is missing the dev-repo
, however this might be printing a lot of warnings for conf-packages or similar, so it would need to make sure to only warn on "normal" packages.
from opam-monorepo.
It might be useful to display a warning if a package is missing the
dev-repo
, however this might be printing a lot of warnings for conf-packages or similar, so it would need to make sure to only warn on "normal" packages.
conf
packages usually have the conf
flag so they could be easily filtered off this way.
from opam-monorepo.
That's true; certainly worth a try implementing a warning to see whether it will output some useful messages.
from opam-monorepo.
Related Issues (20)
- Using dkml-base-compiler instead of ocaml-base-compiler HOT 1
- opam monorepo ignores upper bounds HOT 13
- opam monorepo lock fails if repos specified HOT 4
- `opam monorepo lock` fails to parse git repos HOT 6
- The repository "archive-mirrors" is not respected in a `pull`, thus downloads are always from the Internet. HOT 2
- Solver can select ocaml-base-compiler and ocaml-variant at the same time HOT 4
- solver does not work when latest version of a package is not compatible with requested ocaml version HOT 1
- base-bytes.base+dune doesn't work on 4.12 HOT 1
- pull overwrites everything HOT 4
- Warnings about unknown variables being printed HOT 3
- --ocaml-version does not support pre-releases of the compiler HOT 5
- opam-monorepo: [ERROR] Solving opam-provided dependencies could not find a solution HOT 2
- Handle dune files in vendored packages
- Consider dune version HOT 12
- The `<package> Doesn't build with dune` error is omitted from the output of `opam monorepo lock` in some cases
- Adopt the OCaml Code of Conduct HOT 1
- `opam monorepo install` command? HOT 4
- opam monorepo lock not applying global opam vars? HOT 3
- opam-repository behave differently ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opam-monorepo.