Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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