From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Status: No, score=-1.3 required=3.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_BLOCKED,URIBL_BLOCKED shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: unicorn-public@bogomips.org Received: from mail-la0-f51.google.com (mail-la0-f51.google.com [209.85.215.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 2F41C1FA66 for ; Tue, 29 Sep 2015 07:47:21 +0000 (UTC) Received: by laer8 with SMTP id r8so57614512lae.2 for ; Tue, 29 Sep 2015 00:47:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=jipNiMwo0QrxYXifGS2Vn1FbMvXrK4E4d98tXVhTxtU=; b=T8iJFYoa8dTFAAXwIGaraz56a2Sh+5/nx3l0zXrmT73/Ph/eA6KhmMoVo9pA9wPVbf BYo2C5kB8WE0wdsXAOA9y9zktB29leSALMrkCL7Z4fCtD3vNG7qNYHuyn3W5/YCpczYd vVWzfBEUGeTUj+bxANMDuds/7WctVf2hwKRaBRZd/Agh1hafXzscfCloMVbI6fYqNYy+ QEt/xYCXqGXvUZJ8jieStiCRB7Uoe8bDStWyJvyrPLfwuxOUFu/EIpk8UEeQfbMEFutu nAM3x8IMHfWdoUK+f4L0LpHRHhrPvTUlh2fEunRR5cWB7lOh8+H4A3haa6WlpnfoFBya t8sQ== X-Gm-Message-State: ALoCoQnuob4ccl9ZrE+F3Ih6VuUxuDVEZc53eSv7SO6wcFiijT07VhCaMZMS23JLn9MoEufywTSK X-Received: by 10.152.10.241 with SMTP id l17mr6844822lab.35.1443512839481; Tue, 29 Sep 2015 00:47:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.73.38 with HTTP; Tue, 29 Sep 2015 00:46:49 -0700 (PDT) In-Reply-To: <20150929073650.GA7434@dcvr.yhbt.net> References: <560A31F1.3060608@debian.org> <20150929073650.GA7434@dcvr.yhbt.net> From: "Lin Jen-Shin (godfat)" Date: Tue, 29 Sep 2015 15:46:49 +0800 Message-ID: Subject: Re: Request to follow SemVer/mention it in homepage To: Eric Wong Cc: Pirate Praveen , unicorn-public@bogomips.org Content-Type: text/plain; charset=UTF-8 List-Id: On Tue, Sep 29, 2015 at 3:36 PM, Eric Wong wrote: > Pirate Praveen wrote: [...] >> It will help us a lot in maintain rails applications in debian. We >> like to keep only one version of any app/lib in debian and if you can >> guarantee Semantic Versioning rails apps using unicorn could declare a >> looser dependency rather than upto the patch version. Now gitlab >> defines unicorn ~> 4.8.3 and diaspora defines ~> 4.9.0 If you are >> following Semantic Versioning they could change it to ~> 4.8 and ~> >> 4.9 and 4.9.0 will satisfy both. Currently debian has 4.9.0 and it >> does not match ~> 4.8.3 > > Tying a Rack app to unicorn is totally, completely wrong and defeats the > point of Rack. > > Honestly, I could understand tying an app to thin with it's EM-specific > API, but unicorn(!?!?) Even if an app isn't thread-safe, it should > still work in passenger, thin, or puma/webrick configured for a > single-thread... I guess the issue is that people need to specify which server they're using in their Gmefile when bundler is used to launch the application. I don't think it's a good idea to bind to a specific version though. Upgrading unicorn never breaks anything for me. p.s. Personally I never liked the idea of semantic versioning either, unless there's a clearly defined API like Rack's SPEC.