Hi Claude, There are a few different ways to access the DB from within an application. You can use libpq (http://www.postgresql.org/docs/8.3/static/libpq.html), the C application programmer's interface to PostgreSQL. You can also use a DB API, such as, http://wiki.python.org/moin/UsingDbApiWithPostgres. Both of these provide delete capability. Another option is to use a simplified library built exclusively for fossology, libfossdb (http://fossology.org/database#db_api_libfossdb).
Mary ________________________________ From: [email protected] [mailto:[email protected]] Sent: Friday, June 19, 2009 11:51 AM To: Laser, Mary; [email protected] Subject: RE: [FOSSology] Questions about API for Fossology and Future Directions Hi, Thanks for your quick reply. A couple of other questions. How can we access the results from the database? How is this currently being handled by Fossology when it does its reporting? Also, are there other commands available such as delete via an API. Thanks --- On Fri, 6/19/09, Laser, Mary <[email protected]> wrote: From: Laser, Mary <[email protected]> Subject: RE: [FOSSology] Questions about API for Fossology and Future Directions To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Friday, June 19, 2009, 12:06 PM Hi Claude, Yes, there is a command line program to perform uploads into fossology called cp2foss. (http://fossology.org/cp2foss) In the soon-t-be release 1.1 version of fossology, you will have the capability of enabling email notification on a user by user basis. This will send email to the user when processing of the upload completes. (http://fossology.org/how_to_use_email_notification) Finally, we maintain a roadmap of release features at http://fossology.org/roadmap. HTH, Mary ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Friday, June 19, 2009 9:41 AM To: [email protected] Subject: [FOSSology] Questions about API for Fossology and Future Directions Hello, We have some questions regarding the current capability of Fossology and its future directions. We understand how we can upload a file through the UI so it can be scanned for licenses. However, we would like to automate this process from start to finish. Is there some kind of API available in which we can login to Fossology, upload a file for scanning, determine when the scan is complete, and find out the results. If not, when do you think such an API would be available. We are also interested in knowing what kind of new features are being planned for the future releases. Is there a page on the Fossology website that shows future plans for the product. Any help would greatly be appreciated. Thank You
_______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology

