unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Software Heritage archive is now live!
@ 2018-06-07 17:00 Ludovic Courtès
  2018-06-10  6:44 ` Chris Marusich
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2018-06-07 17:00 UTC (permalink / raw)
  To: Guix-devel

Hello Guix!

The Software Heritage archive is now accessible:

  https://www.softwareheritage.org/2018/06/07/opening-the-door/

For example, here’s our beloved guix.scm:

  https://archive.softwareheritage.org/api/1/content/sha1_git:8753c21e423f880e7a6d9f7f6f6ff1139f8b7254/

and here’s the ‘v0.12.0’ tag and its “directory”:

  https://archive.softwareheritage.org/api/1/revision/cccbc63950ad061538b1132b3dfef21794d6b780/
  https://archive.softwareheritage.org/api/1/directory/30d76e7ab126284658f839c2c8b87954788b2a5b/

Here’s gcc-4.8.5.tar.bz2, though getting at its contents via /raw
returns 403:

  https://archive.softwareheritage.org/api/1/content/sha256:22fb1e7e0f68a63cee631d85b20461d1ea6bda162f03096350e38c8d427ecf23/

Documentation:

  https://archive.softwareheritage.org/api/1/
  https://docs.softwareheritage.org/devel/swh-web/uri-scheme-api.html#swh-web-api-urls

Anyway, I find this pretty exciting, and I think we’ll be able to use it
as a fallback in ‘git-fetch’ without much work, since SWH supports Git
sha1 object ids.

It’s unclear whether we’ll be able to use it for plain old tarballs
since in general SWH is about storing commits or similar objects.  They
injected ftp.gnu.org though, which is why the GCC tarball above is
available, but I think it’s more of an exception.

An interesting thing is that, in Git terms, they keep all the objects
around.  So you can get the “history of a repo’s history”: if branches
were rebased, for instance, you can potentially retrieve the branch
before and after the rebase.

Ludo’.

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

* Re: Software Heritage archive is now live!
  2018-06-07 17:00 Software Heritage archive is now live! Ludovic Courtès
@ 2018-06-10  6:44 ` Chris Marusich
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Marusich @ 2018-06-10  6:44 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel

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

ludovic.courtes@inria.fr (Ludovic Courtès) writes:

> The Software Heritage archive is now accessible:
>
>   https://www.softwareheritage.org/2018/06/07/opening-the-door/
>
>  [...]
>
> Anyway, I find this pretty exciting, and I think we’ll be able to use it
> as a fallback in ‘git-fetch’ without much work, since SWH supports Git
> sha1 object ids.

Cool!

> It’s unclear whether we’ll be able to use it for plain old tarballs
> since in general SWH is about storing commits or similar objects.  They
> injected ftp.gnu.org though, which is why the GCC tarball above is
> available, but I think it’s more of an exception.

I would have thought they'd archive releases, such as those distributed
as tarballs.  Either way, it's nice to have another archive around!

-- 
Chris

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

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

end of thread, other threads:[~2018-06-10  6:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-07 17:00 Software Heritage archive is now live! Ludovic Courtès
2018-06-10  6:44 ` Chris Marusich

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.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).