release handling

Sean Hinde Sean.Hinde@REDACTED
Wed Oct 11 15:37:38 CEST 2000


> Sean Hinde <Sean.Hinde@REDACTED> wrote:
> > First I hacked systools:make_tar/1 to get it to make a tar file just
> > containing the new SNMP version ignoring all the dependencies.

Martin:
> I think it would be great with an option to exclude all unchanged
> apps.  If you have added such an option, and you'd like to share it, I
> think it should be included in the next OTP release.

It wasn't nearly so nice - I just copied systools.erl and mangled it by
deleting enough that it ignored enough dependency checks and extraneous
stuff that it just provided the application in a tar file. I agree it would
be very nice to have an option to ignore application dependencies. I'll try
to find some time to analyse the havoc I caused to see if it can be made
into a patch...

It also doesn't look too hard to come up with an init:restart(Rel_name).
which makes the new release permanent after some minimal checking that the
files are there before restarting. It's a bit scary playing about with init
though!!

Sean



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





More information about the erlang-questions mailing list