You are not logged in.
Hi there,
I just tried to submit one of my packages to aur4 but my push is denied:
Counting objects: 50, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (49/49), done.
Writing objects: 100% (50/50), 14.79 KiB | 0 bytes/s, done.
Total 50 (delta 19), reused 0 (delta 0)
remote: error: The following error occurred when parsing commit
remote: error: 8531bf8a3e21ef120b7216f93142b4c40827e250:
remote: error: missing mandatory field: pkgrel
remote: error: hook declined to update refs/heads/master
To ssh://aur@aur4/nomachine.git
! [remote rejected] master -> master (hook declined)Here's my PKGBUILD:
pkgname=nomachine
pkgver=4.6.3
pkgrel=13
pkgdesc="Remote desktop application"
groups=('network')
url="http://www.nomachine.com"
license=('custom:"NoMachine EULA"')
arch=('x86_64')
options=('!strip')
conflicts=('nxmanager nxwebplayer nxserver nxnode nxclient')
depends=('bash')
install=nomachine.install
md5sums=('71cb30177e1b0b105f5973e201daefbd')
source_x86_64=(http://download.nomachine.com/download/4.6/Linux/${pkgname}_${pkgver}_${pkgrel}_${arch}.tar.gz)
package()
{
cd "$srcdir"
install -d "$pkgdir/usr/"
cp -a NX "$pkgdir/usr/NX"
}an my .SRCINFO
pkgbase = nomachine
pkgdesc = Remote desktop application
pkgver = 4.6.3
pkgrel = 13
url = http://www.nomachine.com
install = nomachine.install
arch = x86_64
groups = network
license = custom:"NoMachine EULA"
depends = bash
conflicts = nxmanager nxwebplayer nxserver nxnode nxclient
options = !strip
md5sums = 71cb30177e1b0b105f5973e201daefbd
source_x86_64 = http://download.nomachine.com/download/4.6/Linux/nomachine_4.6.3_13_x86_64.tar.gz
pkgname = nomachineBoth files contain "pkgrel" so what did I miss?
Thanks ![]()
Offline
They do now, did they at commit 8531bf8a3e21ef120b7216f93142b4c40827e250?
Offline
They do now, did they at commit 8531bf8a3e21ef120b7216f93142b4c40827e250?
Jep, I just dropped .git, re-init and pushed again.
So if there's a rejected push, I'll have to delete the failed commit in order to get the next push through?
Offline
Pretty much. Best way I know of is to use git reset, fix things, then recommit.
Last edited by Scimmia (2015-06-10 17:32:18)
Offline