You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
The sync() function in cli.py will load all existing repos from the cache (load_watchlist()), list all GitHub repositories, then list all Snyk projects matching those repositories and add or update information as appropriate.
However, it does not check whether a Snyk project no longer exists for a repository and, if so, remove it from the cache. Regardless of the intent, it leads to multiple issues:
If a Snyk project is accidentally deleted or intentionally deleted to force the importer to reimport it, the importer might believe it's already imported and skip it.
The "tag" command will fail with a 404 when it tries to add a tag to a project that does not exist.
The later is causing our synchronization to fail - it continually tries to add tags to projects that don't exist and crashes.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
sync()
function incli.py
will load all existing repos from the cache (load_watchlist()
), list all GitHub repositories, then list all Snyk projects matching those repositories and add or update information as appropriate.However, it does not check whether a Snyk project no longer exists for a repository and, if so, remove it from the cache. Regardless of the intent, it leads to multiple issues:
The later is causing our synchronization to fail - it continually tries to add tags to projects that don't exist and crashes.
The text was updated successfully, but these errors were encountered: