A cli tool that output a JSON structure:
- Packages only in
p10. - Packages only in
sisyphus. - Packages with higher version in
sisyphus.
altpkgdiff/
├── api/
│ └── client.go # REST API interaction
├── cmd/
│ └── main.go # CLI logic here
├── pkg/
│ └── diff.go # Package diff funcs
├── test/
│ └── diff_test.go # test funcs for comparing
├── go.mod # Module
├── README.md # Doc
└── .gitignore # List of ignoring filesgo test -v .\test\diff_test.go set GOOS & GOARCH to your target platform
$env:GOOS="linux"
$env:GOARCH="amd64" run build script
go build -o altpckgdiff .\cmd\main.gomake file executable
chmod +x altpckgdiffexecute programm
compare repositories in two branches
./altpckgdiff -dst p10 -src sisyphuscompare repositories in two branches for the specified architecture
./altpckgdiff -dst p10 -src sisyphus -arch aarch64save results to txt
./altpckgdiff -dst p10 -src sisyphus > out.txt