savannah-hackers-public
[Top][All Lists]
Advanced

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

[Savannah-hackers-public] Fossology in a virtual machine


From: Federico Gimenez Nieto
Subject: [Savannah-hackers-public] Fossology in a virtual machine
Date: Fri, 22 May 2009 20:54:04 +0200

Hi,

I've been trying fossology and i have ended setting up a virtual machine
for testing purposes. You can download it from [1] (180 mb), start it
with

  qemu fossology.qcow2 -kernel-kqemu -redir tcp:50081::80 -m 480

then point the browser to

  http://localhost:50081/repo/index.php

and login with username 'fossy', password 'fossy'.

I've found that the plugin system is really cool, with little effort
i've written a plugin draft (very simple, attached to this message and
located at /usr/share/fossology/www/plugins on the vm) to try to check
some of the requirements exposed at [2]. You can access the plugin in
the menu 'Savane'->'Check'; now it just searches in the uploaded
packages by name. It would be easy to show, for example, the license
analisys results for the selected packages, some information about the
package name constraints and so on.

Note the "-m 480" in the command line invocation, fossology eats a lot
of memory and doesn't work very smoothly in the system where i have
tested it, it would probably work better in a real machine. For example,
i have uploaded a not so big package (source tarball for debian's
gentoo) and it takes a lot of time to do the license analisys on all the
files in it.

I don't know if this may be useful somehow, could you please check it
and let me know what do you think?

Cheers :)
Federico

[1]
http://www.adrive.com/public/6414c5c630ca326062e0b85338ef404a31c980376105df6a285b7608657f808f.html
[2]
http://savannah.gnu.org/maintenance/HowToGetYourProjectApprovedQuickly

Attachment: savane-check.php
Description: application/php


reply via email to

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