Elementi taggati con: debsources
Debian developer Matthieu Caneill announced today the new URL for Debsources. For those who do not know it: With Debsources you can search in the complete source code of Debian. This is very nice, when you like to learn, how your operating system or applications work, if you like to learn a new computing language, if you like to find an attack vector for your latest hack or you like to prevent the latter. It is like the late Google codesearch, but free as in freedom. Try out and have fun!
Dear developers,#debian #freesoftware #sourcecode #search #development #debsources #python #agpl3
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.
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
. 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
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 : for packages using 3.0 (quilt) package format, the list
of patches is extracted and exposed, along with some metadata.
* copyright : the copyright files of packages are exposed through
this interface, and displayed in a convenient way if they are
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 .
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 for
more than 4 years, who has also spearheaded the initial development of
the service - thanks for the non-interrupted service!
As always, we're more than happy to hear your feedback; you can
contact us at firstname.lastname@example.org . (See the footer
of the Debsources web page for bug report and contribution
For the Debsources team,