Skip to content

CI step printing dependency diff #8170

Open
@magik6k

Description

@magik6k

In dependency-updating PRs it would be really convenient to have a CI step which would print diffs of code in dependencies - so it's easy to see changes in deps.

This can be done with something like:

git clone -b [base branch] https://github.com/filecoin-project/lotus a
git clone -b [target branch] https://github.com/filecoin-project/lotus b
cd a
make buildall
go mod vendor
cd ../b
make buildall
go mod vendor
cd ..

diff -r --color a/vendor b/vendor

Just need to make this into a CircleCI step.

Example output comparing current master with deps/update-libp2p: https://gist.github.com/magik6k/c4013988d8230aadc1de1d9d4a9809b5

Metadata

Metadata

Assignees

Labels

dif/easyAn existing lotus user should be able to pick this upeffort/hoursEffort: Hoursgood first issueGood for newcomershelp wantedExtra attention is neededkind/enhancementKind: Enhancement

Type

No type

Projects

Status

Ready To Work

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions