You are not logged in.
I've just tried to push an update to the AUR, but the commit hook won't let me:
Counting objects: 5, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 565 bytes | 0 bytes/s, done.
Total 5 (delta 3), reused 0 (delta 0)
remote: error: The following error occurred when parsing commit
remote: error: ce0e8c23208c1a08f7d79c5d38280b48d0615aa5:
remote: error: missing mandatory field: pkgname
remote: error: hook declined to update refs/heads/master
To ssh://aur@aur.archlinux.org/zsh-autosuggestions-git.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://aur@aur.archlinux.org/zsh-autosuggestions-git.git'
The SHA given is the new commit, but the changes do not touch pkgname, and don't look wrong to me?
$ git show [16-02-15 10:02]
commit ce0e8c23208c1a08f7d79c5d38280b48d0615aa5
Author: Andrew Stubbs <andrew.stubbs@gmail.com>
Date: Mon Feb 15 09:49:29 2016 +0000
Update for new install process.
diff --git a/.SRCINFO b/.SRCINFO
index 764f121..ef43670 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = zsh-autosuggestions-git
pkgdesc = Fish shell like fast/unobtrusive autosuggestions for zsh
- pkgver = 0.2.1.101.f154d25
+ pkgver = 0.2.1.119.76f415b
pkgrel = 1
url = https://github.com/tarruda/zsh-autosuggestions
install = zsh-autosuggestions.install
diff --git a/PKGBUILD b/PKGBUILD
index ef6905c..fce28c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
_name='zsh-autosuggestions'
pkgname="${_name}-git"
-pkgver=0.2.1.101.f154d25
+pkgver=0.2.1.119.76f415b
pkgrel=1
pkgdesc='Fish shell like fast/unobtrusive autosuggestions for zsh'
url='https://github.com/tarruda/zsh-autosuggestions'
@@ -20,14 +20,15 @@ pkgver() {
package() {
cd "${srcdir}/${_name}"
+ make -B zsh-autosuggestions.zsh
install -d "${pkgdir}/usr/share/zsh/plugins/${_name}"
- cp -a --no-preserve=ownership dist/autosuggestions.zsh "${pkgdir}/usr/share/zsh/plugins/${_name}"
+ cp -a --no-preserve=ownership "zsh-autosuggestions.zsh" "${pkgdir}/usr/share/zsh/plugins/${_name}"
# license
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
}
-#check() {
-# cd "${srcdir}/${_name}"
-# make test
-#}
+check() {
+ cd "${srcdir}/${_name}"
+ make test
+}
diff --git a/zsh-autosuggestions.install b/zsh-autosuggestions.install
index 5be4409..2d0b418 100644
--- a/zsh-autosuggestions.install
+++ b/zsh-autosuggestions.install
@@ -1,6 +1,4 @@
post_install() {
echo "==> To use zsh autosuggestions, include the following snippet in your .zshrc:
- source /usr/share/zsh/plugins/zsh-autosuggestions/autosuggestions.zsh
- ## if using zsh-syntax-highlighting, it should be sourced here, between the commands
- autosuggest_start"
+ source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
}
The previous commit uploaded just fine.
Any suggestions, please?
Last edited by ams1 (2016-02-15 13:19:40)
Offline
AUR just got an update , https://lists.archlinux.org/pipermail/a … 32038.html
we switched to python-srcinfo for parsing package metadata
I think you should file a bug report.
If updating is urgent, try using this : pkgname=zsh-autosuggestions-git
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Online
Thanks, I had not seen that. Your workaround works.
Offline
Bug reported: https://bugs.archlinux.org/task/48193
Offline