Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ node_modules/
package.json
package-lock.json


# Flatpak
!build/resources/flatpak

build/resources/
build/SourceGit/
build/SourceGit.app/
Expand Down
9 changes: 9 additions & 0 deletions build/resources/flatpak/sourcegit.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Name=SourceGit
Comment=Open-source & Free Git GUI Client
Exec=sourcegit.sh
Icon=io.github.sourcegit_scm.sourcegit
Terminal=false
Type=Application
Categories=Development
MimeType=inode/directory;
78 changes: 78 additions & 0 deletions build/resources/flatpak/sourcegit.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.github.sourcegit_scm.sourcegit</id>
<metadata_license>MIT</metadata_license>
<project_license>MIT</project_license>
<name>SourceGit</name>
<summary>Open-source and Free Git GUI Client</summary>
<description>
<p>Highlights</p>
<ul>
<li>Supports Windows/macOS/Linux</li>
<li>Opensource/Free</li>
<li>Fast</li>
<li>Deutsch/English/Español/Français/Italiano/Português/Русский/Українська/简体中文/繁體中文/日本語/தமிழ்
(Tamil)/한국어</li>
<li>Built-in light/dark themes</li>
<li>Customize theme</li>
<li>Visual commit graph</li>
<li>Supports SSH access with each remote</li>
<li>GIT commands with GUI</li>
<li>Clone/Fetch/Pull/Push...</li>
<li>Merge/Rebase/Reset/Revert/Cherry-pick...</li>
<li>Amend/Reword/Squash</li>
<li>Interactive rebase</li>
<li>Branches</li>
<li>Remotes</li>
<li>Tags</li>
<li>Stashes</li>
<li>Submodules</li>
<li>Worktrees</li>
<li>Archive</li>
<li>Diff</li>
<li>Save as patch/apply</li>
<li>File histories</li>
<li>Blame</li>
<li>Revision Diffs</li>
<li>Branch Diff</li>
<li>Image Diff - Side-By-Side/Swipe/Blend</li>
<li>Git command logs</li>
<li>Search commits</li>
<li>GitFlow</li>
<li>Git LFS</li>
<li>Bisect</li>
<li>Issue Link</li>
<li>Workspace</li>
<li>Custom Action</li>
<li>Using AI to generate commit message using commitollama</li>
</ul>
</description>
<url type="bugtracker">https://github.com/sourcegit-scm/sourcegit/issues</url>
<url type="help">https://github.com/sourcegit-scm/sourcegit/issues</url>
<url type="homepage">https://sourcegit-scm.github.io</url>
<url type="vcs-browser">https://github.com/sourcegit-scm/sourcegit</url>
<launchable type="desktop-id">io.github.sourcegit_scm.sourcegit.desktop</launchable>
<developer id="io.github">
<name>sourcegit-scm</name>
</developer>
<branding>
<color type="primary" scheme_preference="light">#f15336</color>
<color type="primary" scheme_preference="dark">#f15336</color>
</branding>
<screenshots>
<screenshot type="default">
<image>https://sourcegit-scm.github.io/images/theme_dark.png</image>
<caption>Dark Theme</caption>
</screenshot>
<screenshot>
<image>https://sourcegit-scm.github.io/images/theme_light.png</image>
<caption>Light Theme</caption>
</screenshot>
</screenshots>
<content_rating type="oars-1.1" />
<releases>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean that this attribute needs to be changed manually for each version?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The flathub team expects that but I was thinking of making it autofill this during a GitHub workflow on the flatpak repo.

How does this project do releases? I don't want this addition to make it more difficult.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version:
name: Prepare version string
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Output version string
id: version
run: echo "version=$(cat VERSION)" >> "$GITHUB_OUTPUT"

current version string will be load from VERSION file and set into environment.

on:
push:
tags:
- v*

release ci will be triggered when HEAD has a tag.

<release version="2026.02" date="2026-01-26">
<url type="details">https://github.com/sourcegit-scm/sourcegit/releases/tag/v2026.02</url>
</release>
</releases>
</component>