#1574 Status of fanr

brian Wed 13 Jul 2011

I have pretty much completed all the core code for the fanr repository and package management feature. It doesn't have all the bells and whistles yet, but all the core stuff is working.

We probably won't be adding fanr capability to fantom.org until later this fall when we release a total revamp of the software stack powering this site. We will be rolling it out for our commercial customers shortly; should give us some good production experience with the software before we do a larger roll out.

Although I'm not ready to do a new Fantom build, you can pull all the latest code from hg and play with it yourself. There is a simple command line option to run a simple fanr web server:

fan fanr::WebRepoMain /testrepo -port 80

You can then configure your etc/fanr/config.props and set your local repo to "http://localhost/" and then play around with "fanr" command line tool.

I have written a whole new documentation pod docFanr for this feature and posted it for review.

DanielFath Thu 14 Jul 2011

Nice, can't wait for the next stable version :D

rfeldman Sun 11 Sep 2011

So I realize this is totally, totally out of scope for fanr at the moment, but thought I'd add it to the wish list - if fanr could be configured to pull from Maven repos and (for example) deterministically build and install pods using the requested Maven artifacts (using Java FFI), the quantity of ready-to-use libraries easily accessible to Fantom developers would absolutely skyrocket.

...or I guess maybe one way to do that would be for someone to set up a web repo that automatically mirrored mvnrepository.com and did what I just described under the hood, so Fantom users could just transparently add pods from it.

Hm...

brian Mon 12 Sep 2011

So I realize this is totally, totally out of scope for fanr at the moment, but thought I'd add it to the wish list - if fanr could be configured to pull from Maven repos and (for example)

It is highly unlikely that I will ever build Maven support into fanr myself. However, I would be happy to work with someone else who was interested in doing that. Most likely the proper design would be to create a new implementation of fanr::Repo mapped to a Maven specific URI scheme. Although unless the Maven jars had the appropiate Fantom meta-data and structure, there would probably be some mapping process which would warrant caching, in which case perhaps a mirroring design might be more efficient.

Login or Signup to reply.