unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Source Files for (nonGNU) ELPA Packages
@ 2022-03-26  4:52 Jai Vetrivelan
  2022-03-26  9:51 ` Philip Kaludercic
  2022-03-27  9:23 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: Jai Vetrivelan @ 2022-03-26  4:52 UTC (permalink / raw)
  To: NonGNU ELPA Maintainers; +Cc: Philip Kaludercic, Stefan Kangas, Stefan Monnier

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

Hello,

I am trying to install third-party packages through my package manager
instead of `package.el'. Sometimes the upstream URL returns 404, so I
fetch the source from ELPA website instead.

Here's an example URL for the subed package on NonGNU ELPA:

       https://elpa.nongnu.org/nongnu/subed-1.0.3.tar

Would this link still work if 1.0.3 is no longer the latest version?  It
looks to me that the older versions are in the .tar.lz format, and I'd
have to change the URL manually incase there is a new version.

Is there a permanent URL for a certain version of a ELPA package,
regardless of it being the latest version?

-- 
Jai Vetrivelan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 865 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Source Files for (nonGNU) ELPA Packages
  2022-03-26  4:52 Source Files for (nonGNU) ELPA Packages Jai Vetrivelan
@ 2022-03-26  9:51 ` Philip Kaludercic
  2022-03-27  9:23 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Philip Kaludercic @ 2022-03-26  9:51 UTC (permalink / raw)
  To: Jai Vetrivelan; +Cc: Stefan Kangas, Stefan Monnier, NonGNU ELPA Maintainers

Jai Vetrivelan <jaivetrivelan@gmail.com> writes:

> Hello,
>
> I am trying to install third-party packages through my package manager
> instead of `package.el'. Sometimes the upstream URL returns 404, so I
> fetch the source from ELPA website instead.
>
> Here's an example URL for the subed package on NonGNU ELPA:
>
>        https://elpa.nongnu.org/nongnu/subed-1.0.3.tar
>
> Would this link still work if 1.0.3 is no longer the latest version?  It
> looks to me that the older versions are in the .tar.lz format, and I'd
> have to change the URL manually incase there is a new version.
>
> Is there a permanent URL for a certain version of a ELPA package,
> regardless of it being the latest version?

From what I know, old packages archives are scrubbed after a while (I am
not certain by what policy).

-- 
	Philip Kaludercic



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Source Files for (nonGNU) ELPA Packages
  2022-03-26  4:52 Source Files for (nonGNU) ELPA Packages Jai Vetrivelan
  2022-03-26  9:51 ` Philip Kaludercic
@ 2022-03-27  9:23 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2022-03-27  9:23 UTC (permalink / raw)
  To: Jai Vetrivelan; +Cc: NonGNU ELPA Maintainers, Philip Kaludercic, Stefan Kangas

> Here's an example URL for the subed package on NonGNU ELPA:
>
>        https://elpa.nongnu.org/nongnu/subed-1.0.3.tar
>
> Would this link still work if 1.0.3 is no longer the latest version?  It
> looks to me that the older versions are in the .tar.lz format, and I'd
> have to change the URL manually incase there is a new version.

No, it's only "stable" once it's not the latest any more.
But you can try with and without `.lz` to avoid this problem.
Or you can fetch from the Git repository (the tarball now contains the
Git revision hash in the `<pkg>-pkg.el` file).


        Stefan




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-27  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-26  4:52 Source Files for (nonGNU) ELPA Packages Jai Vetrivelan
2022-03-26  9:51 ` Philip Kaludercic
2022-03-27  9:23 ` Stefan Monnier

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).