All Projects → sonnyp → Commit

sonnyp / Commit

Licence: GPL-3.0 license
Commit message editor

Programming Languages

javascript
184084 projects - #8 most used programming language
Meson
512 projects
Makefile
30231 projects
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to Commit

Playhouse
A Playground for HTML/CSS/JavaScript
Stars: ✭ 28 (-72.55%)
Mutual labels:  gtk, gnome, linux-app, flatpak, gjs
gnomit
A simple Git commit message editor for Gnome.
Stars: ✭ 30 (-70.59%)
Mutual labels:  gtk, gnome, flatpak, gjs
pw3270
3270 Emulator for gtk
Stars: ✭ 38 (-62.75%)
Mutual labels:  gtk, gnome, linux-app
Gjs-Tutorial
A tutorial for Gjs/GTK+ 3 development, based on https://github.com/sebp/PyGObject-Tutorial
Stars: ✭ 15 (-85.29%)
Mutual labels:  gtk, gnome, gjs
GabTag
A gtk linux application to handle audio tags 🎵
Stars: ✭ 34 (-66.67%)
Mutual labels:  gtk, gnome, linux-app
dippi
Calculate display info like DPI and aspect ratio
Stars: ✭ 57 (-44.12%)
Mutual labels:  gtk, gnome, flatpak
Azure-theme
Azure is a clean and fresh blue theme for GTK 3, GTK 2 and Gnome-Shell
Stars: ✭ 100 (-1.96%)
Mutual labels:  gtk, gnome
plausible
Hybrid native + web app for Plausible Analytics
Stars: ✭ 47 (-53.92%)
Mutual labels:  gnome, flatpak
gui-python-gtk
Repositório criado para documentar e centralizar conteúdos, dicas, tutoriais e exemplos de código sobre a construção de interfaces com a linguagem de programação Python (PyGObject) e o toolkit gráfico Gtk 4.
Stars: ✭ 85 (-16.67%)
Mutual labels:  gtk, gnome
Foliate
A simple and modern GTK eBook reader
Stars: ✭ 3,150 (+2988.24%)
Mutual labels:  gtk, gjs
media-controls
A media indicator for the Gnome shell.
Stars: ✭ 104 (+1.96%)
Mutual labels:  gnome, gjs
ThemeChanger
Theme changing utility for Linux, etc.
Stars: ✭ 14 (-86.27%)
Mutual labels:  gtk, gnome
Slate-theme
GTK Mac-like theme for cleaner and flat-er look.
Stars: ✭ 14 (-86.27%)
Mutual labels:  gtk, gnome
gobject-example-rs
Example for exporting a GObject/C API from Rust
Stars: ✭ 31 (-69.61%)
Mutual labels:  gtk, gnome
Systemtray
Cross-platform SystemTray support for Swing/AWT, GtkStatusIcon, and AppIndicator on Java 8+
Stars: ✭ 253 (+148.04%)
Mutual labels:  gtk, gnome
gnome-shell-extension-syncthing-indicator
Put an indicator on the panel signalling the Syncthing daemon status using SystemD
Stars: ✭ 40 (-60.78%)
Mutual labels:  gnome, gjs
ohloh scm
The Ohloh source control management library
Stars: ✭ 58 (-43.14%)
Mutual labels:  scm, hg
Norka
Continuous text editor for Linux
Stars: ✭ 70 (-31.37%)
Mutual labels:  gnome, linux-app
Awesome Gtk
List of awesome GTK+ (gtk3) applications
Stars: ✭ 174 (+70.59%)
Mutual labels:  gtk, gnome
Swiftgtk
A Swift wrapper around gtk-3.x and gtk-4.x that is largely auto-generated from gobject-introspection
Stars: ✭ 180 (+76.47%)
Mutual labels:  gtk, gnome

Commit

Commit is an editor that helps you write better Git and Mercurial commit messages.

screenshot

https://apps.gnome.org/app/re.sonny.Commit/

Download on Flathub

Installation

Setup flatpak then

flatpak install re.sonny.Commit
flatpak run re.sonny.Commit # Follow instructions

Tips and trick

Emojis

right-click ➞ Insert Emoji or use the shortcut Ctrl+. 🎉️ The Emoji picker works in any GNOME app 👣️

Open Commit in the center of the screen

On GNOME you can make all new windows open in the center using

gsettings set org.gnome.mutter center-new-windows true

See https://gitlab.gnome.org/GNOME/mutter/-/issues/246

or set and use the move-to-center keybinding

gsettings set org.gnome.desktop.wm.keybindings move-to-center "['<Super><Control><Shift>Space']"

Translation

If you'd like to help translating Commit into your language, please head over to Weblate.

Translation status

Thank you for your help!

Development

cd Commit
git submodule update --init --recursive
G_MESSAGES_DEBUG=Gjs-Console ./re.sonny.Commit --readonly test/fixtures/with-body/COMMIT_EDITMSG

Make changes and hit Ctrl+Shift+Q on the Commit window to restart it.

To pass the tests you have to install a few dependencies

# Install development dependencies
sudo dnf install --assumeyes npm flatpak make desktop-file-utils gjs gtk4-devel libadwaita
npm install
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user --assumeyes --noninteractive flathub org.freedesktop.appstream-glib

# Run tests
make test

Flathub builds https://flathub.org/builds/#/apps/re.sonny.Commit

Maintainer

i18n
# To update the pot file
# xgettext -f po/POTFILES -o po/re.sonny.Commit.pot --no-wrap -cTRANSLATORS --from-code=UTF-8
# sed -i "s/Project-Id-Version: PACKAGE VERSION/Project-Id-Version: re.sonny.Commit/" po/re.sonny.Commit.pot
meson compile re.sonny.Commit-pot -C _build


# To create a translation
# msginit -i po/re.sonny.Commit.pot -o po/fr.po -l fr_FR.UTF-8
echo -n " fr" >> po/LINGUAS
meson compile re.sonny.Commit-update-po -C _build

# To update translations
# msgmerge -U po/*.po po/re.sonny.Commit.pot
meson compile re.sonny.Commit-update-po -C _build

See #14 (comment)

Publish new version
  • meson compile re.sonny.Commit-update-po -C _build
  • Update version in meson.build
  • git tag
  • flathub

Building

host
cd Commit
meson --prefix $PWD/install build
ninja -C build install
Flatpak

Use GNOME Builder or

cd Commit
flatpak-builder --user --force-clean --repo=repo --install-deps-from=flathub flatpak re.sonny.Commit.json
flatpak --user remote-add --no-gpg-verify --if-not-exists Commit repo
flatpak --user install --reinstall --assumeyes Commit re.sonny.Commit

Credits

Commit is a fork of Gnomit wich was inspired by Komet.

Many thanks to its original author Aral Balkan of Small Technology Foundation.

Contributors

Copyright

License

GPLv3 or later. Please see COPYING file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].