FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
This is the agent for the demomod FOSSology module. The purpose of this is to show the structure of an agent. So, by design, it does very little.
Given an upload_pk, this agent simply reads the first 32 bytes of each file and records them in the demomod table.
The way permissions work on this agent is that if it runs from the scheduler, the normal fossology upload permissions are checked. However, if demomod agent runs from the command line, no permissions are checked and the output is to stdout, not the database.
Usage: demomod [options] file1 file2 ...
Command line flag | Description |
---|---|
-i | Initialize the database, then exit. |
-v | Verbose (turns on debugging output). |
-V | Print the version info, then exit. |
-c SYSCONFDIR | System Config directory (used by testing system). |
filename | Filename to process with regex |