anchore / vunnel

Tool for collecting vulnerability data from various sources (used to build the grype database)
Apache License 2.0
69 stars 25 forks source link

chore: switch submodule back to main branch #661

Closed willmurphyscode closed 1 month ago

willmurphyscode commented 1 month ago

The branch it previously pointed at has been removed in the remote, which messes updating submodules from remote because git can't find the remote branch to update from.

It looks to me like anchore/vunnel#597 needed this until anchore/vulnerability-match-labels#136 was merged, but I don't think it needs it any more.

Manual testing:

Without change:

$ git clone --recurse-submodules git@github.com:anchore/vunnel
$ cd vunnel
$ git submodule update --remote --recursive
fatal: Unable to find refs/remotes/origin/ubuntu-label-updates revision in submodule path 'tests/quality/vulnerability-match-labels'

With change:

$ git clone --recurse-submodules git@github.com:anchore/vunnel -b chore-back-to-main-vulns
$ cd vunnel
$ git submodule update --remote --recursive # succeeds!