Skip to content

Invalidate cache if the version baked into CLI is newer #66

@jdolitsky

Description

@jdolitsky

If we update the builtin-mappings.yaml file with new entries, it is not used by default if there is existing files inside the XDG_CACHE etc.

We should do something to either invalidate the cache based on timestamp, or something to prevent future travelers from being confused why mappings arent being applied during testing.

As a workaround, people can use the --mappings flag:

go run . --mappings pkg/dfc/builtin-mappings.yaml Dockerfile

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