Am 16.06.2012 23:06:46 schrieb(en) Markus Mottl:
On Sat, Jun 16, 2012 at 5:03 AM, Sylvain Le Gall
<sylv...@le-gall.net> wrote:
> I was under the impression that setting different revision number
for
> different map would be enough. It will extract the files at this
> revision... (Gerd could you confirm?)
The problem here is that you might need to maintain an older release
(bug fixes, etc.). Not sure how you want to do that with different
revision numbers only.
> I think that trunkXXX is made for package that are really dependent
on
> the version of OCaml (e.g. dependent on OCaml sources).
True, and isn't this often the case? I think it's much more
transparent to simply "fork" the old package directory whenever a new
release of OCaml with new features is made. I don't want to test new
releases with all compilers every time I want to upload them. It's
just too easy to break old stuff by unknowingly using a new language
or standard library feature.
Maybe Gerd can weigh in on that. He has surely thought more carefully
about the work flow and when trunks should be forked. I personally
don't see any downside to my current approach, especially since most
people upgrade quickly and are almost never more than one major
release behind.
Basically this is up to the package maintainer. Personally, I try to
follow a slightly different scheme than Markus:
I keep the packages in trunk as long as possible. If it is unavoidable
to maintain two versions (i.e. two different set of patches), I put the
older one in trunkXXX, and keep the newest in trunk.
That way, you normally only have one head version, which is good for my
overloaded mind, and it usually also works (even with 4.00, most of the
packages made for 3.12 still work unchanged). When a new Ocaml version
comes out, this scheme saves a bit of work for me - you can just try
whether the old version builds, and just rerelease it.
However, this is just my personal preference.
Gerd
Regards,
Markus
--
Markus Mottl http://www.ocaml.info
markus.mo...@gmail.com
--
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany g...@gerd-stolpmann.de
Creator of GODI and camlcity.org.
Contact details: http://www.camlcity.org/contact.html
Company homepage: http://www.gerd-stolpmann.de
------------------------------------------------------------
_______________________________________________
Godi-list mailing list
Godi-list@ocaml-programming.de
https://godirepo.camlcity.org/mailman/listinfo/godi-list