[SAC] [OSGeo] #2371: Upgrade gitea to version 1.9.*

#2371: Upgrade gitea to version 1.9.*
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2019-II
Component: Systems Admin | Keywords:
---------------------------+---------------------------------------
Gitea latest stable is now currently at version 1.9.4 and we are at 1.5
something.

I did a trial upgrade on tracsvn-dev and was able to upgrade it with some
minor stumbling issues with wget and other things not completely upgraded
when I upgraded to Jessie.

I plan to do another trial run with latest container backup from prod and
make sure I have the steps down part and how long it takes before I do it
on production.

Changes we get since 1.5 release is below:

Key ones I've noticed that people have been asking for

* Pull request review/approval and comment on code
  https://github.com/go-gitea/gitea/pull/3748

* Compare branches, commits and tags with each other

-- full feature list below
https://blog.gitea.io/2019/07/gitea-1.9.0-is-released/

{{{
Content API for Creating, Updating, Deleting Files (#6314)
Enable tls-alpn-01: Use certmanager provided TLSConfig for LetsEncrypt
(#7229)
Add command to convert mysql database from utf8 to utf8mb4 (#7144)
Fixes #2738 - Adds the /git/tags API endpoint (#7138)
Compare branches, commits and tags with each other (#6991)
Show Pull Request button or status of latest PR in branch list (#6990)
Repository avatars (#6986)
Show git-notes (#6984)
Add commit statuses reports on pull request view (#6845)
Number of commits ahead/behind in branch overview (#6695)
Add CLI commands to manage LDAP authentication source (#6681)
Add support for MS Teams webhooks (#6632)
OAuth2 Grant UI (#6625)
Add SUBJECT_PREFIX mailer config option (#6605)
Include custom configuration file in dump (#6516)
Add API for manipulating Git hooks (#6436)
Improve migrations to support migrating
milestones/labels/issues/comments/pullrequests (#6290)
Add option to blame files (#5721)
Implement Default Webhooks (#4299)
Telegram webhook (#4227)

}}}

https://blog.gitea.io/2019/07/gitea-1.8.0-is-released/

{{{
Add regenerate secret feature for oauth2 (#6291)
Expose issue stopwatch toggling via API (#5970)
Add other session providers (#5963)
Pull request conflict files detection (#5951)
Integrate OAuth2 Provider (#5378)
Implement “conversation lock” for issue comments (#5073)
Archive repos (#5009)
Discord Oauth2 support (#4476)
Allow to set organization visibility (public, internal, private) (#1763)
Added URL mapping for Release attachments like on github.com (#1707)
}}}

https://github.com/go-gitea/gitea/releases/tag/v1.7.0
{{{
FEATURE
Implement git refs API for listing references (branches, tags and other)
(#5354)
Approvals at Branch Protection (#5350)
Add raw blob endpoint to get objects by SHA ID (#5334)
Add api for user to create org (#5268)
Create AuthorizedKeysCommand (#5236)
User action heatmap (#5131)
Refactor heatmap to vue component (#5401)
Webhook for Pull Request approval/rejection (#5027)
Add command for migrating database (#4954)
Search keyword by splitting provided values by , (#4939)
Create Progressive Web App (#4730)
Give user a link to create PR after push (#4716)
Add rebase with merge commit merge style (#3844) (#4052)
}}}

https://github.com/go-gitea/gitea/releases/tag/v1.6.0
{{{
FEATURE
Add comment replies (#5147) (#5104)
Pull request review/approval and comment on code (#3748)
Added dependencies for issues (#2196) (#2531)
Add the ability to have built in themes in Gitea and provide dark theme
arc-green (#4198)
Add sudo functionality to the API (#4809)
Add oauth providers via cli (#4591)
Disable merging a WIP Pull request (#4529)
Force user to change password (#4489)
Add letsencrypt to Gitea (#4189)
Add push webhook support for mirrored repositories (#4127)
Add csv file render support defaultly (#4105)
Add Recaptcha functionality to Gitea (#4044)
}}}

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2371&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2371: Upgrade gitea to version 1.9.*
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2019-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------

Comment (by robe):

I'm starting the upgrade process now -- shouldn't be too much downtime.
Downtime I expect to be intermittent.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2371#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2371: Upgrade gitea to version 1.9.*
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2019-II
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):

* status: new => closed
* resolution: => fixed

Comment:

Gitea https://git.osgeo.org/gitea is now at 1.9.4

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2371#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.