From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jonas Bernoulli Newsgroups: gmane.emacs.devel Subject: Re: Improving GNU ELPA (was: Adding advisory notification for non-ELPA package.el downloads) Date: Sun, 16 Jul 2017 18:04:57 +0200 Message-ID: <87r2xg2wra.fsf@bernoul.li> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500221124 9884 195.159.176.226 (16 Jul 2017 16:05:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Jul 2017 16:05:24 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 25.2.1 Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 16 18:05:20 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWm2k-00021P-68 for ged-emacs-devel@m.gmane.org; Sun, 16 Jul 2017 18:05:14 +0200 Original-Received: from localhost ([::1]:45728 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWm2p-0006g5-Bt for ged-emacs-devel@m.gmane.org; Sun, 16 Jul 2017 12:05:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWm2a-0006eL-A7 for emacs-devel@gnu.org; Sun, 16 Jul 2017 12:05:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWm2W-0007y6-5a for emacs-devel@gnu.org; Sun, 16 Jul 2017 12:05:04 -0400 Original-Received: from mail.hostpark.net ([212.243.197.30]:38520) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dWm2V-0007wh-U2 for emacs-devel@gnu.org; Sun, 16 Jul 2017 12:05:00 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id E650D167A0; Sun, 16 Jul 2017 18:04:57 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Original-Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id Os5zsh9oO99B; Sun, 16 Jul 2017 18:04:57 +0200 (CEST) Original-Received: from desktop (77-58-214-193.dclient.hispeed.ch [77.58.214.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id AEED51679F; Sun, 16 Jul 2017 18:04:57 +0200 (CEST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.243.197.30 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216736 Archived-At: I think we should keep requiring authors to push to and pull from Elpa, that is not really the issue. The issue as I see it is that doing so is not as easy as: git pull elpa git push elpa Instead one has to do something like (provided one does actually care about the history in both the "personal" and the Elpa repository staying clean). * Integrating Elpa changes. git fetch elpa git filter-branch git branch -f elpa && git filter-branch -f --subdirectory-filter "packages/$package" --commit-filter ' # One could use "--prune-empty" instead, but this script is better. test $# = 1 && test -z "$(git ls-tree $1)" && skip_commit "$1" && exit args="$@" tree="$1" shift while test -n "$1" do shift test "$tree" = $(git rev-parse "$1^{tree}") && map "$1" && exit shift done git commit-tree $args' elpa So I think the focus should be on enabling "one repository per package" instead of making Elpa pull. If pushing to Elpa was as easy as for normal Git repositories, then people would not mind. Jonas