-
Notifications
You must be signed in to change notification settings - Fork 450
dev meeting 2024 09 04
Marek Kubica edited this page Sep 5, 2024
·
5 revisions
Attendees: @maiste @Leonidas-from-XIV @moyodiallo @lostera
- Discussion on
packageorpkgcommands. How should we handle it. - Discuss assessing some Terminologies:
dune-projects,dev-tool,dev-tools. - Auto re-locking: reminder about the blockers and if there are some possible solutions.
- We should make sure that everyone is onboard wrt to the proper time of the call
- The old invite (with the old time) has been deleted now, to avoid confusion
- We shouldn't choose a prefix because we don't yet know how people are going to use this. Might not even be a prefix, e.g.
dune lockordune addetc. -
Cmdlinerhas a way of marking options as deprecated so we can remove them later in a kind of nice way - Q: Will
dune pkg lockdisappear?- No, it's just that people in the DX interview tend to use
package - We might create
dune lock
- No, it's just that people in the DX interview tend to use
- Q: If we have autolocking, will we then remove
dune pkg lock?- No, there's still cases where manually locking could be preferred
- Q: Will we have autolocking?
- It's a technical challenge to make locking work
- Current solver input is terrible
- Hard to fix because it is a generic SAT solver which doesn't know what the context is of what it is solving, it's used for 0install and hacked to work with Opam packages
- Q: Can we get better output?
- The solver has a way to get the diagnostics in a structured way
-
opam-monorepodoes this, but it is hard to interpret the diagnostics
- Locking as part of
buildis a technical issue
- It is not a build target and doesn't use the engine
- Q: Can we make it a build target?
- Possibly, but at the moment the engine only writes to
_build - We can
promotethe results back into the source tree - Other ways autolocking is done?
- How does
yarnsolve this?-
yarn install/yarn add
-
- How does
cargo watchsolve this? - Is there a Go equivalent of this?
- No watch mode that we know of, at least no official one
- How does Elixir solve this?
- A bit different because in Elixir/Erlang you keep the image running, so the overall workflow is pretty different.
- How does
- If we want to convert locking into a build target we need to make sure that this is the main blocker
-
dev-dependenciesvswith-dev-setupvsdev-toolsvsdev tools - Should we standardize the terminology?
- Might not be very confusing
- We could avoid introducing another term (dev tools)
- Do we need
dev-dependencies? What other ecosystems put intodev-dependencieswe mostly have intest
-
dune addcommand - Github package dependency syntax
- We'll be working on making the page with the developer preview binaries nicer
- Using the ocaml.org codebase so the change can be upstreamed and we don't need to do the work twice in two different approaches
- We need to eventually use the OCurrent pipeline correctly, to not have to spend a long time at the very end blocked on writing that when we just want to release