Skip to content

Commit 1eb0caa

Browse files
authored
Merge branch 'sourcegit-scm:develop' into develop
2 parents 23458ff + 228daeb commit 1eb0caa

File tree

429 files changed

+22993
-12001
lines changed

Some content is hidden

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

429 files changed

+22993
-12001
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup .NET
4444
uses: actions/setup-dotnet@v4
4545
with:
46-
dotnet-version: 9.0.x
46+
dotnet-version: 10.0.x
4747
- name: Configure arm64 packages
4848
if: matrix.runtime == 'linux-arm64'
4949
run: |

.github/workflows/format-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up .NET
1919
uses: actions/setup-dotnet@v4
2020
with:
21-
dotnet-version: 9.0.x
21+
dotnet-version: 10.0.x
2222

2323
- name: Run formatting check
2424
run: dotnet format --verify-no-changes

.github/workflows/package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
name: sourcegit.${{ matrix.runtime }}
2323
path: build/SourceGit
2424
- name: Package
25-
shell: bash
25+
shell: pwsh
2626
env:
2727
VERSION: ${{ inputs.version }}
2828
RUNTIME: ${{ matrix.runtime }}
29-
run: ./build/scripts/package.windows.sh
29+
run: ./build/scripts/package.win.ps1
3030
- name: Upload package artifact
3131
uses: actions/upload-artifact@v4
3232
with:

.issuetracker

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[issuetracker "Github ISSUE"]
2+
regex = "#(\\d+)"
3+
url = https://github.com/sourcegit-scm/sourcegit/issues/$1

README.md

