Skip to content

problem with cached rules after changing a rule #1846

Closed
@tq-krutzc

Description

@tq-krutzc

Description

If I add/update/delete a rule, scancode is somehow caching the old ones. I tried deleting ~/.cache/scancode-tk and drop the cache (/proc/sys/vm/drop_cache), unsuccessfully.
How can the cached data be updated or be ignored?

How To Reproduce

  • run a scan
  • add/update/delete a rule
  • run the same scan, again
  • scancode does not know the changes in the rules

System configuration

  • What OS are you running on? (Windows/MacOS/Linux)
    Ubuntu 18.04
  • What version of scancode-toolkit was used to generate the scan file?
    3.1.1
  • What installation method was used to install/run scancode? (pip/source download/other)
    download

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions