Skip to content
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

Unfortunately MemProvider Init does not actually Init properly #6692

Merged
merged 4 commits into from
Apr 20, 2019

Conversation

zeripath
Copy link
Contributor

Worse all of its members are private and you cannot update them.
Simple fix copy it in to modules session.

Fix #6691

Not sure why our tests didn't catch this.

Signed-off-by: Andrew Thornton art27@cantab.net

Worse all of its members are private and you cannot update them.
Simple fix copy it in to modules session.

Signed-off-by: Andrew Thornton <art27@cantab.net>
@zeripath zeripath added type/bug issue/regression Issue needs no code to be fixed, only a description on how to fix it yourself backport/v1.8 labels Apr 20, 2019
@zeripath zeripath added this to the 1.9.0 milestone Apr 20, 2019
@gsantner
Copy link

thx for fast fix :D

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 20, 2019
@codecov-io
Copy link

Codecov Report

Merging #6692 into master will decrease coverage by 0.09%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #6692     +/-   ##
=========================================
- Coverage   40.88%   40.79%   -0.1%     
=========================================
  Files         420      421      +1     
  Lines       57453    57570    +117     
=========================================
- Hits        23490    23485      -5     
- Misses      30837    30959    +122     
  Partials     3126     3126
Impacted Files Coverage Δ
modules/session/virtual.go 56.07% <0%> (ø) ⬆️
modules/session/memory.go 0% <0%> (ø)
models/unit.go 0% <0%> (-14.29%) ⬇️
modules/process/manager.go 76.81% <0%> (-4.35%) ⬇️

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 6cb127d...268f47c. Read the comment docs.

@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 Apr 20, 2019
@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 Apr 20, 2019
@zeripath zeripath merged commit 3d5d2fa into go-gitea:master Apr 20, 2019
zeripath added a commit to zeripath/gitea that referenced this pull request Apr 20, 2019
…tea#6692)

* Unfortunately MemProvider Init does not actually Init properly

Worse all of its members are private and you cannot update them.
Simple fix copy it in to modules session.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix misspelling
zeripath added a commit that referenced this pull request Apr 20, 2019
#6693)

* Unfortunately MemProvider Init does not actually Init properly

Worse all of its members are private and you cannot update them.
Simple fix copy it in to modules session.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix misspelling
@zeripath zeripath deleted the fix-6691 branch April 20, 2019 15:16
@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
issue/regression Issue needs no code to be fixed, only a description on how to fix it yourself lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2019-04-20 build doesn't start ( session/memory.go VirtualSessionProvider segfault)
6 participants