all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-devel@gnu.org
Subject: fixing an Elpa package
Date: Sat, 18 Apr 2015 23:34:35 +0800	[thread overview]
Message-ID: <87a8y5ih6c.fsf@ericabrahamsen.net> (raw)

I've got a package (Gnorb) in Elpa that's stagnating because I can't
update it using Git. I'm pretty close to bailing on this, but wanted to
float a question first in case it's easier to resolve than I thought.

I originally incorporated the package into Elpa as a subtree, squashed
into one commit, from a repository elsewhere on my filesystem that is
linked with Github. Since then there are now four commits to this
subtree in Elpa, two of them squashes from the external repository.

In the meantime, my old computer died and I got a new one. So I
re-cloned both the Elpa repository and the Github-based repository onto
the new machine. If I add my Github-based repository as a remote in the
Elpa repository, then fetch and subtree-merge, Git tells me there are no
common commits, and wants to merge in all (317) commits from the
external repository. I guess that makes sense from Git's point of view,
but I don't want to pollute Elpa with all those commits. I'm not sure it
would even work, either.

Granted, it was probably a bad idea to take the subtree approach to
begin with. But there it is, and I've mostly lost patience with the
whole thing. If there's any means of recovering from this -- even if
it's a bit of a pain in the ass -- I would be very happy to do that, and
I hope someone might be willing to share some recipes.

Thanks,
Eric




             reply	other threads:[~2015-04-18 15:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-18 15:34 Eric Abrahamsen [this message]
2015-04-18 17:27 ` fixing an Elpa package Stefan Monnier
2015-04-19  3:41   ` Eric Abrahamsen
2015-04-20  1:52     ` Stefan Monnier
2015-04-20  5:04       ` Eric Abrahamsen
2015-04-20 12:34         ` Stefan Monnier
2015-04-23  9:20           ` Eric Abrahamsen
2015-04-23 13:19             ` 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

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

  git send-email \
    --in-reply-to=87a8y5ih6c.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.