-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
breaking-change(rdb): update gorm v2 (#47)
* feat(rdb): update gorm v2 * feat(rdb): change models * fix(fetch): delete old records with only exploit type to fetch * feat(fetch): use batch insert * feat(fetch): add FetchMeta * feat(integration): add diff test template * chore(integration): change git stash in build-integration * fix(integration): fix makefile * fix(integration): git stash * fix(integration): fix fetched db path * feat(integration): change json output for diff test * feat(db): reproduced output of GORMv1 * chore(search): eval struct * chore(rdb): fix typo * feat(fetch): eval len old record slices * chore: fix typo * fix: args by environment variable * chore: fix path * chore: fix typo * chore: fix error * chore: fix typo * chore: remove comment * style: format query indent * chore: remove GitHubJSON * chore: viper, cobra update * refactor(fetcher): simplify FetchExploitDB * fix(fetcher): fix insert data * Revert "fix(fetcher): fix insert data" This reverts commit 60cf5bb. * fix(fetcher): fix insert data * fix(githubrepos): fill in GitHubRepository.ExploitUniqueID * feat(redis): set to nil when ExploitUniqueID is not filled * fix(fetcher/exploitdb): fix insert data * fix: fix panic error * chore: fix message * feat(redis): init exploits slice * chore: run test command with default * feat(models): do not show ExploitUniqueID multiple times * feat(models): add gorm struct tag * chore: fix typo * chore(integration): add sample_rate * chore: change log * feat(rdb): add batch size option * feat(cmd): add version command
- Loading branch information
Showing
38 changed files
with
66,035 additions
and
468 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.