-
Notifications
You must be signed in to change notification settings - Fork 21
regressions in functoria 3.0 #175
Comments
Many thanks for the feedback, I'll address these issues next week and I'll add a few tests to avoid this kind of regressions in the future. |
thanks @samoht -- about (2) and (3), esp. taking your comment into account, I was wondering why a |
and for the record, I'm fine with dropping |
I think the idea was to generate a So maybe we should generate a |
An other option is to generate |
@samoht there's for sure a huge design space which files to generate and where to put them. I'd try to minimize the amount of generated files, since it is always a burden on the user, esp. if these are files someone is trained to write by hand in other projects (such as another regression in the mirage-skeleton build (other warnings are now active and error out), from https://travis-ci.org/mirage/mirage/jobs/567876604
|
See #176 for a first tentative to fix these regressions. I haven't tested that PR much so I've probably broke new things while fixing part of the issues you reported. I plan to continue working on these slowly over the next few days. |
thanks, a fine test is mirage-skeleton. I'll comment in more detail when I manage to find time to test or review your PR. |
So my PR is indeed broken -- i've spent a few hours trying to debug this, but the I think we need to take a step back and try to define the semantics of |
According to past experiences, attempts to remove If we decide to cleanup the frontend and remove all the fancy file-system related options, I think we still need to be careful about the design. That being said, I was pretty sure those were exercised by @yallop 's tests ... did those get removed ? |
@samoht on 3rd of August:
now, a month later, this is still not fixed and released? :/ |
This is fixed in #176 but it's very hard to test properly so I am not sure how to go forward. I'll revert the 3.0 release in the meantime. |
i'm normally reluctant to remove a release from opam-repo, but the regressions seem significant enought to warrant this, so done. |
This is now fixed and a 3.0.1 release is on its way:ocaml/opam-repository#15099 |
I finally found the time to try functoria 3.0.0 out, and noticed some regressions //cc @samoht @TheLortex
mirage configure -f config2.ml
used to work, now I get:config.ml
leads to an error location inconfig/config.ml
-- that's unexpected since I never did anything in theconfig
subdirectory (previously the error location was inconfig.ml
)(3) a unikernel (such as https://git.robur.io/?p=openvpn.git;a=tree;f=mirage-client;h=c69bca6813e17f462ed9373806113afc9a8ccaf5;hb=HEAD) that uses the subdirectory
config
tocrunch
the configuration:mirage clean
(that's unexpected and a bit too eager, how will I now get my configuration back?)static1.ml
contains more files than expected~> maybe functoria should be a bit more careful to only remove stuff it generated itself? (and/or warn/refuse to do anything if a hand-crafted
config
directory exists?; or reside in some_YYY
directory (as already used by mirage:_build
/_build-ukvm
/_build-solo5-hvt
))(4) app-info is broken: a
mirage configure && mirage build
in mirage-skeleton/tutorial/app_info leads to:mirage configure -b tst && mirage build -b tst
leads to an error:The text was updated successfully, but these errors were encountered: