Hello Phil,

REST access is on the list for future versions of fossology.  However, the one 
thing  you can do today is submit a file to a fossology server and have it 
return the licenses found.  To do this:

1)  edit  fossology/ui/plugins/agent-license-once.php.  Around line 40 you 
should see:

  /** For anyone to access, without login, use: **/
  // public $DBaccess   = PLUGIN_DB_NONE;
  // public $LoginFlag  = 0;

  /** To require login access, use: **/
  public $DBaccess = PLUGIN_DB_ANALYZE;
  public $LoginFlag = 1;

Uncomment the first two public lines, and comment the last two.  This allows 
the plugin to work with no authentication.

2) Post the file to analyze (a single file, not an archive that must be 
unpacked) to http://yourfossology/?mod=agent_license_once
The discovered license names will be returned.

2) For the upload protocol, are you just trying to use the command line  to 
upload files to a fossology server?  If so:
man cp2foss
man fossjobs

Bob Gobeille


On Nov 18, 2009, at 8:12 AM, Philippe PM Martin wrote:

> 
> Hello,
> 
> I am evaluating Fossology and I wonder if it is possible to drive a 
> fossology server from remote using a REST access for instance. It does 
> not seem to be available on version 1.1 but maybe it will be soon  ?  ;-)
> Another question is about the protocol supported for upload: is it 
> possible to access SVN repositories via their URLS: http://server/....
> Thanks,
> 
> -- Phil Martin
> _______________________________________________
> fossology mailing list
> [email protected]
> http://fossology.org/mailman/listinfo/fossology

_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to