Lines changed: 43 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,26 @@
66
[![latest](https://img.shields.io/github/v/release/sourcegit-scm/sourcegit.svg)](https://github.com/sourcegit-scm/sourcegit/releases/latest)
77
[![downloads](https://img.shields.io/github/downloads/sourcegit-scm/sourcegit/total)](https://github.com/sourcegit-scm/sourcegit/releases)
88

9+
## Screenshots
10+
11+
* Dark Theme
12+
13+
![Theme Dark](./screenshots/theme_dark.png)
14+
15+
* Light Theme
16+
17+
![Theme Light](./screenshots/theme_light.png)
18+
19+
* Custom
20+
21+
You can find custom themes from [sourcegit-theme](https://github.com/sourcegit-scm/sourcegit-theme.git). And welcome to share your own themes.
22+
923
## Highlights
1024

1125
* Supports Windows/macOS/Linux
1226
* Opensource/Free
1327
* Fast
14-
* Deutsch/English/Español/Français/Italiano/Português/Русский/Українська/简体中文/繁體中文/日本語/தமிழ் (Tamil)
28+
* Deutsch/English/Español/Bahasa Indonesia/Français/Italiano/Português/Русский/Українська/简体中文/繁體中文/日本語/தமிழ் (Tamil)/한국어
1529
* Built-in light/dark themes
1630
* Customize theme
1731
* Visual commit graph
@@ -43,7 +57,9 @@
4357
* Issue Link
4458
* Workspace
4559
* Custom Action
60+
* Create PR on GitHub/Gitlab/Gitea/Gitee/Bitbucket...
4661
* Using AI to generate commit message (C# port of [anjerodev/commitollama](https://github.com/anjerodev/commitollama))
62+
* Built-in conventional commit message helper.
4763

4864
> [!WARNING]
4965
> **Linux** only tested on **Debian 12** on both **X11** & **Wayland**.
@@ -86,6 +102,12 @@ For **Windows** users:
86102
```
87103
* Pre-built binaries can be found in [Releases](https://github.com/sourcegit-scm/sourcegit/releases/latest)
88104

105+
> [!NOTE]
106+
> `git-flow` is no longer shipped with **Git for Windows** since `2.51.1`. You can use it by following these steps:
107+
> * Download [git-flow-next](https://github.com/gittower/git-flow-next/releases)
108+
> * Unzip & Rename the `git-flow-next` to `git-flow`
109+
> * Copy to `$GIT_INSTALL_DIR/cmd` or just add its path to you `PATH` directly
110+
89111
For **macOS** users:
90112

91113
* Thanks [@ybeapps](https://github.com/ybeapps) for making `SourceGit` available on `Homebrew`. You can simply install it with following command:
@@ -126,7 +148,7 @@ For **Linux** users:
126148

127149
If your distribution isn't using `dnf`, please refer to the documentation of your distribution on how to add an `rpm` repository.
128150
* `AppImage` files can be found on [AppImage hub](https://appimage.github.io/SourceGit/), `xdg-open` (`xdg-utils`) must be installed to support open native file manager.
129-
* Make sure [git-credential-manager](https://github.com/git-ecosystem/git-credential-manager/releases) is installed on your Linux.
151+
* Make sure [git-credential-manager](https://github.com/git-ecosystem/git-credential-manager/releases) or [git-credential-libsecret](https://pkgs.org/search/?q=git-credential-libsecret) is installed on your Linux.
130152
* Maybe you need to set environment variable `AVALONIA_SCREEN_SCALE_FACTORS`. See https://github.com/AvaloniaUI/Avalonia/wiki/Configuring-X11-per-monitor-DPI.
131153
* If you can NOT type accented characters, such as `ê`, `ó`, try to set the environment variable `AVALONIA_IM_MODULE` to `none`.
132154

@@ -155,7 +177,7 @@ This app supports open repository in external tools listed in the table below.
155177
| Cursor | YES | YES | YES |
156178
| Fleet | YES | YES | YES |
157179
| Sublime Text | YES | YES | YES |
158-
| Zed | NO | YES | YES |
180+
| Zed | YES | YES | YES |
159181
| Visual Studio | YES | NO | NO |
160182

161183
> [!NOTE]
@@ -172,19 +194,26 @@ This app supports open repository in external tools listed in the table below.
172194
> [!NOTE]
173195
> This app also supports a lot of `JetBrains` IDEs, installing `JetBrains Toolbox` will help this app to find them.
174196
175-
## Screenshots
176-
177-
* Dark Theme
178-
179-
![Theme Dark](./screenshots/theme_dark.png)
180-
181-
* Light Theme
182-
183-
![Theme Light](./screenshots/theme_light.png)
197+
## Conventional Commit Helper
184198

185-
* Custom
199+
You can define your own conventional commit types (per-repository) by following steps:
186200

187-
You can find custom themes from [sourcegit-theme](https://github.com/sourcegit-scm/sourcegit-theme.git). And welcome to share your own themes.
201+
1. Create a json file with your own conventional commit type definitions. For example:
202+
```json
203+
[
204+
{
205+
"Name": "New Feature",
206+
"Type": "Feature",
207+
"Description": "Adding a new feature"
208+
},
209+
{
210+
"Name": "Bug Fixes",
211+
"Type": "Fix",
212+
"Description": "Fixing a bug"
213+
}
214+
]
215+
```
216+
2. Configure the `Conventional Commit Types` in repository configuration window.
188217

189218
## Contributing
190219

SourceGit.sln

Lines changed: 0 additions & 123 deletions
This file was deleted.

SourceGit.slnx

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<Solution>
2+
<Folder Name="/.github/workflows/">
3+
<File Path=".github/workflows/build.yml"/>
4+
<File Path=".github/workflows/ci.yml"/>
5+
<File Path=".github/workflows/format-check.yml"/>
6+
<File Path=".github/workflows/localization-check.yml"/>
7+
<File Path=".github/workflows/package.yml"/>
8+
<File Path=".github/workflows/release.yml"/>
9+
</Folder>
10+
11+
<Folder Name="/build/resources/_common/applications/">
12+
<File Path="build/resources/_common/applications/sourcegit.desktop"/>
13+
</Folder>
14+
15+
<Folder Name="/build/resources/_common/icons/">
16+
<File Path="build/resources/_common/icons/sourcegit.png"/>
17+
</Folder>
18+
19+
<Folder Name="/build/resources/_common/">
20+
<File Path="build/resources/_common/sourcegit"/>
21+
</Folder>
22+
23+
<Folder Name="/build/resources/app/">
24+
<File Path="build/resources/app/App.icns"/>
25+
<File Path="build/resources/app/App.plist"/>
26+
</Folder>
27+
28+
<Folder Name="/build/resources/appimage/">
29+
<File Path="build/resources/appimage/sourcegit"/>
30+
<File Path="build/resources/appimage/sourcegit.appdata.xml"/>
31+
</Folder>
32+
33+
<Folder Name="/build/resources/deb/DEBIAN/">
34+
<File Path="build/resources/deb/DEBIAN/control"/>
35+
<File Path="build/resources/deb/DEBIAN/preinst"/>
36+
<File Path="build/resources/deb/DEBIAN/prerm"/>
37+
</Folder>
38+
39+
<Folder Name="/build/resources/rpm/SPECS/">
40+
<File Path="build/resources/rpm/SPECS/build.spec"/>
41+
</Folder>
42+
43+
<Folder Name="/build/scripts/">
44+
<File Path="build/scripts/localization-check.js"/>
45+
<File Path="build/scripts/package.linux.sh"/>
46+
<File Path="build/scripts/package.osx-app.sh"/>
47+
<File Path="build/scripts/package.windows.sh"/>
48+
</Folder>
49+
50+
<Folder Name="/build/">
51+
<File Path="build/README.md"/>
52+
</Folder>
53+
54+
<Folder Name="/src/">
55+
<Project Path="src/SourceGit.csproj" />
56+
</Folder>
57+
58+
<Folder Name="/files/">
59+
<File Path=".editconfig"/>
60+
<File Path=".gitattributes"/>
61+
<File Path=".gitignore"/>
62+
<File Path=".issuetracker"/>
63+
<File Path="global.json"/>
64+
<File Path="LICENSE"/>
65+
<File Path="README.md"/>
66+
<File Path="THIRD-PARTY-LICENSES.md"/>
67+
<File Path="TRANSLATION.md"/>
68+
</Folder>
69+
</Solution>

THIRD-PARTY-LICENSES.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,42 @@ The project uses the following third-party libraries or assets
77
### AvaloniaUI
88

99
- **Source**: https://github.com/AvaloniaUI/Avalonia
10-
- **Version**: 11.2.8
10+
- **Version**: 11.3.9
1111
- **License**: MIT License
1212
- **License Link**: https://github.com/AvaloniaUI/Avalonia/blob/master/licence.md
1313

1414
### AvaloniaEdit
1515

1616
- **Source**: https://github.com/AvaloniaUI/AvaloniaEdit
17-
- **Version**: 11.2.0
17+
- **Version**: 11.3.0
1818
- **License**: MIT License
1919
- **License Link**: https://github.com/AvaloniaUI/AvaloniaEdit/blob/master/LICENSE
2020

2121
### LiveChartsCore.SkiaSharpView.Avalonia
2222

2323
- **Source**: https://github.com/beto-rodriguez/LiveCharts2
24-
- **Version**: 2.0.0-rc5.4
24+
- **Version**: 2.0.0-rc6.1
2525
- **License**: MIT License
2626
- **License Link**: https://github.com/beto-rodriguez/LiveCharts2/blob/master/LICENSE
2727

2828
### TextMateSharp
2929

3030
- **Source**: https://github.com/danipen/TextMateSharp
31-
- **Version**: 1.0.66
31+
- **Version**: 1.0.70
3232
- **License**: MIT License
3333
- **License Link**: https://github.com/danipen/TextMateSharp/blob/master/LICENSE.md
3434

3535
### OpenAI .NET SDK
3636

3737
- **Source**: https://github.com/openai/openai-dotnet
38-
- **Version**: 2.2.0-beta.4
38+
- **Version**: 2.5.0
3939
- **License**: MIT License
4040
- **License Link**: https://github.com/openai/openai-dotnet/blob/main/LICENSE
4141

4242
### Azure.AI.OpenAI
4343

4444
- **Source**: https://github.com/Azure/azure-sdk-for-net
45-
- **Version**: 2.2.0-beta.4
45+
- **Version**: 2.5.0-beta.1
4646
- **License**: MIT License
4747
- **License Link**: https://github.com/Azure/azure-sdk-for-net/blob/main/LICENSE.txt
4848

@@ -98,3 +98,10 @@ The project uses the following third-party libraries or assets
9898
- **Commit**: 0e89ecdb13650dbbe5a1e85b47b2e1530bf2f355
9999
- **License**: MIT License
100100
- **License Link**: https://github.com/samuel-weinhardt/vscode-jsp-lang/blob/0e89ecdb13650dbbe5a1e85b47b2e1530bf2f355/LICENSE
101+
102+
### vuejs-language-tools
103+
104+
- **Source**: https://github.com/vuejs/language-tools
105+
- **Commit**: 68d98dc57f8486c2946ae28dc86bf8e91d45da4d
106+
- **License**: MIT License
107+
- **License Link**: https://github.com/vuejs/language-tools/blob/68d98dc57f8486c2946ae28dc86bf8e91d45da4d/LICENSE

0 commit comments

Comments
 (0)