From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 8F8F97FCCB for ; Sat, 28 Mar 2015 08:06:29 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of louis.gesbert@ocamlpro.com) identity=pra; client-ip=37.187.244.36; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="louis.gesbert@ocamlpro.com"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of louis.gesbert@ocamlpro.com) identity=mailfrom; client-ip=37.187.244.36; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="louis.gesbert@ocamlpro.com"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@vps119294.ovh.net) identity=helo; client-ip=37.187.244.36; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="postmaster@vps119294.ovh.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CVEACgURZV/yT0uyVcgwZSFYNawkGFcwIIgR9NAQEBAQEBfUEBg1MBBSNWEAshEw4CAg8BRwYBiEUJskaZZgEBAQEGAQEBAQEBGASLKIR4BzCCOIFFBYsWiTCHHIwfgy+DSCKDfS+CdAEBAQ X-IPAS-Result: A0CVEACgURZV/yT0uyVcgwZSFYNawkGFcwIIgR9NAQEBAQEBfUEBg1MBBSNWEAshEw4CAg8BRwYBiEUJskaZZgEBAQEGAQEBAQEBGASLKIR4BzCCOIFFBYsWiTCHHIwfgy+DSCKDfS+CdAEBAQ X-IronPort-AV: E=Sophos;i="5.11,483,1422918000"; d="asc'?scan'208";a="130507900" Received: from 36.ip-37-187-244.eu (HELO vps119294.ovh.net) ([37.187.244.36]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 28 Mar 2015 08:06:29 +0100 From: Louis Gesbert To: caml-list@inria.fr, Daniel =?ISO-8859-1?Q?B=FCnzli?= Cc: "Mr. Herr" Date: Sat, 28 Mar 2015 16:06:07 +0900 Message-ID: <3968759.zD7zqGanax@agaric> Organization: OCamlPro In-Reply-To: <36D041EEA2094E45AB2BB6BA1C2C37F5@erratique.ch> References: <2162350.aHZvdojE6Q@agaric> <5515B4F8.3070205@freenet.de> <36D041EEA2094E45AB2BB6BA1C2C37F5@erratique.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart285508684.c7IpIefybs"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Validation-by: louis.gesbert@ocamlpro.com Subject: Re: [Caml-list] OPAM 1.2.1 --nextPart285508684.c7IpIefybs Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Indeed, two variables is a bit overkill, but the OPAMUTF8MSGS variable was = kept mostly for backwards-compatibility, and also because I needed a (defau= lt) intermediate level with the arrows, but without the camel emojis. On se= cond thought, maybe adding a possible value (i.e. 'always', 'never', 'auto'= or 'partial') would be best. And the documentation should indeed specify t= hat it's only for OPAM-generated messages, excluding metadata that may be p= rinted. Mr. Herr: indeed, in the case of 'opam update', it's not completely self-explanatory.= But I made sure that it is in the case of package actions, which is the on= e that matters: % opam install core_bench --show The following actions would be performed: =E2=86=98 downgrade sexplib 112.24.00 to 112.17.00 [required = by core_bench] =E2=86=98 downgrade pa_ounit 112.24.00 to 112.17.00 [required = by core_bench] =E2=86=98 downgrade bin_prot 112.24.00 to 112.17.00 [required = by core_bench] =E2=86=98 downgrade pa_test 112.24.00 to 111.08.01 [required = by core] =E2=86=BB recompile uri 1.8.0 [uses sexp= lib] =E2=86=BB recompile ipaddr 2.6.1 [uses sexp= lib] =E2=86=BB recompile ezjsonm 0.4.1 [uses sexp= lib] =E2=86=BB recompile cstruct 1.5.0 [uses sexp= lib] =E2=86=98 downgrade custom_printf 112.24.00 to 112.17.00 [required = by core] =E2=86=BB recompile pa_bench 112.06.00 [uses pa_o= unit] =E2=86=98 downgrade typerep 112.24.00 to 112.17.00 [uses bin_= prot] =E2=86=BB recompile ocsigenserver 2.5 [uses ipad= dr] =E2=86=BB recompile cow 1.2.1 [uses ezjs= onm, uri] =E2=86=BB recompile conduit 0.7.2 [uses sexp= lib] =E2=86=98 downgrade core_kernel 112.24.00 to 112.17.00 [uses bin_= prot] =E2=86=BB recompile eliom 4.1.0 [uses ipad= dr] =E2=86=BB recompile cohttp 0.15.0 [uses sexp= lib] =E2=88=97 install core 112.17.00 [required = by core_bench] =E2=86=BB recompile github 0.9.4 [uses coht= tp, uri] =E2=88=97 install textutils 112.17.00 [required = by core_bench] =E2=88=97 install core_bench 112.17.00=20=20=20=20=20=20=20=20= =20=20=20=20=20 =3D=3D=3D=3D=3D =E2=88=97 3 =E2=86=BB 11 =E2=86=98 7 =3D=3D=3D= =3D=3D =20=20=20=20 the glyphs make the information easier to skim through, but the actions are= written in text; the summary only shows the glyphs, but you may use the fu= ll list as a key to their meaning. And if you have compatibility problems or just don't like it, set OPAMUTF8 = to "never" and you'll get good old plain text: % OPAMUTF8=3Dnever opam install core_bench --show The following actions would be performed: - downgrade sexplib 112.24.00 to 112.17.00 [required by co= re_bench] - downgrade pa_ounit 112.24.00 to 112.17.00 [required by co= re_bench] - downgrade bin_prot 112.24.00 to 112.17.00 [required by co= re_bench] - downgrade pa_test 112.24.00 to 111.08.01 [required by co= re] - recompile uri 1.8.0 [uses sexplib] - recompile ipaddr 2.6.1 [uses sexplib] - recompile ezjsonm 0.4.1 [uses sexplib] - recompile cstruct 1.5.0 [uses sexplib] - downgrade custom_printf 112.24.00 to 112.17.00 [required by co= re] - recompile pa_bench 112.06.00 [uses pa_ounit] - downgrade typerep 112.24.00 to 112.17.00 [uses bin_prot] - recompile ocsigenserver 2.5 [uses ipaddr] - recompile cow 1.2.1 [uses ezjsonm, = uri] - recompile conduit 0.7.2 [uses sexplib] - downgrade core_kernel 112.24.00 to 112.17.00 [uses bin_prot] - recompile eliom 4.1.0 [uses ipaddr] - recompile cohttp 0.15.0 [uses sexplib] - install core 112.17.00 [required by co= re_bench] - recompile github 0.9.4 [uses cohttp, u= ri] - install textutils 112.17.00 [required by co= re_bench] - install core_bench 112.17.00=20=20=20=20=20=20=20=20=20=20=20= =20=20 =3D=3D=3D=3D=3D 3 to install | 11 to recompile | 7 to downgrade =3D=3D= =3D=3D=3D =20=20=20=20 This will also be the case, of course, if your current locale isn't UTF8. Best, Louis Gesbert - OCamlPro > - Daniel B=C3=BCnzli, 27/03/2015 21:24 - > Le vendredi, 27 mars 2015 =C3=A0 20:52, Mr. Herr a =C3=A9crit : > > I would have voted against the unicode graphics,=20=20 >=20 > There's no voting process but you can disable them, see:=20=20 >=20=20=20 > https://github.com/ocaml/opam/issues/2065#issuecomment-83232580 >=20 > Btw. Louis I think the two level scheme is a little bit overkill and more= complex that it should be, you should really keep it to a single variable.= That two-level mechanism seem to have been design to work around issues in= OS level support for unicode glyphs and it doesn't sound like a good idea.= Also the description of OPAMUTF8 is misleading, UTF-8 characters may be ou= tput since opam files are UTF-8 encoded and AFAIK you don't transcode any o= utput of the tool to ASCII when OPAMUTF8 is `never` (e.g. opam file message= s: fields).=20=20 >=20 > Best, >=20 > Daniel >=20 >=20 >=20 >=20= --nextPart285508684.c7IpIefybs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJVFlLtAAoJEBg5nEeGqbyYh78H+QGgl8jQ/86VcIYmKj8smfVI kfbggQWP6+DjpYanEVXB+q0zxm0bHHE21yv7gTcvWhbuiAKn+Er+ZYbVsGdIsysu o9WpTFioIseJBGcoqfnlOG06751qMrqHhec4yPh5yAfM2ydrIFHM9yJIoouna7BJ AHxtUt2a47IAcOLwD5l5wio5vnb+4wZe5j94nx+r4GNmYLr9v3p7/Ay5xt5NNfTK TXIpeBPpnNJOtm6kotxWvwOQ3sPKb5+bpkluFM5Q5oMZpkLjCCZT21KDbbbE6s9U bXXSw2hCgW5vxcLeTcqxJwrOP6du3It7c2FQvD67NndBX32+g2XfkJqw+1Ewm1o= =YoWH -----END PGP SIGNATURE----- --nextPart285508684.c7IpIefybs--