Skip to content

Commit 7cbc2a8

Browse files
Merge main into unifyDockerDevcontainer
1 parent 379c4e7 commit 7cbc2a8

File tree

163 files changed

+1196
-1298
lines changed

Some content is hidden

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

163 files changed

+1196
-1298
lines changed

.github/ISSUE_TEMPLATE/bug-report.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ body:
4141
attributes:
4242
label: Version
4343
description: |
44-
What [version of the firmware](https://github.com/JF002/InfiniTime/blob/develop/doc/gettingStarted/gettingStarted-1.0.md#how-to-check-the-version-of-infinitime-and-the-bootloader) are you running?
45-
If you are running an older version, please consider [updating to the latest firmware](https://github.com/JF002/InfiniTime/blob/develop/doc/gettingStarted/gettingStarted-1.0.md#how-to-update-your-pinetime).
44+
What [version of the firmware](https://github.com/InfiniTimeOrg/InfiniTime/blob/main/doc/gettingStarted/updating-software.md#checking-the-version-of-infinitime) are you running?
45+
If you are running an older version, please consider [updating to the latest firmware](https://github.com/InfiniTimeOrg/InfiniTime/blob/main/doc/gettingStarted/updating-software.md#updating-with-companion-apps).
4646
If you are running directly from git, specify the branch or the commit hash directly.
47-
placeholder: "Ex. v1.6.0 or develop or fc922b60"
47+
placeholder: "Ex. v1.11.0 or main or fc922b60"
4848
validations:
4949
required: true
5050
- type: input

.github/ISSUE_TEMPLATE/issue-report.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ body:
2323
attributes:
2424
label: Version
2525
description: |
26-
What [version of the firmware](https://github.com/JF002/InfiniTime/blob/develop/doc/gettingStarted/gettingStarted-1.0.md#how-to-check-the-version-of-infinitime-and-the-bootloader) are you running?
27-
If you are running an older version, please consider [updating to the latest firmware](https://github.com/JF002/InfiniTime/blob/develop/doc/gettingStarted/gettingStarted-1.0.md#how-to-update-your-pinetime).
26+
What [version of the firmware](https://github.com/InfiniTimeOrg/InfiniTime/blob/main/doc/gettingStarted/updating-software.md#checking-the-version-of-infinitime) are you running?
27+
If you are running an older version, please consider [updating to the latest firmware](https://github.com/InfiniTimeOrg/InfiniTime/blob/main/doc/gettingStarted/updating-software.md#updating-with-companion-apps).
2828
If you are running directly from git, specify the branch or the commit hash directly.
29-
placeholder: Ex. v1.6.0 or develop or fc922b60
29+
placeholder: Ex. v1.11.0 or main or fc922b60
3030
validations:
3131
required: false

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Build and push Docker image
22

33
on:
44
push:
5-
branches: [ develop ]
5+
branches: [ main ]
66
paths:
77
- 'docker/**'
88
pull_request:
9-
branches: [ develop ]
9+
branches: [ main ]
1010
paths:
1111
- 'docker/**'
1212
# Allows you to run this workflow manually from the Actions tab

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Code formatting
22

33
on:
44
pull_request:
5-
branches: [ develop ]
5+
branches: [ main ]
66
paths:
77
- '**.cpp'
88
- '**.h'

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: CI
33
# Run this workflow whenever the build may be affected
44
on:
55
push:
6-
branches: [ master, develop ]
6+
branches: [ main ]
77
paths-ignore:
88
- 'doc/**'
99
- '**.md'
1010
pull_request:
11-
branches: [ develop ]
11+
branches: [ main ]
1212
paths-ignore:
1313
- 'doc/**'
1414
- '**.md'

.github/workflows/pr-comment.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: PR comment
55

66
on:
77
pull_request_target:
8-
branches: [ develop ]
8+
branches: [ main ]
99
paths-ignore:
1010
- 'doc/**'
1111
- '**.md'
@@ -23,9 +23,16 @@ jobs:
2323
ref: ${{ github.event.pull_request.head.sha }}
2424

2525
- if: steps.wait-for-build.outputs.conclusion != 'success'
26-
run: exit 1
26+
run: |
27+
tee comment << EOF
28+
Build checks have not completed. Possible reasons for this are:
29+
1. The checks need to be approved by a maintainer
30+
2. The branch has conflicts
31+
3. The firmware build has failed
32+
EOF
2733
28-
- name: Download artifact
34+
- if: steps.wait-for-build.outputs.conclusion == 'success'
35+
name: Download artifact
2936
uses: dawidd6/action-download-artifact@bd10f381a96414ce2b13a11bfa89902ba7cea07f
3037
with:
3138
workflow: main.yml
@@ -39,7 +46,6 @@ jobs:
3946
with:
4047
issue-number: ${{ github.event.pull_request.number }}
4148
comment-author: 'github-actions[bot]'
42-
body-includes: Build size and comparison to
4349

4450
- name: Create or update comment
4551
uses: peter-evans/create-or-update-comment@5adcb0bb0f9fb3f95ef05400558bdb3f329ee808

.gitmodules

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
[submodule "src/libs/lvgl"]
22
path = src/libs/lvgl
3-
url = https://github.com/joaquimorg/lvgl.git
3+
url = https://github.com/InfiniTimeOrg/lvgl.git
44
[submodule "src/libs/littlefs"]
55
path = src/libs/littlefs
66
url = https://github.com/littlefs-project/littlefs.git
77
[submodule "src/libs/QCBOR"]
88
path = src/libs/QCBOR
99
url = https://github.com/laurencelundblade/QCBOR.git
10-
[submodule "src/libs/date"]
11-
path = src/libs/date
12-
url = https://github.com/HowardHinnant/date.git

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
22

33
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose Debug or Release")
44

5-
project(pinetime VERSION 1.11.0 LANGUAGES C CXX ASM)
5+
project(pinetime VERSION 1.12.0 LANGUAGES C CXX ASM)
66

77
set(CMAKE_C_STANDARD 99)
88
set(CMAKE_CXX_STANDARD 14)

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Here are things you can do to help.
66
- [Write and improve documentation](#documentation)
77
- [Fix bugs, add functionalities and improve the code](#how-to-create-a-pull-request)
88
- Participate in the discussions within issues and PRs. Your feedback is appreciated!
9-
- Review pull requests. Follow the instructions [here](maintainer-guide.md#reviewing-prs)
9+
- Review pull requests. Follow the instructions [here](doc/maintainer-guide.md#reviewing-prs)
1010

1111
## Documentation
1212

@@ -22,7 +22,7 @@ The workflow is based on [GitHub flow](https://docs.github.com/en/get-started/qu
2222

2323
To create a pull request,
2424
you need a [fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks) of the repo.
25-
Create a new [branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-branches) from develop,
25+
Create a new [branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-branches) from main,
2626
make changes in this branch,
2727
[commit](https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/about-commits) them,
2828
and create a [pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request).
@@ -31,11 +31,11 @@ and create a [pull request](https://docs.github.com/en/pull-requests/collaborati
3131

3232
When making changes to the firmware:
3333

34-
- Consider if your feature aligns with the [InfiniTime vision](InfiniTimeVision.md)
34+
- Consider if your feature aligns with the [InfiniTime vision](doc/InfiniTimeVision.md)
3535
- Test your changes on a PineTime or InfiniSim
36-
- Make sure the code conforms to the [coding conventions](coding-convention.md)
36+
- Make sure the code conforms to the [coding conventions](doc/coding-convention.md)
3737

38-
You can also check the [maintainer's guide](maintainer-guide.md)
38+
You can also check the [maintainer's guide](doc/maintainer-guide.md)
3939
for what maintainers will look at in PRs.
4040

4141
### Commit conventions

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# [InfiniTime](https://github.com/InfiniTimeOrg/InfiniTime)
22

3-
[![Build PineTime Firmware](https://github.com/InfiniTimeOrg/InfiniTime/workflows/Build%20PineTime%20Firmware/badge.svg?branch=master)](https://github.com/InfiniTimeOrg/InfiniTime/actions)
4-
53
![InfiniTime logo](doc/logo/infinitime-logo-small.jpg "InfiniTime Logo")
64

75
Fast open-source firmware for the [PineTime smartwatch](https://www.pine64.org/pinetime/) with many features, written in modern C++.

0 commit comments

Comments
 (0)