Updating to version 0.17.0-6 requires manual intervention - gitlint must be explicitly uninstalled and installed from scratch. Updating in-place from 0.17.0-5 to 0.17.0-6 causes a conflict for the completion files.
Search Criteria
Package Details: gitlint 0.17.0-8
Package Actions
Git Clone URL: | https://aur.archlinux.org/gitlint.git (read-only, click to copy) |
---|---|
Package Base: | gitlint |
Description: | Git commit message linter |
Upstream URL: | https://github.com/jorisroovers/gitlint |
Licenses: | MIT |
Submitter: | atweiden |
Maintainer: | bunder (carsme) |
Last Packager: | carsme |
Votes: | 4 |
Popularity: | 0.000003 |
First Submitted: | 2015-12-23 18:28 (UTC) |
Last Updated: | 2023-08-10 14:53 (UTC) |
Dependencies (10)
- python (python36, python32, python37, python39, python38, python310, python312)
- python-arrow
- python-click
- python-sh (python-sh-git)
- python-build (make)
- python-installer (python-installer-git) (make)
- python-setuptools (make)
- python-wheel (make)
- git (git-vfs, git-run-command-patch-git, git-git, git-fc) (check)
- python-pytest (check)
Required by (0)
Sources (2)
Latest Comments
carsme commented on 2023-07-25 06:39 (UTC)
carsme commented on 2022-11-07 18:00 (UTC)
Thanks for reporting, @yorickpeterse. Should be fixed now.
yorickpeterse commented on 2022-11-07 17:31 (UTC) (edited on 2022-11-07 17:32 (UTC) by yorickpeterse)
This package isn't installing the completions correctly: they are placed in both root (/) and the completion directories, but the ones in the root directory are never removed.
I'm guessing the .install
file runs with / as the working directory, and it never seems to remove the temporary files. Probably it needs to do this instead:
post_install() {
_GITLINT_COMPLETE=bash_source gitlint > gitlint.bash
_GITLINT_COMPLETE=fish_source gitlint > gitlint.fish
_GITLINT_COMPLETE=zsh_source gitlint > gitlint.zsh
install -Dm644 gitlint.bash "/usr/share/bash-completion/completions/gitlint"
install -Dm644 gitlint.fish "/usr/share/fish/vendor_completions.d/gitlint.fish"
install -Dm644 gitlint.zsh "/usr/share/zsh/site-functions/_gitlint"
rm gitlint.bash
rm gitlint.fish
rm gitlint.zsh
}
post_upgrade() {
_GITLINT_COMPLETE=bash_source gitlint > gitlint.bash
_GITLINT_COMPLETE=fish_source gitlint > gitlint.fish
_GITLINT_COMPLETE=zsh_source gitlint > gitlint.zsh
install -Dm644 gitlint.bash "/usr/share/bash-completion/completions/gitlint"
install -Dm644 gitlint.fish "/usr/share/fish/vendor_completions.d/gitlint.fish"
install -Dm644 gitlint.zsh "/usr/share/zsh/site-functions/_gitlint"
rm gitlint.bash
rm gitlint.fish
rm gitlint.zsh
}
post_remove() {
rm "/usr/share/bash-completion/completions/gitlint"
rm "/usr/share/fish/vendor_completions.d/gitlint.fish"
rm "/usr/share/zsh/site-functions/_gitlint"
}
bvtthead commented on 2022-10-31 13:36 (UTC)
'git' needs to be added to the checkdepends array
carsme commented on 2022-10-18 19:12 (UTC)
@Freed, completions should be included now.
Freed commented on 2022-10-13 09:39 (UTC)
gitlint has its shell completions (bash/zsh/fish). Please add them.
See https://github.com/jorisroovers/gitlint/issues/344
Thanks.
carsme commented on 2022-01-05 01:09 (UTC)
@bunder thanks!
bunder commented on 2022-01-04 01:46 (UTC)
@carsme, I've added you to comaintainers.
carsme commented on 2021-12-29 11:11 (UTC)
Hey, this package has been out-of-date for some time. Would you like help with the maintenance?
queer commented on 2018-05-15 12:03 (UTC)
Doesn't seem to work with current version of python-arrow. Compiles fine, but throws an error saying pkg_resources.DistributionNotFound: The 'arrow==0.10.0' distribution was not found and is required by gitlint
. Not sure if there's anything you can do about it though.
Pinned Comments
carsme commented on 2023-07-25 06:39 (UTC)
Updating to version 0.17.0-6 requires manual intervention - gitlint must be explicitly uninstalled and installed from scratch. Updating in-place from 0.17.0-5 to 0.17.0-6 causes a conflict for the completion files.