- Notifications
You must be signed in to change notification settings - Fork27
sonnyp/Commit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Commit is an editor that helps you write better Git and Mercurial commit messages.
Setup flatpak then
flatpak install re.sonny.Commitflatpak run re.sonny.Commit# Follow instructions
right-click ➞ Insert Emoji or use the shortcutCtrl+. 🎉️The Emoji picker works in any GNOME app 👣️
On GNOME you can make all new windows open in the center using
gsettingsset org.gnome.mutter center-new-windowstrue
Seehttps://gitlab.gnome.org/GNOME/mutter/-/issues/246
or set and use the move-to-center keybinding
gsettingsset org.gnome.desktop.wm.keybindings move-to-center"['<Super><Control><Shift>Space']"
If you'd like to help translating Commit into your language, please head over toWeblate.
Thank you for your help!
cd Commitgit submodule update --init --recursive./src/local.js --readonly test/fixtures/with-body/COMMIT_EDITMSG
Make changes and hitCtrl+Shift+Q
on the Commit window to restart it.
To pass the tests you have to install a few dependencies
# Install development dependenciessudo dnf install --assumeyes npm flatpak make desktop-file-utils gjs gtk4-devel libadwaitanpm installflatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepoflatpak install --user --assumeyes --noninteractive flathub org.freedesktop.appstream-glib# Run testsmake test
Flathub buildshttps://flathub.org/builds/#/apps/re.sonny.Commit
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.potmeson 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-8echo -n" fr">> po/LINGUASmeson compile re.sonny.Commit-update-po -C _build# To update translations# msgmerge -U po/*.po po/re.sonny.Commit.potmeson compile re.sonny.Commit-update-po -C _build
Publish new version
meson compile re.sonny.Commit-update-po -C _build
- Update version in
meson.build
- git tag
- flathub
host
cd Commitmeson --prefix$PWD/install buildninja -C build install
Flatpak
UseGNOME Builder or
cd Commitflatpak-builder --user --force-clean --repo=repo --install-deps-from=flathub flatpak re.sonny.Commit.jsonflatpak --user remote-add --no-gpg-verify --if-not-exists Commit repoflatpak --user install --reinstall --assumeyes Commit re.sonny.Commit
Commit is a fork ofGnomit wich was inspired byKomet.
Many thanks to its original authorAral Balkan ofSmall Technology Foundation.
- © 2020-2022Sonny Piers
- © 2018-2020Aral Balkan,Small Technology Foundation
GPLv3 or later. Please seeCOPYING file.
About
Commit message editor