|
|
Subscribe / Log in / New account

Announcing sources.debian.org

The Debian project has announced the launch of sources.debian.org, a site that enables browsing of the source code for every package shipped with the Debian distribution. "You may already know this service as previously hosted at sources.debian.net . We took the move to Debian hardware as the opportunity to officially announce it here."


From:  Matthieu Caneill <matthieucan-AT-debian.org>
To:  debian-devel-announce-AT-lists.debian.org
Subject:  Announcing sources.debian.org
Date:  Wed, 6 Dec 2017 00:18:19 +0100
Message-ID:  <20171205231819.qrgzood7awtzfvex@brokenwa.re>

Dear developers,

We're happy to announce that Debsources, the Web application that
allows to browse and search the entire source code of all Debian
releases, is now hosted on the official Debian infrastructure and
available at https://sources.debian.org.

You may already know this service as previously hosted at
sources.debian.net . We took the move to Debian hardware as the
opportunity to officially announce it here.


Service description
===================

Debsources is a web service that exposes the content of Debian source
packages on the Web, both via an HTML user interface and a JSON API
[0]. To that end, an updater runs regularly (currently 4 times a day)
to unpack and index new packages from all the available Debian
suites. It also runs various plugins, for example to count lines of
code and measure the size of packages; this information is exposed in
the interface.

[0]: https://sources.debian.org/doc/api/

Since all extracted information is stored in a PostgreSQL database,
various data warehouse features are available, such as the list of
file duplicates for every file, or package name search.


More than source code
=====================

Worth noting are two "sub-apps" that run on the same infrastructure:

* patches [1]: for packages using 3.0 (quilt) package format, the list
  of patches is extracted and exposed, along with some metadata.

* copyright [2]: the copyright files of packages are exposed through
  this interface, and displayed in a convenient way if they are
  machine readable.

[1]: https://sources.debian.org/patches/
[2]: https://sources.debian.org/copyright/


Learn more
==========

Debsources has been described extensively and used to conduct various
studies on the Debian source code. To learn more check out the paper:

Matthieu Caneill, Daniel M. Germán, Stefano Zacchiroli. The Debsources
Dataset: Two Decades of Free and Open Source Software. In Empirical
Software Engineering, Volume 22, pp. 1405-1437, June, 2017

An open access preprint of the paper and additional information about
Debsources are available on the Debsources documentation page [3].

[3]: https://sources.debian.org/doc/about/


Credits
=======

Many credits go to everyone who submitted patches and feedback over
the years, thank you! In particular, Stefano Zacchiroli started the
project and wrote the updater infrastructure, and Orestis Ioannou
developed the patches/ and copyright/ apps.

This new instance of the service is hosted by DSA - without whom
sources.debian.org would not exist. Many thanks to the whole team for
their guidance in the d.n -> d.o migration, and in particular to
Julien Cristau and Peter Palfrader.

The previous instance of Debsources had been hosted by IRILL [4] for
more than 4 years, who has also spearheaded the initial development of
the service - thanks for the non-interrupted service!

[4]: https://www.irill.org/


As always, we're more than happy to hear your feedback; you can
contact us at qa-debsources@lists.alioth.debian.org . (See the footer
of the Debsources web page for bug report and contribution
information.)

For the Debsources team,
--
Matthieu


to post comments

Announcing sources.debian.org

Posted Dec 6, 2017 20:50 UTC (Wed) by dkg (subscriber, #55359) [Link]

I'm happy to see this excellent work being officially adopted by the Debian project.

I've been using sources.debian.net for years now as a resource for several workflows, including:

  • looking for patterns of problems in source code,
  • evidence for API update/deprecation considerations, and
  • simple stable pointers for discussion and reference when it's not clear that everyone in a distributed discussion has the same copy of the same file.

The site is a great resource for the community overall. Thanks to everyone who has put in time (and who continues to put in ime) building and maintaining it!

Announcing sources.debian.org

Posted Dec 9, 2017 1:29 UTC (Sat) by rfranz (subscriber, #92100) [Link]

It looks like codesearch.debian.net is staying separate, as sources.debian.org still points there, and there is no mention of codesearch in the article. I've found codesearch invaluable when looking at code patterns in applications - the Debian archive is a pretty sample of Linux applications.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds