Skip to content

Commit c5f8c7d

Browse files
committed
Merge branch 'main' into api_generate_repo
2 parents 12cd28e + efeb8e8 commit c5f8c7d

File tree

227 files changed

+4157
-1586
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+4157
-1586
lines changed

.drone.yml

Lines changed: 185 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ steps:
404404

405405
- name: update
406406
pull: default
407-
image: alpine:3.13
407+
image: alpine:3.14
408408
commands:
409409
- ./build/update-locales.sh
410410

@@ -691,7 +691,7 @@ steps:
691691

692692
---
693693
kind: pipeline
694-
name: docker-linux-amd64-release
694+
name: docker-linux-amd64-release-version
695695

696696
platform:
697697
os: linux
@@ -703,7 +703,6 @@ depends_on:
703703

704704
trigger:
705705
ref:
706-
- refs/heads/main
707706
- "refs/tags/**"
708707
event:
709708
exclude:
@@ -717,7 +716,7 @@ steps:
717716

718717
- name: publish
719718
pull: always
720-
image: plugins/docker:linux-amd64
719+
image: techknowlogick/drone-docker:latest
721720
settings:
722721
auto_tag: true
723722
auto_tag_suffix: linux-amd64
@@ -734,7 +733,7 @@ steps:
734733
- pull_request
735734

736735
- name: publish-rootless
737-
image: plugins/docker:linux-amd64
736+
image: techknowlogick/drone-docker:latest
738737
settings:
739738
dockerfile: Dockerfile.rootless
740739
auto_tag: true
@@ -754,6 +753,70 @@ steps:
754753
exclude:
755754
- pull_request
756755

756+
---
757+
kind: pipeline
758+
name: docker-linux-amd64-release
759+
760+
platform:
761+
os: linux
762+
arch: amd64
763+
764+
depends_on:
765+
- testing-amd64
766+
- testing-arm64
767+
768+
trigger:
769+
ref:
770+
- refs/heads/main
771+
event:
772+
exclude:
773+
- cron
774+
775+
steps:
776+
- name: fetch-tags
777+
image: docker:git
778+
commands:
779+
- git fetch --tags --force
780+
781+
- name: publish
782+
pull: always
783+
image: techknowlogick/drone-docker:latest
784+
settings:
785+
auto_tag: false
786+
tags: dev-linux-amd64
787+
repo: gitea/gitea
788+
build_args:
789+
- GOPROXY=off
790+
password:
791+
from_secret: docker_password
792+
username:
793+
from_secret: docker_username
794+
when:
795+
event:
796+
exclude:
797+
- pull_request
798+
799+
- name: publish-rootless
800+
image: techknowlogick/drone-docker:latest
801+
settings:
802+
dockerfile: Dockerfile.rootless
803+
auto_tag: false
804+
tags: dev-linux-amd64-rootless
805+
repo: gitea/gitea
806+
build_args:
807+
- GOPROXY=off
808+
password:
809+
from_secret: docker_password
810+
username:
811+
from_secret: docker_username
812+
environment:
813+
PLUGIN_MIRROR:
814+
from_secret: plugin_mirror
815+
when:
816+
event:
817+
exclude:
818+
- pull_request
819+
757820
---
758821
kind: pipeline
759822
name: docker-linux-arm64-dry-run
@@ -772,7 +835,7 @@ trigger:
772835
steps:
773836
- name: dryrun
774837
pull: always
775-
image: plugins/docker:linux-arm64
838+
image: techknowlogick/drone-docker:latest
776839
settings:
777840
dry_run: true
778841
repo: gitea/gitea
@@ -788,7 +851,7 @@ steps:
788851

789852
---
790853
kind: pipeline
791-
name: docker-linux-arm64-release
854+
name: docker-linux-arm64-release-version
792855

793856
platform:
794857
os: linux
@@ -800,7 +863,6 @@ depends_on:
800863

801864
trigger:
802865
ref:
803-
- refs/heads/main
804866
- "refs/tags/**"
805867
event:
806868
exclude:
@@ -814,7 +876,7 @@ steps:
814876

815877
- name: publish
816878
pull: always
817-
image: plugins/docker:linux-arm64
879+
image: techknowlogick/drone-docker:latest
818880
settings:
819881
auto_tag: true
820882
auto_tag_suffix: linux-arm64
@@ -834,7 +896,7 @@ steps:
834896
- pull_request
835897

836898
- name: publish-rootless
837-
image: plugins/docker:linux-arm64
899+
image: techknowlogick/drone-docker:latest
838900
settings:
839901
dockerfile: Dockerfile.rootless
840902
auto_tag: true
@@ -856,7 +918,73 @@ steps:
856918

857919
---
858920
kind: pipeline
859-
name: docker-manifest
921+
name: docker-linux-arm64-release
922+
923+
platform:
924+
os: linux
925+
arch: arm64
926+
927+
depends_on:
928+
- testing-amd64
929+
- testing-arm64
930+
931+
trigger:
932+
ref:
933+
- refs/heads/main
934+
event:
935+
exclude:
936+
- cron
937+
938+
steps:
939+
- name: fetch-tags
940+
image: docker:git
941+
commands:
942+
- git fetch --tags --force
943+
944+
- name: publish
945+
pull: always
946+
image: techknowlogick/drone-docker:latest
947+
settings:
948+
auto_tag: false
949+
tags: dev-linux-arm64
950+
repo: gitea/gitea
951+
build_args:
952+
- GOPROXY=off
953+
password:
954+
from_secret: docker_password
955+
username:
956+
from_secret: docker_username
957+
environment:
958+
PLUGIN_MIRROR:
959+
from_secret: plugin_mirror
960+
when:
961+
event:
962+
exclude:
963+
- pull_request
964+
965+
- name: publish-rootless
966+
image: techknowlogick/drone-docker:latest
967+
settings:
968+
dockerfile: Dockerfile.rootless
969+
auto_tag: false
970+
tags: dev-linux-arm64-rootless
971+
repo: gitea/gitea
972+
build_args:
973+
- GOPROXY=off
974+
password:
975+
from_secret: docker_password
976+
username:
977+
from_secret: docker_username
978+
environment:
979+
PLUGIN_MIRROR:
980+
from_secret: plugin_mirror
981+
when:
982+
event:
983+
exclude:
984+
- pull_request
985+
---
986+
kind: pipeline
987+
name: docker-manifest-version
860988

861989
platform:
862990
os: linux
@@ -888,12 +1016,54 @@ steps:
8881016

8891017
trigger:
8901018
ref:
891-
- refs/heads/main
8921019
- "refs/tags/**"
8931020
event:
8941021
exclude:
8951022
- cron
8961023

1024+
depends_on:
1025+
- docker-linux-amd64-release-version
1026+
- docker-linux-arm64-release-version
1027+
1028+
---
1029+
kind: pipeline
1030+
name: docker-manifest
1031+
1032+
platform:
1033+
os: linux
1034+
arch: amd64
1035+
1036+
steps:
1037+
- name: manifest-rootless
1038+
pull: always
1039+
image: plugins/manifest
1040+
settings:
1041+
auto_tag: false
1042+
ignore_missing: true
1043+
spec: docker/manifest.rootless.tmpl
1044+
password:
1045+
from_secret: docker_password
1046+
username:
1047+
from_secret: docker_username
1048+
1049+
- name: manifest
1050+
image: plugins/manifest
1051+
settings:
1052+
auto_tag: false
1053+
ignore_missing: true
1054+
spec: docker/manifest.tmpl
1055+
password:
1056+
from_secret: docker_password
1057+
username:
1058+
from_secret: docker_username
1059+
1060+
trigger:
1061+
ref:
1062+
- refs/heads/main
1063+
event:
1064+
exclude:
1065+
- cron
1066+
8971067
depends_on:
8981068
- docker-linux-amd64-release
8991069
- docker-linux-arm64-release
@@ -927,7 +1097,10 @@ depends_on:
9271097
- release-latest
9281098
- docker-linux-amd64-release
9291099
- docker-linux-arm64-release
1100+
- docker-linux-amd64-release-version
1101+
- docker-linux-arm64-release-version
9301102
- docker-manifest
1103+
- docker-manifest-version
9311104
- docs
9321105

9331106
steps:

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ This changelog goes through all the changes that have been made in each release
44
without substantial changes to our git log; to see the highlights of what has
55
been added to each release, please refer to the [blog](https://blog.gitea.io).
66

7+
## [1.14.4](https://github.com/go-gitea/gitea/releases/tag/v1.14.4) - 2021-07-06
8+
9+
* BUGFIXES
10+
* Fix relative links in postprocessed images (#16334) (#16340)
11+
* Fix list_options GetStartEnd (#16303) (#16305)
12+
* Fix API to use author for commits instead of committer (#16276) (#16277)
13+
* Handle misencoding of login_source cfg in mssql (#16268) (#16275)
14+
* Fixed issues not updated by commits (#16254) (#16261)
15+
* Improve efficiency in FindRenderizableReferenceNumeric and getReference (#16251) (#16255)
16+
* Use html.Parse rather than html.ParseFragment (#16223) (#16225)
17+
* Fix milestone counters on new issue (#16183) (#16224)
18+
* reqOrgMembership calls need to be preceded by reqToken (#16198) (#16219)
19+
720
## [1.14.3](https://github.com/go-gitea/gitea/releases/tag/v1.14.3) - 2021-06-18
821

922
* SECURITY

CONTRIBUTING.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
## Table of Contents
44

55
- [Contribution Guidelines](#contribution-guidelines)
6+
- [Table of Contents](#table-of-contents)
67
- [Introduction](#introduction)
78
- [Bug reports](#bug-reports)
89
- [Discuss your design](#discuss-your-design)
910
- [Testing redux](#testing-redux)
1011
- [Vendoring](#vendoring)
1112
- [Translation](#translation)
13+
- [Building Gitea](#building-gitea)
1214
- [Code review](#code-review)
1315
- [Styleguide](#styleguide)
1416
- [Design guideline](#design-guideline)
@@ -226,18 +228,18 @@ We assume in good faith that the information you provide is legally binding.
226228

227229
We adopted a release schedule to streamline the process of working
228230
on, finishing, and issuing releases. The overall goal is to make a
229-
minor release every two months, which breaks down into one month of
231+
minor release every three or four months, which breaks down into two or three months of
230232
general development followed by one month of testing and polishing
231233
known as the release freeze. All the feature pull requests should be
232-
merged in the first month of one release period. And, during the frozen
233-
period, a corresponding release branch is open for fixes backported from
234-
master. Release candidates are made during this period for user testing to
234+
merged before feature freeze. And, during the frozen period, a corresponding
235+
release branch is open for fixes backported from main branch. Release candidates
236+
are made during this period for user testing to
235237
obtain a final version that is maintained in this branch. A release is
236238
maintained by issuing patch releases to only correct critical problems
237239
such as crashes or security issues.
238240

239-
Major release cycles are bimonthly. They always begin on the 25th and end on
240-
the 24th (i.e., the 25th of December to February 24th).
241+
Major release cycles are seasonal. They always begin on the 25th and end on
242+
the 24th (i.e., the 25th of December to March 24th).
241243

242244
During a development cycle, we may also publish any necessary minor releases
243245
for the previous version. For example, if the latest, published release is

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
###################################
33
#Build stage
4-
FROM golang:1.16-alpine3.13 AS build-env
4+
FROM golang:1.16-alpine3.14 AS build-env
55

66
ARG GOPROXY
77
ENV GOPROXY ${GOPROXY:-direct}
@@ -25,7 +25,7 @@ RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \
2525
# Begin env-to-ini build
2626
RUN go build contrib/environment-to-ini/environment-to-ini.go
2727

28-
FROM alpine:3.13
28+
FROM alpine:3.14
2929
LABEL maintainer="maintainers@gitea.io"
3030

3131
EXPOSE 22 3000

0 commit comments

Comments
 (0)