Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brejoc/bscdiff
bscdiff compares bsc, issue and CVE numbers in changelogs
https://github.com/brejoc/bscdiff
cve-numbers hacktoberfest opensuse rpm-packages
Last synced: about 2 months ago
JSON representation
bscdiff compares bsc, issue and CVE numbers in changelogs
- Host: GitHub
- URL: https://github.com/brejoc/bscdiff
- Owner: brejoc
- License: mit
- Created: 2019-04-06T19:54:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-21T00:19:07.000Z (about 4 years ago)
- Last Synced: 2023-06-28T12:53:12.778Z (over 1 year ago)
- Topics: cve-numbers, hacktoberfest, opensuse, rpm-packages
- Language: Go
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bscdiff
bscdiff compares bsc, issue, fate (it's a SUSE thing) and CVE numbers from a source changelog, to a target changelog. Missing numbers are then printed with their occurrence in the source changelog.
## Usage
```
$ ./bscdiff source.changes target.changes
508: bsc#1098394 -> - Fix file.get_diff regression on 2018.3 (bsc#1098394)
525: bsc#1098394 -> - Fix file.managed binary file utf8 error (bsc#1098394)
4092: bsc#565656565 -> - uploaded to salt 1.12.0 (bsc#565656565, bsc#676767676)
4092: bsc#676767676 -> - uploaded to salt 1.12.0 (bsc#565656565, bsc#676767676)
```Output is structure like this:
\: \ -> \
## Patterns
bscdiff looks for the following patterns:
* bsc#12345
* CVE-2019-12356
* U#1234
* fate#12345## Building bscdiff
Since Go modules are used and everything is vendorized, a simple `go build` should be enough. But you need the devel lib of seccomp: libseccomp-dev on Debian based systemes and libseccomp-devel on openSUSE or Redhat based systems.
## Installation
For openSUSE you can [download packages from OBS](https://software.opensuse.org//download.html?project=home%3Abrejoc%3Abscdiff&package=bscdiff), or you can download the binaries for Linux(amd64) and FreeBSD(amd64) from the [releases](https://github.com/brejoc/bscdiff/releases).
# Issues and Contributions
If you've got issues or questions please don't hesitate to open an issue. If you'd like to improve something or found a bug and you want to fix it, just open a pull request.
# License
MIT