sonnyp/Commit
소개
Commit message editor
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 0
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCommit
Commit is an editor that helps you write better Git and Mercurial commit messages.

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']"
Toolbx container
If you use git from a Toolbx container, simply install flatpak in that container and git commit will be able to lunch Commit from your host.
Development
cd Commit
git submodule update --init --recursive
./src/local.js --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 https://github.com/sonnyp/Commit/pull/14#issuecomment-894070878
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
- © 2020 Sonny Piers
- © 2018-2020 Aral Balkan, Small Technology Foundation
License
GPLv3 or later. Please see COPYING file.
관련 프로젝트 살펴보기
불러오는 중…