Off the top of my head, we'd need:

mysql driver
postgresql driver
mnesia driver
erlyweb or erlyweb & erlydb
yaws

Have I missed any?

I'm trying to search CEAN's packaging archives to see what's available  
but it's down right now :(

Looking at the format of their .pub flie (analogous to a spec file for  
RPMs) one thing I notice is the lack of a "provides" or "feature"  
field. This is really useful when you have several different packages  
which provide the same basic feature but are specialized in some way.  
The best example of this would be the database drivers. If I was going  
to package up erlydb I'd want the packages to require some sort of "db- 
driver" feature which would be provided by all 3 of the driver  
packages (mysql, postgresql, mnesia). Without that the only way I can  
think to do it would be to have erlydb-postgres, erlydb-mysql, and  
erlydb-mnesia which seems like a pretty ugly hack to me.

Another thought I had was to factor out the dependency on yaws from  
erlyweb into a separate module. This would isolate the code changes  
required for a specific yaws build. You could install, say,  
erlyweb-0.7, Yaws-1.90, and erlyweb-yaws-adapter-0.3 and get a working  
system. If yaws were upgraded/downgraded theoretically you'd only need  
to install a new adapter.

--Kevin

On Jan 2, 2008, at 7:05 AM, Simon Chappell wrote:

>
> On Jan 1, 2008 9:27 PM, Kevin A. Smith <[EMAIL PROTECTED]>  
> wrote:
>>
>> I can give that a try.
>
> Wonderful. Thank you.
>
>> The previous email came off a little strong so I apologize if I
>> implied that you had the answer. I wasn't expecting anyone to have
>
> No problem. No offense taken.
>
>> figured it out. We're all in the brainstorming phase. I was throwing
>> out the tarball/makefile combo as an idea. What I think erlang is
>> missing in general is a packaging system like Ruby's gems or Python's
>> eggs. The process-one guys have developed CEAN but it hasn't seemed  
>> to
>> get a lot of traction yet.
>
> A packaging system does seem to be a useful thing. I admit that I
> haven't used CEAN at all, although I had heard of it :-). Are there
> any tutorials or new user guides? Is it possible to install everything
> we're using here from CEAN?
>
> Simon
>
> -- 
> simonpeter.org | simonpeter.com | newlife-upc.org |  
> wisconsindistrictnews.org
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to