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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 2A21E7EE94 for ; Thu, 3 Jan 2013 12:26:37 +0100 (CET) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of thomas.gazagnaire@gmail.com) identity=pra; client-ip=74.125.82.173; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="thomas.gazagnaire@gmail.com"; x-sender="thomas.gazagnaire@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail4-smtp-sop.national.inria.fr: domain of thomas.gazagnaire@gmail.com designates 74.125.82.173 as permitted sender) identity=mailfrom; client-ip=74.125.82.173; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="thomas.gazagnaire@gmail.com"; x-sender="thomas.gazagnaire@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-we0-f173.google.com) identity=helo; client-ip=74.125.82.173; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="thomas.gazagnaire@gmail.com"; x-sender="postmaster@mail-we0-f173.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiEDAJxq5VBKfVKtjWdsb2JhbABFgX+BSroFFg4BAQEBCQkLCRIGI4IeAQEEAToGATkDAQsBBQUtGTQBBQEcBieHbQMJBgQImmKPLoRjJw2GJgEFDIxLgQ6CVGEDklmET4RPiH0/gVeCPw X-IronPort-AV: E=Sophos;i="4.84,402,1355094000"; d="scan'208";a="167338526" Received: from mail-we0-f173.google.com ([74.125.82.173]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 03 Jan 2013 12:26:08 +0100 Received: by mail-we0-f173.google.com with SMTP id z2so7090349wey.32 for ; Thu, 03 Jan 2013 03:26:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=z5GiYJH9aLY5c0MfexRJ3QjzDCs7AoY1FU6gqpkeVbQ=; b=fGEPLxp7wdxLOtpwORe7nDBmtLOsn+9WFBgq2EMAehRKWRxgvjQbqOHQS77cF3x/pF y5BcvuLRZJtHCrMqUpk52SynjkYDM661APBQ8QBWk8EnWtSU5t8lUMSAhsOFH+BJc4YI VINrd67NlxmEwr8BI9K0rVy+q6/n65NXPDPiu3pGNPphuMpFoPnOkePqeVnuzYJeh2jN i2/SC3OFRHynBxdQFR2hzaarcPIWW9BkqW/oq6ZcbgOt0LgZVVEWiKjCat80oSfB8vPM XRwmez9s0Hd1AFLY3xsLyD7YIJc8pykGlHyKgYt+5JSxCC1aQqD0ZJc1VHzGROizck/m m7Jg== X-Received: by 10.180.33.202 with SMTP id t10mr75861303wii.3.1357212367948; Thu, 03 Jan 2013 03:26:07 -0800 (PST) Received: from [10.170.4.197] ([213.30.181.210]) by mx.google.com with ESMTPS id l5sm85007154wia.10.2013.01.03.03.26.06 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Jan 2013 03:26:07 -0800 (PST) Sender: Thomas Gazagnaire Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1085) From: Thomas Gazagnaire In-Reply-To: Date: Thu, 3 Jan 2013 12:26:05 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <71CE5206-6716-42AE-93E7-1A112441A961@ocamlpro.com> References: To: OCaml mailing-list X-Mailer: Apple Mail (2.1085) Subject: [Caml-list] Re: [RFC] new OPAM command-line interface Hi, Just to let people know that I've taken into account most of the remarks (e= ven if I still have few changes to do) so I've merged the cmdliner branch i= nto the main tree. Please use the master branch now for testing. Also, due to an unfortunate sequence of actions (see [1]) all previous rele= ase of OPAM will likely not compile from source anymore because an url chan= ge. To fix this, I've release 0.8.3, so packager should upgrade ASAP (this = is already available in homebrew for OSX users). 0.9.0 should also be relea= sed quite soon, I'm fixing the few remaining blocker bugs that showed off b= efore christmas. Regards, Thomas [1] https://github.com/OCamlPro/opam/issues/347 On Dec 14, 2012, at 7:09 PM, Thomas Gazagnaire wrote: > Hi, >=20 > In order to prepare the beta release of OPAM (which should hopefully be a= nnounced at the end of next week if everything goes well), I've been workin= g on improving its command-line interface (which is currently a bit had-hoc= ). Thanks to the great Daniel Bunzli's cmdliner[1] library, I now have a ni= ce -- but incompatible -- command-line interface in the 'cmdliner' branch[2= ]. >=20 > The main changes are: > * an uniform help interface, where all flags and parameters are correctly= documents > * no more -long-option, only -s or --long > * 'opam remote' is still there for convenience but will be deprecated; us= e 'opam repository' instead > * use of sub-sub-commands when necessary (ie. 'opam repository add') > * use non-ambiguous prefix of sub-command instead of the subcommand (ie. = 'opam repo' or 'opam rem') > * AND: a nice 'opam --help' and 'opam --help' output >=20 > I'm quite keen to get community feedback on this new command-line. Feel f= ree to comment here, or to to use the issue tracker[3]. >=20 > Cheers, > Thomas >=20 > [1] http://erratique.ch/software/cmdliner > [2] git clone -b cmdliner git://github.com/OCamlPro/opam.git > [3] https://github.com/OCamlPro/opam/issues/157 >=20 >=20 >=20