What is the .user.yml file? What is its purpose?
Asked Answered
C

1

11

I'm starting with DBT. When I ran my project it created a .user.yml file. Its content:

{id: c8e8abd2-09a3-4699-b444-3ef7ee5b04e5}

It seems from this github issue that it's some kind of cookie, but I could not find any info anywhere on what its role is.

Can someone explain the purpose of this file? Should I add it to my .gitignore?

Chabot answered 6/3, 2020 at 14:5 Comment(0)
C
12

Just got answered on the dbt slack.

The file just contains a cookie for dbt's anonymous usage tracking. It happened to land in my repo because I placed my profiles.yml in my repo. (my credentials are in environment variables). But normally it's rather created in ~/.dbt

Chabot answered 6/3, 2020 at 15:50 Comment(2)
should it be added in the .gitignore?Ink
@Ink if it appears in your repo, yes you should gitignore itChabot

© 2022 - 2024 — McMap. All rights reserved.