Skip to content

add TAGS variable prereq on make targets that use it #10219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 11, 2020

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Feb 10, 2020

Write out TAGS to .make_evidence/tags and compare it to the previous invocation. If they differ, insert the evidence file into the prereqs of targets that use TAGS. I made it .PHONY so it always builds.

I did not include the prereq on release tasks, assuming they will always do a clean build.

Fixes: #10196

@silverwind silverwind force-pushed the tag-evidence branch 3 times, most recently from 820ef7f to b7c3184 Compare February 10, 2020 21:18
Write out TAGS to .make_evidence/tags and compare it to the previous
invocation. If they differ, insert the evidence file into the prereqs
of targets that use TAGS. I made it .PHONY so it always builds.

I did not include the prereq on release tasks, asssuming the will always
do a clean build.

Fixes: go-gitea#10196
@codecov-io
Copy link

codecov-io commented Feb 10, 2020

Codecov Report

Merging #10219 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10219      +/-   ##
==========================================
+ Coverage   43.64%   43.64%   +<.01%     
==========================================
  Files         576      576              
  Lines       79716    79716              
==========================================
+ Hits        34791    34794       +3     
+ Misses      40627    40625       -2     
+ Partials     4298     4297       -1
Impacted Files Coverage Δ
services/pull/temp_repo.go 31.62% <0%> (ø) ⬆️
modules/queue/unique_queue_disk_channel.go 54.48% <0%> (+1.92%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b5418a6...76faf20. Read the comment docs.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 10, 2020
Copy link
Member

@guillep2k guillep2k left a comment

Choose a reason for hiding this comment

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

Nice! 👍

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Feb 10, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 10, 2020
@lafriks lafriks added topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Feb 10, 2020
@lafriks lafriks added this to the 1.12.0 milestone Feb 10, 2020
@sapk
Copy link
Member

sapk commented Feb 11, 2020

wake up LGTM

@sapk sapk merged commit d9c7998 into go-gitea:master Feb 11, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make: 'go build' does not run when TAGS change
7 participants