Skip to content

Commit 937de43

Browse files
LinkinStarsshuashuaikelvinkuohgaolsy-records
authored
Release/1.2.5 (#759)
Signed-off-by: Adam Vollrath <[email protected]> Co-authored-by: shuai <[email protected]> Co-authored-by: kelvinkuo <[email protected]> Co-authored-by: hgaol <[email protected]> Co-authored-by: sy-records <[email protected]> Co-authored-by: Adam Vollrath <[email protected]> Co-authored-by: kumfo <[email protected]> Co-authored-by: Yang Wong <yang wang> Co-authored-by: hbsciw <[email protected]>
1 parent 52e0a4c commit 937de43

File tree

145 files changed

+3632
-1410
lines changed

Some content is hidden

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

145 files changed

+3632
-1410
lines changed

.github/ISSUE_TEMPLATE/config.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
118
blank_issues_enabled: true
219
contact_links:
320
- name: Support

.github/workflows/uffizzi-build.yml

-115
This file was deleted.

.github/workflows/uffizzi-preview.yml

-113
This file was deleted.

Dockerfile

+6-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ RUN mkdir -p /data/uploads && chmod 777 /data/uploads \
4747
FROM alpine
4848
LABEL maintainer="[email protected]"
4949

50-
ENV TZ "Asia/Shanghai"
50+
ARG TIMEZONE
51+
ENV TIMEZONE=${TIMEZONE:-"Asia/Shanghai"}
52+
5153
RUN apk update \
5254
&& apk --no-cache add \
5355
bash \
@@ -58,7 +60,9 @@ RUN apk update \
5860
openssh \
5961
sqlite \
6062
gnupg \
61-
&& echo "Asia/Shanghai" > /etc/timezone
63+
tzdata \
64+
&& ln -sf /usr/share/zoneinfo/${TIMEZONE} /etc/localtime \
65+
&& echo "${TIMEZONE}" > /etc/timezone
6266

6367
COPY --from=golang-builder /usr/bin/answer /usr/bin/answer
6468
COPY --from=golang-builder /data /data

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: build clean ui
22

3-
VERSION=1.2.1
3+
VERSION=1.2.5
44
BIN=answer
55
DIR_SRC=./cmd/answer
66
DOCKER_CMD=docker

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To learn more about the project, visit [answer.apache.org](https://answer.apache
2323
### Running with docker
2424

2525
```bash
26-
docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:1.2.1
26+
docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:1.2.5
2727
```
2828

2929
For more information, see [Installation](https://answer.apache.org/docs/installation).
@@ -43,11 +43,17 @@ You can also check out the [plugins here](https://answer.apache.org/plugins).
4343
- Golang >= 1.18
4444
- Node.js >= 16.17
4545
- pnpm >= 8
46+
- mockgen >= 1.6.0
47+
- wire >= 0.5.0
4648

4749
### Build
4850

4951
```bash
52+
# install wire and mockgen for building
53+
$ make generate
54+
# install frontend dependencies and build
5055
$ make ui
56+
# install backend dependencies and build
5157
$ make build
5258
```
5359

cmd/wire_gen.go

+7-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)