unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Daniel Semyonov <daniel@dsemy.com>
Cc: Philip Kaludercic <philipk@posteo.net>,  emacs-devel@gnu.org
Subject: Re: [NonGNU ELPA] New packages: Vcomplete, swsw
Date: Sun, 22 May 2022 12:29:06 -0400	[thread overview]
Message-ID: <jwvfsl1wn5z.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87sfp15zp1.fsf@dsemy.com> (Daniel Semyonov's message of "Sun, 22 May 2022 18:55:54 +0300")

> Semi-intentional... now that you mention it, is it possible for two
> (related) packages to share the same git repository?

Kind of, when really necessary, but with various caveats.
I think you'd be better off with a single package that just happens to
collaborate with Embark when Embark is used (i.e. without an explicit
dependency on Embark, which also means it should not require Embark to
compile vcomplete-embark), or else to move it to a separate repository.

> Since both packages are complex (as in, they contain multiple files),
> when I generate my own package tar (for distribution on my site for
> example, as the packages weren't available on any archive before), it
> needs to contain a <package>-pkg.el file for Emacs to install it (or at
> least that's what I remember from testing I did long ago).

Yes, but that doesn't mean it should be in the Git.

> I will admit this file should just be generated automatically during the
> build process in this case too, I just never got around to implementing
> that.

You don't need to.  The elpa.gnu.org scripts do that for you (and they
even sometimes trip over themselves when there's a competing
<foo>-pkg.el in the Git).

> BTW, when the packages are first imported, would the latest commit be
> used,

No: we ask Git when's the last commit that touched `Version:`.


        Stefan




  parent reply	other threads:[~2022-05-22 16:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-22 10:58 [NonGNU ELPA] New packages: Vcomplete, swsw Daniel Semyonov
2022-05-22 11:48 ` Philip Kaludercic
2022-05-22 15:55   ` Daniel Semyonov
2022-05-22 16:07     ` Philip Kaludercic
2022-05-23 11:36       ` Daniel Semyonov
2022-05-22 16:29     ` Stefan Monnier [this message]
2022-05-23 11:45       ` Daniel Semyonov
2022-05-24 19:47     ` Philip Kaludercic
2022-05-24 20:16       ` Daniel Semyonov
2022-05-25  6:26         ` Philip Kaludercic
2022-05-25 13:34           ` Daniel Semyonov

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=jwvfsl1wn5z.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=daniel@dsemy.com \
    --cc=emacs-devel@gnu.org \
    --cc=philipk@posteo.net \
    /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).