unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jonas Bernoulli <jonas@bernoulli.cc>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: emacs-devel@gnu.org
Subject: Re: library dependencies and unit/integration testing
Date: Tue, 2 Mar 2010 16:25:49 +0100	[thread overview]
Message-ID: <201bac3a1003020725g5fb4371ehd9cb884e1dea2015@mail.gmail.com> (raw)
In-Reply-To: <87zl2qoo1u.fsf@lifelogs.com>

2010/3/2 Ted Zlatanov <tzz@lifelogs.com>:
> Tom> ;;; Package-Requires: ((ruby-mode "1.0") (inf-ruby "2.0"))
>
> Jonas thinks this is best left outside the package.  I disagree
> slightly: I think a compromise is best, where the package author can
> specify the dependencies but the repository maintainer can override
> them.  Since Emacs doesn't provide any of these facilities by
> convention, perhaps it's time to set them up now.

This was a misunderstanding. I am all for package maintainers specifying
which versions of the dependencies are required.

I was talking about the difficulties of knowing if library X is at version Y
just because the header of library X (!!!) says the version of itself is Y.
Sometimes (more like: commonly) multiple revisions are released
under the same "version".

This is not so much a problem if we agree that the revision where a
particular version string first appeared IS that version. However if you
do not have the full history available it is not possible to determine
when a version string first appeared.

So THIS should be done on the mirror/elpa because the user simply
can't.

It really is a detail. Maybe not unimportant but the other question is
more importent now.

Should authors specify what versions of dependencies are required?

I would say: definitely yet (but they should not be forced to do it).

> I was thinking of using the emacs interpreter in batch mode to run only
> a few tests in series, isolated from the testing agent in a whole new
> process.  For the majority of libraries that's enough.

Still you would have to do it using a user with very restricted privileges.

-- Jonas




  reply	other threads:[~2010-03-02 15:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-01 17:33 library dependencies and unit/integration testing Ted Zlatanov
2010-03-01 17:59 ` Tom Tromey
2010-03-02 13:23   ` Ted Zlatanov
2010-03-02 15:25     ` Jonas Bernoulli [this message]
2010-03-02 15:47       ` Ted Zlatanov

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=201bac3a1003020725g5fb4371ehd9cb884e1dea2015@mail.gmail.com \
    --to=jonas@bernoulli.cc \
    --cc=emacs-devel@gnu.org \
    --cc=tzz@lifelogs.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).