all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24303: Lets use git-subtree to import undo-tree into elpa
@ 2016-08-24 21:30 Jonas Bernoulli
  2016-09-02 13:35 ` Jonas Bernoulli
  2021-07-06 15:48 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 4+ messages in thread
From: Jonas Bernoulli @ 2016-08-24 21:30 UTC (permalink / raw)
  To: 24303, toby-undo-tree

Hello,

I wanted to address some compiler warnings in undo-tree.el but in the
process I noticed that the upstream repository and elpa are not in
sync and that upstream changes aren't merged using `git subtree'.

I think these two issues are related and would like to suggest that
`git subtree' be used from now on.

Because that isn't possible when the directory in question already
exists we temporarily have to remove it.  And we have to commit that
change because otherwise `git subtree' would refuse to do anything.

  git rm -r packages/undo-tree
  git commit -m "Temporarily remove undo-tree
  
  So that it can be added again, this time using `git subtree'."

Now we can add the subtree.  The documentation in the README suggests
that `--squash' should not be used, but there are already quite a few
packages with are importing by squashing all upstream changes and doing
it that way would result in something very similar to how it has been
done manually for this package in the past (on the surface), so I think
we might want use it here:

  git subtree add [--squash] --prefix=packages/undo-tree \
    http://www.dr-qubit.org/git/undo-tree.git master

From now on new upstream changes can be imported like so:

  git subtree pull [--squash] --prefix=packages/undo-tree \
    http://www.dr-qubit.org/git/undo-tree.git master

Also note that in the upstream repository the "release/0.6.5" should
be created.

  Best regards,
  Jonas





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-06 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-24 21:30 bug#24303: Lets use git-subtree to import undo-tree into elpa Jonas Bernoulli
2016-09-02 13:35 ` Jonas Bernoulli
2016-09-02 13:45   ` Phillip Lord
2021-07-06 15:48 ` Lars Ingebrigtsen

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.