Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dotgit command #329

Open
MaineK00n opened this issue Feb 17, 2025 · 0 comments
Open

add dotgit command #329

MaineK00n opened this issue Feb 17, 2025 · 0 comments

Comments

@MaineK00n
Copy link
Owner

MaineK00n commented Feb 17, 2025

add utility command for vuls-data-* .git operation

// vuls-data-update dotgit list
$ vuls-data-update dotgit list
...
vuls-data-raw-redhat-vex
...
vuls-data-extracted-redhat-vex
...

// vuls-data-update dotgit pull <data source>
$ vuls-data-update dotgit pull vuls-data-raw-redhat-vex

// vuls-data-update dotgit merge <current> [<archive>]
$ vuls-data-update dotgit merge vuls-data-raw-redhat-vex vuls-data-raw-redhat-vex-archive-2 vuls-data-raw-redhat-vex-archive-1

// vuls-data-update dotgit contains <datasource> <commit hash>
$ vuls-data-update dotgit contains vuls-data-raw-redhat-vex 012abc

// vuls-data-update dotgit cat <data source> <branch|commit hash> <filepath>
$ vuls-data-update dotgit cat vuls-data-raw-redhat-vex 2025/CVE-2025-0001.json

// vuls-data-update dotgit find <data source> <branch|commit hash> <word>
$ vuls-data-update dotgit find vuls-data-raw-redhat-vex

// vuls-data-update dotgit grep <data source> <branch|commit hash> <word>
$ vuls-data-update dotgit grep vuls-data-raw-redhat-vex

---
// vuls-data-update dotgit diff <data source> <filepath> <branch|commit hash> <branch|commit hash>
// vuls-data-update dotgit compress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant