From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Rocky Bernstein <rocky@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [elpa] master 6a77459 1/2: New gud replacement package: realgud (a front end interface to
Date: Sun, 15 Feb 2015 21:05:08 -0500 [thread overview]
Message-ID: <jwvk2zi7guo.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <CANCp2gZ-tvjyKv=TeMm7EruFydq5+TXppCQBS=8jwTRXBewf4w@mail.gmail.com> (Rocky Bernstein's message of "Sun, 15 Feb 2015 18:48:06 -0500")
> One other thing. After making a change to externals-list, how does one
> check that it works properly?
As mentioned for "subtree", the info in externals-list is just used as
documentation (basically, it's useful to humans).
Otherwise, "make externals" can used, which will use externals-list to
setup the packages in the "externals/<foo>" branches as
submodule-like subdirectories.
Stefan
> On Sun, Feb 15, 2015 at 6:47 PM, Rocky Bernstein <rocky@gnu.org> wrote:
>> On Sun, Feb 15, 2015 at 5:33 PM, Stefan Monnier <monnier@iro.umontreal.ca>
>> wrote:
>>
>>> > Using .gitmodules in this way is a bit of an experiment. Currently
>>> these
>>> > four projects are separate github repositories.
>>>
>>> Don't use submodules: the scripts which build the GNU ELPA packages from
>>> the elpa.git repository don't know what to do with them.
>>
>>
>>> As explained in elpa/README, you can either add your packages as
>>> subdirectories in the main branch (typically using something like "git
>>> subtree" or "git merge -s subtree") or add them as *branches* (called
>>> externals/<pkg>). They also need to be mentioned in the
>>> elpa/externals-list file (for externals/<pkg> it's indispensible, for
>>> subtrees it's just good practice).
>>>
>>>
>>> Stefan
>>>
>>
>> Ok. Thanks for the information. The previous changes have been essentially
>> reverted. I've added one of the four packages, test-simple, in what I hope
>> is an acceptable way: as a subtree.
>>
>> Please double check that test-simple has been added properly. When that is
>> done properly, I'll do the others (load-relative, loc-changes, and
>> realgud) in the corresponding fashion.
>>
>> I make mistakes. That's why I work on debuggers.
>>
>>
>>>
>>> > ---
>>> > .gitmodules | 12 ++++++++++++
>>> > packages/load-relative | 1 +
>>> > packages/loc-changes | 1 +
>>> > packages/realgud | 1 +
>>> > packages/test-simple | 1 +
>>> > 5 files changed, 16 insertions(+), 0 deletions(-)
>>>
>>> > diff --git a/.gitmodules b/.gitmodules
>>> > new file mode 100644
>>> > index 0000000..6d90d7e
>>> > --- /dev/null
>>> > +++ b/.gitmodules
>>> > @@ -0,0 +1,12 @@
>>> > +[submodule "packages/test-simple"]
>>> > + path = packages/test-simple
>>> > + url = https://github.com/rocky/emacs-test-simple.git
>>> > +[submodule "packages/load-relative"]
>>> > + path = packages/load-relative
>>> > + url = https://github.com/rocky/emacs-load-relative.git
>>> > +[submodule "packages/loc-changes"]
>>> > + path = packages/loc-changes
>>> > + url = https://github.com/rocky/emacs-loc-changes.git
>>> > +[submodule "packages/realgud"]
>>> > + path = packages/realgud
>>> > + url = https://github.com/rocky/emacs-dbgr.git
>>> > diff --git a/packages/load-relative b/packages/load-relative
>>> > new file mode 160000
>>> > index 0000000..15ffaa9
>>> > --- /dev/null
>>> > +++ b/packages/load-relative
>>> > @@ -0,0 +1 @@
>>> > +Subproject commit 15ffaa9ebf1b7bbfcc307d1716eec135253b3b8d
>>> > diff --git a/packages/loc-changes b/packages/loc-changes
>>> > new file mode 160000
>>> > index 0000000..8447baf
>>> > --- /dev/null
>>> > +++ b/packages/loc-changes
>>> > @@ -0,0 +1 @@
>>> > +Subproject commit 8447baff7cb4839ef8d1d747a14e5da85d0cee5b
>>> > diff --git a/packages/realgud b/packages/realgud
>>> > new file mode 160000
>>> > index 0000000..d811316
>>> > --- /dev/null
>>> > +++ b/packages/realgud
>>> > @@ -0,0 +1 @@
>>> > +Subproject commit d811316e6a0f4eeee8a1347f504c196c86baa2cb
>>> > diff --git a/packages/test-simple b/packages/test-simple
>>> > new file mode 160000
>>> > index 0000000..75eea25
>>> > --- /dev/null
>>> > +++ b/packages/test-simple
>>> > @@ -0,0 +1 @@
>>> > +Subproject commit 75eea25bae04d8e5e3e835a2770f02f0ff4602c4
>>>
>>
>>
next prev parent reply other threads:[~2015-02-16 2:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150215121943.15106.28763@vcs.savannah.gnu.org>
[not found] ` <E1YMyAp-0003wG-NT@vcs.savannah.gnu.org>
2015-02-15 22:33 ` [elpa] master 6a77459 1/2: New gud replacement package: realgud (a front end interface to Stefan Monnier
2015-02-15 23:47 ` Rocky Bernstein
2015-02-15 23:48 ` Rocky Bernstein
2015-02-16 2:05 ` Stefan Monnier [this message]
2015-02-16 2:08 ` Stefan Monnier
2015-02-16 2:35 ` Stefan Monnier
2015-02-16 4:11 ` Rocky Bernstein
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=jwvk2zi7guo.fsf-monnier+emacsdiffs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=rocky@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.