Received: by 10.204.127.19 with SMTP id e19mr1514926bks.4.1349865067857; Wed, 10 Oct 2012 03:31:07 -0700 (PDT) X-BeenThere: pgxn-users@googlegroups.com Received: by 10.204.9.135 with SMTP id l7ls219318bkl.4.gmail; Wed, 10 Oct 2012 03:31:07 -0700 (PDT) Received: by 10.204.6.19 with SMTP id 19mr940047bkx.8.1349865066936; Wed, 10 Oct 2012 03:31:06 -0700 (PDT) Received: by 10.204.6.19 with SMTP id 19mr940046bkx.8.1349865066920; Wed, 10 Oct 2012 03:31:06 -0700 (PDT) Return-Path: Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by gmr-mx.google.com with ESMTPS id v13si110580bkw.0.2012.10.10.03.31.06 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Oct 2012 03:31:06 -0700 (PDT) Received-SPF: pass (google.com: domain of daniele.varra...@gmail.com designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of daniele.varra...@gmail.com designates 209.85.217.169 as permitted sender) smtp.mail=daniele.varra...@gmail.com; dkim=pass header...@gmail.com Received: by mail-lb0-f169.google.com with SMTP id k6so361933lbo.14 for ; Wed, 10 Oct 2012 03:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=TTfcZPK/0xVVa/21h4HgIZfZzo55rdgb3M2bmpygP+8=; b=vOkKIhGMv5z1p4jKgUj8/Pi47KOoDmJkIbjU3gIddJjF936+dZIhcVEaBDasmeMjJd PrU0vENU6z3PgphGAV5n0y6lkqCGukEQN5L6lwidAeeUyU6u+bpae/t6fLXvJGkgczRP +9wG5qkBlFiZEDvOFMFIF8/cfTT02624x8AIoQrP4FXcb/Z0vao+CZu3mQrcGAz7T3BZ aXl97Drz2Rb+vNKYCgyEzYEOFkgRqKxyet0Orro0CYLhyyVBsErjHnJIWoXJeRqjqk/a K3KrcwBqLv9waB1UHbmj+GvHLxiQWTki9I6NuR6pN+6dcLhojFnxacg2JlULaI2GEwxW SF5g== Received: by 10.152.105.33 with SMTP id gj1mr19317406lab.49.1349865066490; Wed, 10 Oct 2012 03:31:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.63.9 with HTTP; Wed, 10 Oct 2012 03:30:46 -0700 (PDT) In-Reply-To: <1b128157-6168-413e-8605-187568afbaf0@googlegroups.com> References: <1b128157-6168-413e-8605-187568afbaf0@googlegroups.com> From: Daniele Varrazzo Date: Wed, 10 Oct 2012 11:30:46 +0100 Message-ID: Subject: Re: Semver and prerelease To: pgxn-users@googlegroups.com Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Wed, Oct 10, 2012 at 10:08 AM, rdunklau wrote: > I'd like to upload a distribution named 1.0.0-beta for my extension > Multicorn. However, it is rejected for not being a valid semver version. > > The exact error message: > > The multicorn-1.0.0-beta/META.json file does not adhere to the PGXN Meta > Specification. > Errors: > =95 Field /version: "1.0.0-beta" is not a valid semantic version [Spec v1= .0.0] > =95 Field /provides/multicorn/version: "1.0.0-beta" is not a valid semant= ic > version [Spec v1.0.0] > > Looking at http://semver.org/spec/v1.0.0.html, it looks perfectly valid t= o > me. Did I miss something? It looks valid to me, and my Python implementation for pgxn client fails on it as well. I've implemented my version on David's semver 0.2.1. Seems we don't like the dash before the trailing part: "1.0.0beta" is what expected. > I noticed that you discussed the issue back in December 2011, and I wonde= red > what you finally settled for. I think it's an error on our side to advertise we adhere to semver: it seems a "standard" too much tied to a single person's mood. I'd say we should write down in the specs the pattern we expect without referring to semver (if not in a "historical note", citing it was a preliminary version). -- Daniele