all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: Some question about external method of elpa
Date: Sun, 16 Dec 2018 23:06:31 -0500	[thread overview]
Message-ID: <jwvwoo8n6rx.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: 87a7l7397k.fsf@163.com

> 1. Does elpa cron auto call  "make external" or similar process to
>    check out all the external packages?

Pretty much, yes.

> 2. If cron auto checkout external packages, does package author need
>    manual-checkout?

I don't understand the question.  When?  Where?

> 3. Does subtree method have any advanced than external branch?

It's different, not really better.  It's most appropriate when you
intend to move the "upstream" from elsewhere to elpa.git.

>    if no, what about obsolote this method? In my opinion, subtree
>    seem to very hard to manage.

If you keep developing your package elsewhere, a "subtree" is indeed
more work than an "external".

> 4. I use subtree to manage posframe package, but I want to switch
>    to  external branch method, how to work?

1- Create the new externals/posframe branch on elpa.git
2- Then "git rm package/posframe" and change the ":subtree" to
   a ":external" in "externals-list".
3- Then push those changes you created at step (2) to the `master` branch
   of elpa.git.

That's pretty much it on your side (I'll probably have to do some clean
on elpa.gnu.org in response to that, tho I keep hoping that I finally
fixed the last issue in the scripts to handle this situation).

>    what about create a subtree2external command?

The demand hasn't been very high, so I wouldn't bother, but fee free to
add one to elpa.git's "admin/" subdirectory.


        Stefan




  reply	other threads:[~2018-12-17  4:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-15  0:49 Some question about external method of elpa Feng Shu
2018-12-17  4:06 ` Stefan Monnier [this message]
2018-12-17 13:41   ` Feng Shu
2018-12-17 14:06     ` Stefan Monnier
2018-12-17 14:23       ` Feng Shu
2018-12-17 14:35         ` Stefan Monnier
2018-12-17 14:54           ` Feng Shu
2018-12-17 19:03             ` Stefan Monnier
2018-12-18 15:15               ` tumashu
2018-12-18 19:02                 ` Stefan Monnier
2018-12-20  9:10                   ` tumashu

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=jwvwoo8n6rx.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.