/onemw-fossup

Fork of https://gitlab.com/toganlabs/fossup for ONEM

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

fossup is a Fossology uploading program for file/archives.

Installation
------------
Pretty straightforward here:

python3 setup.py install


General Use
------------
It is highly suggested that the username/password and url for your fossology instance 
is kept with your rc file (see Settings File Format)

fossup.py -n "My Test Directory" -f archive.tgz -d "Test Archive" -c ~/.fossuprc

Settings File
-------------
If not specified with -c flag, we will look for ~/.fossuprc first, then default to 
/etc/fossuprc (which was installed during setup

The config file should be relatively obvious if you're familiar with Fossology

[Defaults]
username:fossy
password:fossy
url:http://localhost/repo
public:private
Check_agent_bucket:1
Check_agent_copyright:1
Check_agent_ecc:1
Check_agent_mimetype:1
Check_agent_monk:1
Check_agent_nomos:1
Check_agent_pkgagent:0
deciderRules:nomosInMonk

TODO
----
- Support multiple Fossology instances within rc file
- Clean up error handling