Skip to content

Conversation

lunny
Copy link
Member

@lunny lunny commented Jul 2, 2019

Since we have store all the dependencies on vendor, I think we should also use them when run go generate. This will speed up make generate process and reduce failure possible when CI runs.

@lunny lunny added the topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile label Jul 2, 2019
@lunny lunny added this to the 1.9.0 milestone Jul 2, 2019
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jul 2, 2019
@lunny
Copy link
Member Author

lunny commented Jul 2, 2019

@techknowlogick Maybe we should do that on v1.10, I will move this to v1.10 so that we could not change the minimal Golang requirement on v1.9.

@lunny lunny modified the milestones: 1.9.0, 1.10.0 Jul 2, 2019
@codecov-io
Copy link

codecov-io commented Jul 2, 2019

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7340      +/-   ##
==========================================
+ Coverage   41.23%   41.23%   +<.01%     
==========================================
  Files         468      468              
  Lines       63337    63337              
==========================================
+ Hits        26114    26116       +2     
- Misses      33812    33813       +1     
+ Partials     3411     3408       -3
Impacted Files Coverage Δ
models/unit.go 62.16% <0%> (-5.41%) ⬇️
modules/log/event.go 64.61% <0%> (-1.03%) ⬇️
models/gpg_key.go 56.66% <0%> (+0.83%) ⬆️
modules/process/manager.go 81.15% <0%> (+4.34%) ⬆️

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 f369788...a49cfed. Read the comment docs.

@lunny lunny force-pushed the lunny/fix_generate branch from c86e8ee to 05f2153 Compare July 7, 2019 02:04
@techknowlogick techknowlogick merged commit 87404d7 into go-gitea:master Jul 7, 2019
@lunny lunny deleted the lunny/fix_generate branch July 7, 2019 06:53
jeffliu27 pushed a commit to jeffliu27/gitea that referenced this pull request Jul 18, 2019
* use vendors when go generate

* update docs about golang minimal requirement from 1.9 to 1.11

* fix build
@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/need 2 This PR needs two approvals by maintainers to be considered for merging. 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.

4 participants