Skip to content

Commit d8a4d39

Browse files
authored
Merge pull request #330 from glanceapp/release/v0.7.0
Release/v0.7.0
2 parents 85b8ee4 + 0d69667 commit d8a4d39

File tree

171 files changed

+8635
-4025
lines changed

Some content is hidden

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

171 files changed

+8635
-4025
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# Only add necessary files to the Docker build context (Dockerfiles are always included implicitly)
66
!/build/
77
!/internal/
8+
!/pkg/
89
!/go.mod
910
!/go.sum
1011
!main.go
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Bug report
2+
description: Let us know if something isn't working as expected
3+
labels: ["bug report"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
> [!NOTE]
9+
>
10+
> Do not prefix your title with "[BUG]", "[Bug report]", etc., a label will be added automatically.
11+
12+
If you're unsure whether you're experiencing a bug or not, consider using the [Discussions](https://github.com/glanceapp/glance/discussions) or [Discord](https://discord.com/invite/7KQ7Xa9kJd) to ask for help.
13+
14+
Please include only the information you think is relevant to the bug:
15+
16+
* How did you install Glance? (Docker container, manual binary install, etc)
17+
* Which version of Glance are you using?
18+
* Include the relevant parts of your `glance.yml` if applicable (widget, data source, properties used, etc)
19+
* Include any relevant logs or screenshots if applicable
20+
* Is the issue specific to a certain browser or OS?
21+
* Steps to reliably reproduce the issue
22+
* Are you hosting Glance on a VPS?
23+
* Anything else you think might be relevant
24+
25+
**No need to copy the above list into your description, it's just a guide to help you provide the most useful information.**
26+
27+
- type: textarea
28+
id: description
29+
validations:
30+
required: true
31+
attributes:
32+
label: Description
33+
34+
- type: markdown
35+
attributes:
36+
value: |
37+
Thank you for taking the time to submit a bug report.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Discussions
4+
url: https://github.com/glanceapp/glance/discussions
5+
about: For help, feedback, guides, resources and more
6+
- name: Discord
7+
url: https://discord.com/invite/7KQ7Xa9kJd
8+
about: Much like the discussions but more chatty
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Feature request
2+
description: Share your ideas for new features or improvements
3+
labels: ["feature request"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
> [!NOTE]
9+
>
10+
> Do not prefix your title with "[REQUEST]", "[Feature request]", etc., a label will be added automatically.
11+
12+
Please provide a detailed description of what the feature would do and what it would look like:
13+
14+
* What problem would this feature solve?
15+
* Are there any potential downsides to this feature?
16+
* If applicable, what would the configuration for this feature look like?
17+
* Are there any existing examples of this feature in other software?
18+
* If applicable, include any external documentation required to implement this feature
19+
* Anything else you think might be relevant
20+
21+
**No need to copy the above list into your description, it's just a guide to help you provide the most useful information.**
22+
23+
- type: textarea
24+
id: description
25+
validations:
26+
required: true
27+
attributes:
28+
label: Description
29+
30+
- type: markdown
31+
attributes:
32+
value: |
33+
Thank you for taking the time to submit your idea.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
<!--
2-
3-
If your pull request adds new features or changes existing ones please use the latest release/* branch as the base.
4-
5-
Documentation updates (including new themes) can be submitted to the main branch.
6-
7-
-->
1+
<!-- If your pull request adds new features, changes existing ones or fixes any bugs, please use the dev branch as the base, otherwise use the main branch -->

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/assets
22
/build
33
/playground
4-
glance*.yml
4+
/.idea
5+
/glance*.yml

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
FROM golang:1.22.5-alpine3.20 AS builder
1+
FROM golang:1.23.6-alpine3.21 AS builder
22

33
WORKDIR /app
44
COPY . /app
55
RUN CGO_ENABLED=0 go build .
66

7-
FROM alpine:3.20
7+
FROM alpine:3.21
88

99
WORKDIR /app
1010
COPY --from=builder /app/glance .
1111

12+
HEALTHCHECK --timeout=10s --start-period=60s --interval=60s \
13+
CMD wget --spider -q http://localhost:8080/api/healthz
14+
1215
EXPOSE 8080/tcp
13-
ENTRYPOINT ["/app/glance"]
16+
ENTRYPOINT ["/app/glance", "--config", "/app/config/glance.yml"]

Dockerfile.goreleaser

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
FROM alpine:3.20
1+
FROM alpine:3.21
22

33
WORKDIR /app
44
COPY glance .
55

6-
EXPOSE 8080/tcp
6+
HEALTHCHECK --timeout=10s --start-period=60s --interval=60s \
7+
CMD wget --spider -q http://localhost:8080/api/healthz
78

8-
ENTRYPOINT ["/app/glance"]
9+
EXPOSE 8080/tcp
10+
ENTRYPOINT ["/app/glance", "--config", "/app/config/glance.yml"]

0 commit comments

Comments
 (0)