Skip to content

Conversation

@WhyNotHugo
Copy link
Contributor

This allows downstream distributions to builds from tarballs which lack any git metadata.

@ammen99
Copy link
Owner

ammen99 commented Aug 23, 2023

I am not sure, isn't it enough to just set check: false in the git commands?

@WhyNotHugo
Copy link
Contributor Author

Setting check: false would work. I don't have much context as to why this was changed; it happened in #193

@ammen99
Copy link
Owner

ammen99 commented Aug 23, 2023

I'd prefer to set check: false then, we do a check whether the command succeeds anyway.

WhyNotHugo added a commit to WhyNotHugo/wf-recorder that referenced this pull request Aug 23, 2023
This allows downstream distributions to builds from tarballs which lack
any git metadata.

See: ammen99#226
@WhyNotHugo WhyNotHugo force-pushed the build-from-tarballs branch from 78e5dc4 to 6d0afc0 Compare August 23, 2023 12:46
@WhyNotHugo
Copy link
Contributor Author

Tested via:

mv .git _git
meson build
meson compile -C build
mv _git .git
git clean -xdf
meson build
meson compile -C build

@ammen99
Copy link
Owner

ammen99 commented Aug 23, 2023

Please write out check: false explicitly :)
Otherwise lgtm.

@WhyNotHugo WhyNotHugo force-pushed the build-from-tarballs branch from 6d0afc0 to 8f9f058 Compare August 23, 2023 12:53
@WhyNotHugo
Copy link
Contributor Author

Done

This allows downstream distributions to builds from tarballs which lack
any git metadata.

See: ammen99#226
Copy link
Owner

@ammen99 ammen99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ammen99 ammen99 merged commit f165b35 into ammen99:master Aug 23, 2023
@WhyNotHugo WhyNotHugo deleted the build-from-tarballs branch August 23, 2023 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants