emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [elpa] externals/marginalia 94fc7f0: README: Add ELPA badge


From: Stefan Monnier
Subject: Re: [elpa] externals/marginalia 94fc7f0: README: Add ELPA badge
Date: Mon, 31 May 2021 10:27:56 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Stefan, I attached a "badge.sh" script which can be used to generate
> badges without depending on an external service.  It uses imagemagick
> convert to compute the string width.

Thanks, that looks like just what we need.

> This script can be used as follows:
>
> ./badge.sh "GNU ELPA" "consult 0.8" bb3955 > consult.svg
> ./badge.sh "nonGNU ELPA" "markdown-mode 2.4" bb3955 > markdown-mode.svg
>
> Depending on how the ELPA build process works it may make more sense to
> convert this to an elisp script?

You can see the code we use at:

    
http://git.savannah.gnu.org/cgit/emacs/elpa.git/plain/elpa-admin.el?h=elpa-admin

In other words it's in the `elpa-admin.el` file in `elpa-admin` branch
of the `elpa.git` repository.  So yes, using ELisp will make more sense.

So we'd want the badge URL used in the `README.(md|org)`s such that the
badge indicates the latest version of the package?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]