How would you like this to work? No one is working on a REST api at this time but the first step would be to define what it looks like. Would you like to start this?
Yes, you can query the db to get the item number. For example, if your upload is 10, like in your wget command: select uploadtree_pk from uploadtree where upload_fk=6 and parent is null; Or you can: fossjobs -u | grep myuploadname For anyone late to this thread, the command line fossology tools are on: http://fossology.org/using_fossology_from_the_command_line Bob Gobeille On Nov 20, 2009, at 10:05 AM, MARTIN PHILIPPE PM wrote: thanks to help. Unfortunately, I need to analyze mostly archives in an unattended way (not via the web interface). From a cronjob, I guess I can use svn to retrieve the proper version of my application + build an archive and then cp2foss + fossjobs to trigger the analysis. But how can I retrieve the results? If I wget http://localhost:1234/repo/?mod=license&show=detail&upload=10&item=???, how can I find out what is the item number related to my upload? Do I have to query the Db? I know that REST is on the way but I would accept gladly a workaround. By the way, when do you expect the REST access to be available? _______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology

