unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org, Oleh Krehel <oleh@oremacs.com>
Subject: Re: [elpa] main 8f4cb59: * elpa-packages (counsel, ivy, swiper): Auto-sync.
Date: Thu, 25 Feb 2021 14:33:12 +0000	[thread overview]
Message-ID: <87h7m0z07r.fsf@tcd.ie> (raw)
In-Reply-To: <20210225102523.7CEF420B28@vcs0.savannah.gnu.org> (Basil L. Contovounesios's message of "Thu, 25 Feb 2021 05:25:22 -0500 (EST)")

blc@savannah.gnu.org (Basil L. Contovounesios) writes:

> branch: main
> commit 8f4cb595fb1f34059b22a3f3e0ef71cb310e08d5
> Author: Basil L. Contovounesios <contovob@tcd.ie>
> Commit: Basil L. Contovounesios <contovob@tcd.ie>
>
>     * elpa-packages (counsel, ivy, swiper): Auto-sync.

Sorry, I realised only after the fact that the corresponding externals
in elpa.git had significant local changes in the form of deleted files,
diverging Version headers, etc., so I'm guessing :auto-sync won't work
for these packages.  Should I revert this commit in the meantime?

It gets even more complicated: the existing ivy-hydra.el and the new
ivy-avy.el in swiper.git were apparently designed as optional separate
packages, so I've now created the corresponding external branches in
elpa.git (but not yet added them to elpa-packages).

What is the best way to handle this complexity (that of having multiple
packages provided by a single upstream repository) in elpa.git?

For example, should swiper.git have separate branches for each package's
subtree, so that elpa.git can (hopefully) just fetch and fast-forward to
them automatically?

Should things continue as they are now, with elpa.git deleting files
locally and swiper.git blissfully unaware of the fact?

Either way, it currently looks to me like there will always be manual
merging required in either swiper.git or elpa.git, with no auto-sync,
fast-foward, DTRT option.

Is there a better way, e.g. reverting the local deletions in elpa.git,
keeping 5 full copies of swiper.git as externals (one for each package),
and tightening each package's :ignored-files entry?

Or maybe adding something like MELPA's ability to specify which exact
files to consider from the upstream repository?

I'd be grateful for any guidance in how to proceed with the update of
ivy, ivy-avy, ivy-hydra, swiper, and counsel in elpa.git.

Thanks,

-- 
Basil



       reply	other threads:[~2021-02-25 14:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210225102521.11653.64611@vcs0.savannah.gnu.org>
     [not found] ` <20210225102523.7CEF420B28@vcs0.savannah.gnu.org>
2021-02-25 14:33   ` Basil L. Contovounesios [this message]
2021-02-25 15:12     ` [elpa] main 8f4cb59: * elpa-packages (counsel, ivy, swiper): Auto-sync Stefan Monnier
2021-02-25 16:24       ` Basil L. Contovounesios
2021-02-25 16:40         ` Stefan Monnier
2021-03-09 22:17         ` Basil L. Contovounesios
2021-03-09 23:56           ` Stefan Monnier
2021-03-10 12:40             ` Basil L. Contovounesios
2021-03-11 15:48               ` Stefan Monnier
2021-03-11 17:12                 ` Basil L. Contovounesios
2021-03-11 17:34                   ` Stefan Monnier
2021-03-11 19:25                     ` Basil L. Contovounesios
2021-03-11 22:47                       ` Stefan Monnier
2021-03-11 22:59                         ` Basil L. Contovounesios

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87h7m0z07r.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=oleh@oremacs.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).