From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Git version of ELPA Date: Wed, 14 Aug 2013 19:48:58 +0300 Message-ID: <520BB4FA.4080903@yandex.ru> References: <8738qs5qrg.fsf@igel.home> <87mwoz4w4f.fsf@igel.home> <877gfrrida.fsf@yandex.ru> <52087DDD.1020100@yandex.ru> <52090C0F.4020508@yandex.ru> <520B4B29.8030201@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1376498965 2339 80.91.229.3 (14 Aug 2013 16:49:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2013 16:49:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 14 18:49:27 2013 Return-path: Envelope-to: ged-emacs-devel@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 1V9eGB-000633-67 for ged-emacs-devel@m.gmane.org; Wed, 14 Aug 2013 18:49:23 +0200 Original-Received: from localhost ([::1]:57096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9eGA-0000Dk-SR for ged-emacs-devel@m.gmane.org; Wed, 14 Aug 2013 12:49:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9eG1-0000B2-50 for emacs-devel@gnu.org; Wed, 14 Aug 2013 12:49:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9eFs-0005zW-On for emacs-devel@gnu.org; Wed, 14 Aug 2013 12:49:13 -0400 Original-Received: from forward5l.mail.yandex.net ([84.201.143.138]:43740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9eFs-0005zB-E0 for emacs-devel@gnu.org; Wed, 14 Aug 2013 12:49:04 -0400 Original-Received: from smtp3.mail.yandex.net (smtp3.mail.yandex.net [77.88.46.103]) by forward5l.mail.yandex.net (Yandex) with ESMTP id BEBA0C40C38; Wed, 14 Aug 2013 20:49:01 +0400 (MSK) Original-Received: from smtp3.mail.yandex.net (localhost [127.0.0.1]) by smtp3.mail.yandex.net (Yandex) with ESMTP id 7326C1BA091A; Wed, 14 Aug 2013 20:49:01 +0400 (MSK) Original-Received: from 62-107-247.netrun.cytanet.com.cy (62-107-247.netrun.cytanet.com.cy [62.228.107.247]) by smtp3.mail.yandex.net (nwsmtp/Yandex) with ESMTP id kURwUUSGm0-n068Z611; Wed, 14 Aug 2013 20:49:00 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1376498941; bh=6L6OZtYO6/WYfj4et+ND8eu1Nf+EhwxSb38tJ4SCpSA=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=lxbSdx3WrhcylztOjWzW5WL1jctAI8mC31qsZOqlOt8JzamX3xbZUOo2zjs7nRZrP F4a7cjgD/dT6fHdKEpSmNNtYQ5SfTvEsPg8jOF0rAuJ/eaJRG0PbGaZWWhAMea4HgZ JJ0SK1hP79k/FLDzoQSly+GIptVCpNKqMdty2nLE= Authentication-Results: smtp3.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 84.201.143.138 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162732 Archived-At: On 14.08.2013 18:30, Stefan Monnier wrote: >> 2) If packages/js2-mode and git@github.com:mooz/js2-mode.git differ in files >> they contain, I imagine we'll have more errors or conflicts to deal with. > > Yes and no: the "push" would simply force the github version to have > the same content as the elpa version. The push just after the removal commit would end up fine. But if you don't do it, later you may end up having to fight the divergence each time you go back and forth. > No conflict, but an undesirable > outcome, so you end up having to do it somewhat by hand (you can use > "git subtree split" to help, but there's still a manual intervention > needed). I can't confidently say it's always so (in certain good conditions), but I've seen it succeed without manual intervention. And "git subtree push" also seems to call "git subtree split" when required. >>> In any case it's the responsibility of the package's maintainer to feed >>> elpa changes back to the external branch, if any. >> Maybe so. But 'git subtree' seems to make this less painful, as long as ELPA >> doesn't go deliberately out of sync. > > Yes. The elpa-diffs email as well (a copy is sent to the maintainer). Never seen that working before. Is that a recent change? >>> Currently, you can have extra (ignored) files only for singlefile >>> packages. Multifile packages will package up whatever is present. >>> But it should be easy to add some way to list files that should be >>> skipped. IOW, same as above "patch is welcome, tho you might like to >>> wait a bit". >> I'd welcome a suggestion for the exact mechanism. > > A simple solution is to not remove those files from the `elpa' branch. > I.e. consider it as a "local change". It might lead to spurious > conflicts when merging, tho. Not sure I understand. I didn't suggest removing them. What changes, and "local" to what? If you mean the file listing the ignores, I'm sure it'll be fine to keep it in the upstream repo, too. Maybe Melpa even ends up using them, too. >> List them in a file called .elpa-includes'? > > I'd rather have a list of exclusions than a list of inclusions, but > other than that I guess that'd be right. So we could easily handle > a list of exclusions by passing the list to "tar". Exclusions are fine by me, too. So, file name ".elpaignore", syntax similar to ".gitignore" (one glob per line)?