- Member admin_obligation_file::Updatefm ($ob_pk)
- Add colors $dbManager->risksFromDB
- File agent.c
- Change the "<date> <time> scheduler ::" to "<date> <time> agent ::" for some log messages
- Member agent_pk
-
- Member Array2SingleSelectTag ($KeyValArray, $SLName="unnamed", $SelectedVal="", $FirstEmpty=false, $SelElt=true, $Options="")
- GetTaggingPerms is commented out due to bug in it
- Class Build
- if running in hudson, just to a make with output going to console and let jenkins count errors and warnings.
- Member check_email_address ($email_address)
- Implement this function if needed in the future.
- Member checkCornerCases (char *filetext, int size, int score, int kwbm, int isML, int isPS, int nw, int force)
- Remove this code block and respective phrase from STRINGS.in later
- File cleanEntries.cc
rearrange copyright statments to try and put the holder first, followed by the rest of the statement, less copyright years.
skip "dnl "
- Member cliParamsTest4Ununpack::testNormalDsc ()
- Test not working on Xenail but pass on Trusty
- Member cliParamsTest4Ununpack::testNormalFsImage ()
- Uncertain how the unpack results looks like
- Member cliParamsTest4Ununpack::testNormalJar ()
Test not working on Xenail but pass on Trusty
: failing on Travis
- Member cliParamsTest4Wget::testDownloadURLDesAbnormal ()
- Ignore this test case, the test data is not existed
- Member collapseSpaces (char *text)
- delete me
- Member CopyrightDatabaseHandler::columns []
- Removed constrain: "CHECK (type in ('statement', 'email', 'url'))"}
- Member CountFilesWithCopyright ($agent_pk, $hash, $type, $uploadtree_pk, $PkgsOnly=false, $CheckOnly=false)
- $PkgsOnly is not yet implemented. Default is false.
- Member database_exec_event (scheduler_t *scheduler, char *sql)
-
- Member DirGetNonArtifact ($UploadtreePk, $uploadtree_tablename='uploadtree')
- TBD: "username" will be added in the future and it may change how this function works.
- Class domParseLicenseTbl
add in link fixups and adjust consumers
change the name to parsetable and adjust all consumers
- Member email_replace (const GMatchInfo *match, GString *ret, email_replace_args *args)
- needs implementation of $DB.table.column
- Member fo::getStringFromFile (const char *filename, const unsigned long int maximumBytes)
- respect limit of maximumBytes
- Member fo_GetAgentKey (PGconn *pgConn, const char *agent_name, long unused, const char *cpunused, const char *agent_desc)
- This function is not checking if the agent is enabled. And it is not setting agent version when an agent record is inserted.
- Member fo_heartbeat ()
- These functions are not safe for a signal handler
- Member FoIntegration::log ($message)
- add in a time stamp for each entry written.
- Member FoLibCPPTest::test_runBadCommandQueryCheckIfError ()
- implement fo::DbManager::setLogFile() and check that errors pass through
- Member FoLibCPPTest::test_runSchedulerConnectConstructor ()
- make this correctly
- Member Fossology\Agent\Copyright\UI\Xpview::additionalVars ($uploadId, $uploadTreeId, $agentId)
- Not implemented
- Class Fossology\DeciderJob\Test\SchedulerTestRunnerCli
move to lib/test
- Member Fossology\Lib\Util\PurlOperations::fromString ($input)
- Replace with https://packagist.org/packages/package-url/packageurl-php
- Member Fossology\Report\Test\SchedulerTest::testReport ()
- Generate the test file and fix the test case
- Member Fossology\UI\Page\BrowseLicense::createLicenseHistogramJSarray ($scannerLics, $editedLics, $licListUri)
- convert to template
- Member fossologyTestCase::uploadFile ($parentFolder, $uploadFile, $description=null, $uploadName=null, $agents=null)
- add ability to specify uploadName
- Member FreshmeatRdfs::XtractProjInfo ($rdf_file)
- think about making this a class that can give back any number of fields.
- Namespace get
Stop using /tmp, switch to $VARDATADIR? (bug taggart)
Examine every function and return statement, decide if void is ok or need to return true/false.
Bonus: start to pass arrays around by ref....
- Member GetAgentKey ($agentName, $agentDesc)
- When creating an agent record, set the agent_rev.
- Member getFileLists (char *dirpath)
- CDB - Could probably roll this back into the main processing loop or just put in a generic init func that initializes all the lists.
- Member GetFilesWithCopyright ($agent_pk, $hash, $type, $uploadtree_pk, $PkgsOnly=false, $offset=0, $limit="ALL", $order="")
- $PkgsOnly is not yet implemented.
- Member GetFolderArray ($RootFolder, &$FolderArray)
- Possibly this could be a common function and FolderListOption() could use this for its data. In general data collection and data formatting should be separate functions.
- Member GetMetadataDebSource (char *repFile, struct debpkginfo *pi)
- Check if file is really Debian source
- Member HistogramBase::getTableForSingleType ($type, $description, $uploadId, $uploadTreeId, $filter, $agentId)
- Template this! For now I just template the js
- Member idxGrep_base (int index, char *data, int flags, int mode)
- is idx_regc needed? Here we set the pointer to our array and later we fill it, but we never reuse the regex_t
- Member job_set_data (scheduler_t *scheduler, job_t *job, char *data, int sql)
- runonpfile is not implemented
- Member listGetItem (list_t *l, char *s)
- CDB – Change so that there is only one loop variable in the for loop
- Member listIterate (list_t *l)
- remove/fix the fact that this routine increments ix.
- Member menu_find ($Name, &$MaxDepth, $Menu=NULL)
- Rename this function to menu_find_submenus.
- File migrateConfig.php
- what should the api for this really be?
- Member parseBrowseMenu::_createMiniArray ($array, $matches)
- what does the return array look like! Docuement it!
- Member parseBrowseMenu::parseBrowseFileMinis ()
- clear up what the array looks like I think it's an array of arrays with keys.
- Member parseCliOptions (int argc, char **argv, CliOptions &dest, std::vector< std::string > &fileNames, std::string &directoryToScan)
- Change and add help based on IDENTITY
- Member parseFolderPath::_createRtnArray ($list, $matches)
- fix the docs above to much more detailed.
- Class parseLicenseTbl
- add in link fixups and adjust consumers
- Class parseLicenseTblDirs
- add in link fixups and adjust consumers
- Class parseMiniMenu
- add in link fixups and adjust consumers
- File pkgConfig.php
what should the api for this really be?
what should the api for this really be?
what should the api for this really be?
- Member processExpired ()
- Process expired uploads is not implemented yet
- Member ReadFileToString (const string &fileName, string &out)
- There should be a maximum string size
- Page Readme_OSS agent
- Write test cases for the agent
- Member ReadmeOssAgent::processUploadId ($uploadId)
- Without wrapper
- Member removeUploads ()
- Optimize query
- Member saveLicenseData (scanres_t *scores, int nCand, int nElem, int lowWater)
CDB - Some initializations happen here for no particular reason
we should filter some names out like the shellscript does. For instance, word-spell-dictionary files will score high but will likely NOT contain a license. But the shellscript filters these names AFTER they're already scanned. Think about it.
BUG: When _FTYP_POSTSCR is "(postscript|utf-8 unicode)", the resulting license-parse yields 'NoLicenseFound' but when both "postscript" and "utf-8 unicode" are searched independently, parsing definitely finds quantifiable licenses. WHY?
- Member scanForKeywordsAndSetScore (scanres_t *scores, list_t *licenseList)
- We don't currently use _UTIL_FILTER, which is set up to exclude some files by filename.
- Member scheduler_destroy (scheduler_t *scheduler)
Interface close
Repo close
- Member scheduler_update (scheduler_t *scheduler)
Currently this will only grab a job and create a single agent to execute the job.
Allow for runonpfile jobs to have multiple agents based on size
Allow for job preemption. The scheduler can pause jobs, allow it
Allow for specific hosts to be chosen.
- Member StmtReorder ($content)
- NOT YET IMPLEMENTED
- Member suites []
Fix fossscheduler_testcases
tests_job is not running
- Member test_agent_init ()
- finish
- Member test_database_init ()
- not complete
- Member test_database_job ()
- Add checks for function calls
- Member test_GetMetadataDebSource_wrong_testfile ()
- Needs fix
- Member test_showjobs::test_ShowJobDB ()
- use testing DB, poplulate data
- Class TestCLib
- remove this file and change Makefile
- Member testFindCmd4PartitionFile ()
- Test file does not exists
- Member TestReport::parseLicenseResults ($FD)
- rename this to parsePassFailResults
- Member testTraverseChild4PartitionFile ()
- Test file does not exists
- Member testUsage ()
- Need added output check of Usage, how to do it?
- Member UnifiedReport::$groupBy
- Unused variable
- Member unlinkContent (long child, long parent, int mode, int userId, int userPerm)
- add permission checks
- Member verifyFilePerms (int fix)
- Verify file permissions is not implemented yet