-
Notifications
You must be signed in to change notification settings - Fork 11
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
Don't encourage distribution of repetitive removal files in opam metadata #24
Comments
On Thu, 4 Feb 2016 12:01:16 -0800, David Sheets wrote:
This was upstreamed a while ago but a new release of oasis needs to be made — not really my decision to make. Another possibility is that opam offers a portable way to change directories (say a variable "cd" that gets expanded according to the platform). It is not the case at the moment. Also, this file only gets added when an executable is built — packages providing only libraries do not need it. |
@Chris00 FWIW I like oasis2opam a lot, it makes my life easier, thank you. Isn't oasis "owned" by ocaml.org? Who then can do a release of oasis without stepping on anyone's toes. |
@Chris00, what is the current workflow for the generation and distribution of these files? Is there some way to encourage their inclusion in the package itself, rather than the opam repository? Ideally, the |
The better would be that oasis generates an Alternatively, one may want to install executables with ocamlfind (must check that they then get automatically removed using |
It can be statically included in the tarball because it is being statically included in the opam repository. Yes, it would be ideal if oasis generated a complete |
The only file that can be statically included in the package is |
I believe
Clearly this is currently included statically in the opam metadata So long as I believe you can use something like |
@Chris00 Great thank you, I always use |
package.install
:and
_oasis_remove_.ml
:get added to every version of every package that uses this tool and are distributed to every user of opam even if they don't use those packages. They are always the same. They increase bandwidth and storage costs with very little benefit. They belong in the build system of the package. They make opam package analysis harder because the package is no longer self-contained.
Perhaps the solution is to upstream oasis changes so
setup.ml
can change its own directory?The text was updated successfully, but these errors were encountered: