FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Demonstration agent

About Demonstration agent

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.

Supported actions

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

Agent source