From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luke Lee Newsgroups: gmane.emacs.devel Subject: Re: Please don't obsolete "crisp.el" Date: Wed, 9 Jul 2014 14:47:20 +0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b15a92bd70ba104fdbd1646 X-Trace: ger.gmane.org 1404941742 24536 80.91.229.3 (9 Jul 2014 21:35:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2014 21:35:42 +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 Jul 09 23:35:37 2014 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 1X4zWa-0001Ko-LB for ged-emacs-devel@m.gmane.org; Wed, 09 Jul 2014 23:35:36 +0200 Original-Received: from localhost ([::1]:33908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4zWZ-0005k3-Vh for ged-emacs-devel@m.gmane.org; Wed, 09 Jul 2014 17:35:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4lfk-0000u5-Ts for emacs-devel@gnu.org; Wed, 09 Jul 2014 02:48:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4lfj-0002qY-00 for emacs-devel@gnu.org; Wed, 09 Jul 2014 02:48:08 -0400 Original-Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]:36757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4lfe-0002pr-GG; Wed, 09 Jul 2014 02:48:02 -0400 Original-Received: by mail-pa0-f44.google.com with SMTP id rd3so8725377pab.31 for ; Tue, 08 Jul 2014 23:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=3kJLhtc5Ua99jzhzS/T+1xceyaQi6sWIixZKi9zL/GI=; b=OGmh/QGGlaYeJQBE+EowozqG+kh9mYuUuYUKEMJuzzG2raUIeDmVLUg8SUqPh7qpVG CQ8GzdkACAABLsvCOew8bKb4mwl4quHnSxPtFaoeoHcBALr19b9Em3Nqls/80sLPPedc 9ZJ+Q5mbSiTMm6qrw/sSzxA9MShq0rJwFnO+lwkqs/2eejHZucE9v+vFYu9TeL8kV0Cv WG34VCc4BQg6hBfvENOodMNYsdQE35cX8Gf2SODYwGC2fD61B+Cl3jYeXbQeR3Z9gOIR cOxt75byRJl0SYl3XMewU4p21qGuL8w6SbQtdpRsniwGrEUWz2+apKDTww0yCIwRHaQv 9ZsQ== X-Received: by 10.68.193.193 with SMTP id hq1mr14328993pbc.107.1404888480678; Tue, 08 Jul 2014 23:48:00 -0700 (PDT) Original-Received: by 10.70.89.165 with HTTP; Tue, 8 Jul 2014 23:47:20 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22c 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:172915 Archived-At: --047d7b15a92bd70ba104fdbd1646 Content-Type: text/plain; charset=UTF-8 >> But it would be good to preserve the VCS history of the file, if possible. > > I don't think that's practical (maybe some VCS will support this well at > some point, but currently I think it'd be too much hassle for too little > benefit). Since ELPA is VCS by git and we have an Emacs git clone, it's not difficult. I tried that in my local repo and successfully merged the full history of crisp.el from Emacs to ELPA. The only inconvenience is that we'll need to apply "--follow" argument when doing "git log crisp.el " to be able to see the full history of crisp.el. Otherwise "git log crisp.el" only shows the one that I move it into "packages/crisp-mode". Basically I followed the steps described in StackOverflow, with some extra steps I successfully merging the full history of crisp.el *ONLY*. The original flow is discussed here: "http://stackoverflow.com/questions/1365541/ how-to-move-files-from-one-git-repo-to-another-not-a-clone-preserving-history" If it's okay with all of you, I'll commit the full history of crisp.el into ELPA, and also keep it in Emacs obsolete. --047d7b15a92bd70ba104fdbd1646 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
>> But it would be good to preserve the VC= S history of the file, if possible.
>
> I don't think that&= #39;s practical (maybe some VCS will support this well at
> some poin= t, but currently I think it'd be too much hassle for too little
> benefit).

Since ELPA is VCS by git and we have an Emacs git clo= ne, it's not
difficult. I tried that in my local repo and successful= ly merged the full
history of crisp.el from Emacs to ELPA. The only inco= nvenience is that we'll
need to apply "--follow" argument when doing "git log crisp.= el " to be able
to see the full history of crisp.el. Otherwise &quo= t;git log crisp.el" only shows
the one that I move it into "pa= ckages/crisp-mode".

Basically I followed the steps described in StackOverflow, with some ex= tra
steps I successfully merging the full history of crisp.el *ONLY*. Th= e original
flow is discussed here: "http://stackoverflow.com/questions/1365541/ how-to-move-files-from-one-git-repo-to-another-not-a-clone-preserving-histo= ry"

If it's okay with all of you, I'll commit the= full history of crisp.el into ELPA, and
also keep it in Emacs obs= olete.
--047d7b15a92bd70ba104fdbd1646--