From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jorgen Schaefer Newsgroups: gmane.emacs.bugs Subject: bug#19296: [PATCH] Package archives now have priorities. Date: Sun, 7 Dec 2014 15:43:16 +0100 Message-ID: <20141207154316.1f2c5943@forcix> References: <<20141207132244.A14A7200D1E@loki.jorgenschaefer.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1417963469 12995 80.91.229.3 (7 Dec 2014 14:44:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2014 14:44:29 +0000 (UTC) To: Drew Adams , 19296@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 07 15:44:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xxd4L-0003A6-11 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Dec 2014 15:44:17 +0100 Original-Received: from localhost ([::1]:58202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxd4K-0002cQ-Ls for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Dec 2014 09:44:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxd4C-0002c7-0B for bug-gnu-emacs@gnu.org; Sun, 07 Dec 2014 09:44:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xxd46-000418-RA for bug-gnu-emacs@gnu.org; Sun, 07 Dec 2014 09:44:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxd46-000414-ON for bug-gnu-emacs@gnu.org; Sun, 07 Dec 2014 09:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xxd46-0007k4-Fi for bug-gnu-emacs@gnu.org; Sun, 07 Dec 2014 09:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jorgen Schaefer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Dec 2014 14:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19296 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 19296-submit@debbugs.gnu.org id=B19296.141796340729674 (code B ref 19296); Sun, 07 Dec 2014 14:44:02 +0000 Original-Received: (at 19296) by debbugs.gnu.org; 7 Dec 2014 14:43:27 +0000 Original-Received: from localhost ([127.0.0.1]:56090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xxd3W-0007iX-Hk for submit@debbugs.gnu.org; Sun, 07 Dec 2014 09:43:26 -0500 Original-Received: from loki.jorgenschaefer.de ([87.230.15.51]:44149) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xxd3T-0007iG-IQ for 19296@debbugs.gnu.org; Sun, 07 Dec 2014 09:43:24 -0500 Original-Received: by loki.jorgenschaefer.de (Postfix, from userid 998) id 1F2F9200D1F; Sun, 7 Dec 2014 15:43:19 +0100 (CET) Original-Received: from forcix (port-21631.pppoe.wtnet.de [46.59.146.42]) by loki.jorgenschaefer.de (Postfix) with ESMTPSA id 14823200D1D; Sun, 7 Dec 2014 15:43:18 +0100 (CET) In-Reply-To: X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; i586-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96937 Archived-At: On Sun, 7 Dec 2014 06:19:29 -0800 (PST) Drew Adams wrote: > Why is that good? Why should MELPA be given a lower priority? MELPA provides unstable versions of packages. To provide stable versions of packages, there is the "MELPA Stable" repository (among others, including GNU ELPA). As not all packages in MELPA unstable are available in MELPA stable, users have to add both to their archives list to get access to all packages. But due to the way MELPA assigns version numbers, the unstable versions will always override stable versions, even when both are available. This patch will allow a setup that takes the newest version of a package from GNU ELPA, MELPA stable or Marmalade, and only if there is no version available from any of these repositories, take the one available from MELPA unstable. No jumping through hoops required. The current solution to this is to add all packages available from non-MELPA unstable to `package-pinned-packages'. The facility of priorities for repositories is widely available in other package managers, e.g. in Debian's apt (see apt_preferences(5)). You can read more about the problems with MELPA's versioning system here: http://blog.jorgenschaefer.de/2014/06/the-sorry-state-of-emacs-lisp-package.html I hope I could answer your questions. Regards, Jorgen