[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] removal of deprecated config in mirage 3.0 (mirage configure --unix/--xen, add_to_opam_packages, add_to_libraries)



> On 15 Jul 2016, at 15:29, Mindy <mindy@xxxxxxxxxxxxxxxxxxx> wrote:
> 
> Hi all,
> 
> As part of the move to Functoria, a few things were deprecated:
> 
> * invoking mirage configure --unix and mirage configure --xen to build for 
> UNIX/Xen targets.  Instead, use mirage configure -t unix or -t xen.

Was this deprecated?  I vaguely remember that we came up with a way to keep it. 
 I can’t recall the detailed discussion but there’s a mention on the functoria 
release tracking issue [1] (which discusses adding a warning, but there isn’t 
one yet) nor is there any mention of deprecation on the breaking changes page 
[2].

If I missed a discussion somewhere (which is likely), can we link to it?

[1] https://github.com/mirage/mirage/issues/447
[2] https://mirage.io/wiki/breaking-changes

> 
> * using add_to_opam_packages to install extra required packages not detected 
> by the mirage front-end tool.  Instead, pass the same list to `register` in 
> the ~packages named argument.
> 
> * similarly, using add_to_ocamlfind_libraries to link against extra 
> libraries.  Instead, pass the same list to `register` in the ~libraries named 
> argument.
> 
> These have worked in `mirage` versions to this point, with an unfortunate 
> side effect: an uncompileable `config.ml` results in a misleading error 
> message telling the user they've supplied an invalid flag on the command 
> line.  Fixing this bug is significantly easier if the deprecated functions 
> are removed, so I'd like to remove them in Mirage 3.0.
> 
> Branches of Functoria and Mirage which remove this functionality (and fix the 
> mentioned bug) can be previewed via the following PRs:
> 
> https://github.com/mirage/functoria/pull/65
> 
> https://github.com/mirage/mirage/pull/560
> 
> Thanks,
> 
> Mindy
> 
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.