caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Ivan Gotovchits <ivg@ieee.org>
To: Jeremie Dimino <jdimino@janestreet.com>
Cc: "ocaml-core@googlegroups.com" <ocaml-core@googlegroups.com>,
	"caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] Package renamings for sexplib, bin_prot and a few other camlp4 syntax extensions
Date: Tue, 26 Jan 2016 11:56:57 -0500	[thread overview]
Message-ID: <CALdWJ+zCqZws+hVJKTGcx0KN0RoFSLMOb2==GDjRQCf2YYgGfw@mail.gmail.com> (raw)
In-Reply-To: <CANhEzE7ZcPWjns3+_xbwUWtkDBp383zQk-cTW18krrBiNUgmeg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2543 bytes --]

> 3. release project.0.3.1, keeping project.0.3 unchanged

The problem is that `project.0.3` will be broken for ever, as well as all
dependencies that depend on this particular version.

Maybe there is actually some misunderstanding, and we're talking about
different things. Just to clarify, are you going to go
through opam-repository and update all archives of old libraries (e.g.
sexplib.7.0.5, sexplib.108.00, ...) and remove `<library>.syntax`
findlib library from it? This is what I'm afraid of. And this is what I
name "retroactively".
As according to the PR there is nothing like this. If all old archives will
be still available, then it is perfectly fine.

> ​For merlin and oasis we just need to add pa_sexp_conv.syntax, we'll do
that.

This is what I'm proposing.

> I don't know bap very well, does it have "sexplib.syntax" hardcoded ​in
its source code or is the same situation as merlin and oasis?

Yep, but it is not a problem to me to fix it. I'm just wondering are there
any more packages, that provide build systems, that can have such problems.
Maybe just grepping the opam universe will help in answering this question.




On Tue, Jan 26, 2016 at 11:15 AM, Jeremie Dimino <jdimino@janestreet.com>
wrote:

> On Tue, Jan 26, 2016 at 3:15 PM, Ivan Gotovchits <ivg@ieee.org> wrote:
>
>> > Do you know of any tool that rely on this?
>>
>> OASIS it the most notable [1].
>>
>
> ​Ah, I didn't know about this hack​, and apparently it's the same hack for
> merlin. Well, we can certainly add ".syntax" packages to pa_sexp_conv and
> others then
>
>
>> 1. Delete `project.0.3` from the repository and add new `project.0.3-???`
>> with a fixed build system
>> 2. Retrospectively modify `project.0.3` build system and upload a new
>> tarball without changing a library.
>>
>
> ​I was thinking of:
>
> 3. release project.0.3.1, keeping project.0.3 unchanged
>
> That the same as what one would have to do if the API changed in an
> incompatible way.
>
>
>> Also, some packages, may encode library names in the code itself. For
>> example, bap uses this to track dependencies of dynamically loaded plugins.
>> Merlin has a heuristics, that
>> guesses requested syntax extensions based on package names.
>>
>
> ​For merlin and oasis we just need to add pa_sexp_conv.syntax, we'll do
> that.
> I don't know bap very well, does it have "sexplib.syntax" hardcoded ​in
> its source code or is the same situation as merlin and oasis?
>
> --
> Jeremie
>

[-- Attachment #2: Type: text/html, Size: 4933 bytes --]

  reply	other threads:[~2016-01-26 16:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-26 10:44 Jeremie Dimino
2016-01-26 13:57 ` Ivan Gotovchits
2016-01-26 14:50   ` Jeremie Dimino
2016-01-26 15:15     ` Ivan Gotovchits
2016-01-26 16:15       ` Jeremie Dimino
2016-01-26 16:56         ` Ivan Gotovchits [this message]
2016-01-26 17:17           ` Jeremie Dimino
2016-02-03 10:37             ` Jeremie Dimino
2016-02-03 19:20 ` ygrek
2016-02-05  9:36   ` Jeremie Dimino
2016-03-09 15:56     ` Junsong Li
2016-03-09 16:06       ` Jeremie Dimino
2016-03-09 16:23         ` Junsong Li
2016-03-09 17:16       ` Ivan Gotovchits
2016-03-09 17:31         ` Junsong Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALdWJ+zCqZws+hVJKTGcx0KN0RoFSLMOb2==GDjRQCf2YYgGfw@mail.gmail.com' \
    --to=ivg@ieee.org \
    --cc=caml-list@inria.fr \
    --cc=jdimino@janestreet.com \
    --cc=ocaml-core@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).