Skip to content

Conversation

@ethantkoenig
Copy link
Member

@ethantkoenig ethantkoenig commented Aug 4, 2017

A short-term fix for #2197.

Fixing the underlying problem will involve changing the SaveTo(..) method in the go-ini/ini package, but this will at least

  1. Let Docker users run gitea in the meantime
  2. Mitigate the problem enough to not block the 1.2.0 release

Fixes #2197. Updates the SaveTo(..) method in the go-ini/ini package. For the sake of not blocking the 1.2.0 release, I've temporarily updated the dependency to a fork. Once the fix to the SaveTo(..) method is merged into the main repository (go-ini/ini#115), we can revert.

@tboerger tboerger added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 4, 2017
@lunny lunny added the type/bug label Aug 4, 2017
@lunny lunny added this to the 1.2.0 milestone Aug 4, 2017
@sapk
Copy link
Member

sapk commented Aug 4, 2017

Why not updating vendor to migrate to a temporary fork if the issue take to much time?(https://github.com/kardianos/govendor/blob/master/doc/faq.md#q-ive-forked-a-package-and-i-havent-upstreamed-the-changes-yet-what-should-i-do)
This would avoid ignoring error, no change on gitea code, and be revert when change is in upstream.

@ethantkoenig ethantkoenig changed the title Don't quit if fail to write config Temporarily patch go-ini/ini with fork Aug 5, 2017
@lafriks
Copy link
Member

lafriks commented Aug 5, 2017

I think that go-ini/ini fork with that change should be moved under gitea org

@ethantkoenig
Copy link
Member Author

@lafriks Done

@sapk
Copy link
Member

sapk commented Aug 6, 2017

LGTM

@tboerger tboerger 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 Aug 6, 2017
@lafriks
Copy link
Member

lafriks commented Aug 6, 2017

LGTM

@tboerger tboerger 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 Aug 6, 2017
@lunny lunny merged commit 27798c3 into go-gitea:master Aug 7, 2017
@ethantkoenig ethantkoenig deleted the fix/docker_ini branch August 13, 2017 23:00
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 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. type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot boot docker image when mount a custom app.ini configuration

5 participants