unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Steve Purcell <steve@sanityinc.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	Donald Ephraim Curtis <dcurtis@milkbox.net>,
	emacs-devel@gnu.org
Subject: Re: MELPA version numbers
Date: Fri, 2 Aug 2013 15:46:46 +0100	[thread overview]
Message-ID: <9ECC06EB-3165-44E3-A565-379FB4F1C522@sanityinc.com> (raw)
In-Reply-To: <87wqo5ku3n.fsf@yandex.ru>

On 1 Aug 2013, at 21:57, Dmitry Gutov <dgutov@yandex.ru> wrote:
> 
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
> 
>> One way out of this is to change the MELPA version numbers so that
>> instead of ignoring the package's "2.3" and replacing it with
>> "20100105.123", it should replace it with "2.3.20100105.123".
> 
> I like this approach in abstract, but if Melpa just switches to it, all
> existing users will have to know somehow to reinstall all installed
> packages manually. Otherwise, they won't ever update, for the same
> reason as why you're bringing up this issue.


I'm personally open to switching MELPA over to a different numbering scheme if practicable.

I'm concerned, though, that the suggested scheme has significant potential for problems.

Firstly, when there *is* an author-assigned version, it must be visible in the checked-in code for MELPA to see, and not filled in by a release script. This is conspicuously not the case for a large number of libraries which we currently package, and it's obviously no good for us to silently default to 0.0 in those cases, because that would lead to uninstallable (low-versioned) MELPA packages.

A related loophole is that non-authors can take someone's v0.1 library, hack it, and then upload the resulting package to Marmalade as v0.2. (Yes, this happens!) MELPA would then continue to build uninstallable point releases of v0.1 from the author's SCM repo until the Marmalade issue is resolved.

-Steve




  reply	other threads:[~2013-08-02 14:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01 17:50 MELPA version numbers Stefan Monnier
2013-08-01 20:49 ` Donald Curtis
2013-08-01 21:39   ` Stefan Monnier
2013-08-02  8:26     ` Sebastian Wiesner
2013-08-02 14:27       ` Stefan Monnier
2013-08-02 14:35         ` Steve Purcell
2013-08-02 15:24         ` Sebastian Wiesner
2013-08-02 15:47           ` Stefan Monnier
2013-08-02 15:58             ` Steve Purcell
2013-08-01 20:51 ` Sebastian Wiesner
2013-08-01 20:57 ` Dmitry Gutov
2013-08-02 14:46   ` Steve Purcell [this message]
2013-08-02 15:57     ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=9ECC06EB-3165-44E3-A565-379FB4F1C522@sanityinc.com \
    --to=steve@sanityinc.com \
    --cc=dcurtis@milkbox.net \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).