unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Jonas Bernoulli <jonas@bernoul.li>
Cc: 45435@debbugs.gnu.org
Subject: bug#45435: Additional libraries required by transient and magit manuals
Date: Sat, 26 Dec 2020 16:02:44 -0500	[thread overview]
Message-ID: <jwvv9comhd1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87r1nd8y13.fsf@bernoul.li> (Jonas Bernoulli's message of "Fri, 25 Dec 2020 20:51:20 +0100")

> I am guessing that [non]gnu elpa currently use the version of org that
> comes with Emacs.

Indeed, more specifically with the Emacs distributed in Debian stable,
i.e. Emacs-26 currently.

> Please consider making "org/contrib/lisp/" and "ox-texinfo+.el"
> available to the elpas.

IIUC Bastien is working on (or planning to soon work on) adding org-contrib
to NonGNU ELPA.  As for `ox-texinfo+.el` (or any other package you
fancy), feel free to add them to `elpa.git` or `nongnu.git` (depending
on their copyright paperwork status, mostly).

But the main point you raise is the use of extra packages when building
(Non)GNU ELPA packages, such as for the needs of building the
Info manual.

There are mostly two issues:

1- The philosophical issue of relying on packages which we don't distribute.
   I think we should try and only use ELisp packages which we
   distribute, either as part of Emacs or GNU ELPA or NonGNU ELPA.
   But this should be easy to fix: just add the package to
   (Non)GNU ELPA.

2- Making use of those extra packages while building your own (Non)GNU
   ELPA package.  This is a technical issue and I'm not completely sure
   how best to solve it.

I think point 2 is the only relevant problem here, so I suggest we focus
on this in the bug#45435.

Currently, when building a GNU ELPA package, the `:make` rule has read
access to the whole of `elpa.git`, and similarly while building a NonGNU
ELPA package, the `:make` rule has read access to the whole of
`nongnu.git`.

There are several problem, tho:
1- GNU ELPA Packages aren't readable while building NonGNU ELPA
   packages, and vice-versa.
2- While there is read access to the source code of other packages,
   these aren't "prepared" to be activated (as by
   `package-activate-all`), e.g. their [PKG]-pkg.el and more importantly
   [PKG]-autoloads.el files haven't been built (and they haven't been
   byte-compiled either).
3- Of course, the code available is (usually) that of the head of their
   respective branch, which may be in a temporarily broken state.

So maybe rather than look for the solution by re-using the code we
already have lying around, we should "manually" add the handful of extra
packages to the builder's `~/.emacs.d/elpa` ?

The downside would be that it requires a manual step from someone with
access to `elpa.gnu.org`.  Or maybe we could keep the contents of that
`~/.emacs.d/elpa` in a separate branch/directory and just make it
available to `:make` targets, so anyone with write access to the Git
repository can add (installed) packages in there.

Hmm...


        Stefan






  reply	other threads:[~2020-12-26 21:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-25 19:51 bug#45435: Additional libraries required by transient and magit manuals Jonas Bernoulli
2020-12-26 21:02 ` Stefan Monnier [this message]
2020-12-27 12:49   ` Jonas Bernoulli
2020-12-27 15:58     ` Stefan Monnier

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=jwvv9comhd1.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=45435@debbugs.gnu.org \
    --cc=jonas@bernoul.li \
    /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).