Open dbeatty10 opened 3 months ago
is it possible to take this issue for community contributor? this fixes don't seem difficult, and affected tests or additional tests also not difficult to write.
is it possible to take this issue for community contributor?
Yep! We'd welcome a PR from a community contributor 👍
Housekeeping
Short description
Use
git tag --no-column
instead ofgit tag --list
to prevent the issue described in https://github.com/dbt-labs/dbt-core/issues/10305Acceptance criteria
Use
git tag --no-column
instead ofgit tag --list
.Suggested Tests
Impact to Other Teams
Should not have impact to other teams
Will backports be required?
No
Context
As described in https://github.com/dbt-labs/dbt-core/issues/10305#issuecomment-2171943583, if a user updates their git client to always use columnar output like the following, it will break
dbt deps
:So in order to make
dbt deps
more resilient, we could update this to be:The thing to be careful of is git clients that might not have the
--no-column
flag available.It looks like
--no-column
was introduced in v1.7.11 by https://github.com/git/git/commit/d96e3c150f2b4508f2e7d23ce9183d5b807c2155 around June 2012, so we might be okay there.