Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Commit message editor

License

NotificationsYou must be signed in to change notification settings

sonnyp/Commit

Repository files navigation

Commit

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

screenshot

https://apps.gnome.org/Commit

Download on Flathub

Installation

Setup flatpak then

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

Tips and trick

Emojis

right-click ➞ Insert Emoji or use the shortcutCtrl+. 🎉️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

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']"

Translation

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

Translation status

Thank you for your help!

Development

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

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.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

See#14 (comment)

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

Building

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

Credits

Commit is a fork ofGnomit wich was inspired byKomet.

Many thanks to its original authorAral Balkan ofSmall Technology Foundation.

Contributors

Copyright

License

GPLv3 or later. Please seeCOPYING file.


[8]ページ先頭

©2009-2025 Movatter.jp