Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-08 Thread brent timothy saner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 06/08/2015 08:55 AM, Xorg wrote:
 I do a new clone, move pckages files into the new directory, commit and
 push, that works.
 
 Solved for libreoffice-faenza-mod [1]. Thanks.
 
 [1] https://aur4.archlinux.org/packages/libreoffice-faenza-mod/
 
 Le 08/06/2015 12:06, Andrejs Mivreņiks a écrit :
 Hi!

 Are you sure you added and commited the install file before push?
 Check your git status output.



I'm getting the same behaviour:

[bts@workhorse freeswitch]$ git push
Counting objects: 14, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (13/13), done.
Writing objects: 100% (14/14), 11.60 KiB | 0 bytes/s, done.
Total 14 (delta 0), reused 0 (delta 0)
remote: error: The following error occurred when parsing commit
remote: error: 426c2b2f6b4495115a2c6310f8967f5569d8a11a:
remote: error: missing install file: freeswitch.install
remote: error: hook declined to update refs/heads/master
To ssh+git://a...@aur4.archlinux.org/freeswitch.git/
 ! [remote rejected] master - master (hook declined)
error: failed to push some refs to
'ssh+git://a...@aur4.archlinux.org/freeswitch.git/'


However:

[bts@workhorse freeswitch]$ git log -- freeswitch.install ; ls -l
freeswitch.install
commit 499a1ab800029623da91fdba38e35fcc9d0d0223
Author: brent s b...@square-r00t.net
Date:   Mon Jun 8 12:25:40 2015 -0400

(commit message)
- -rw-r--r-- 1 bts bts 1860 Jun  8 12:25 freeswitch.install


It's *definitely* in the commit I'm trying to push.


It would appear the hook system needs some work.


I have confirmed that this is worked around by making a fresh clone, and
then pushing. However, this is not sustainable moving forward IMO.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJVdc/jAAoJEIwATC+TSB9rB/UP/Aw9BurtgZ1IvwPBIiR+YiW6
zPh6tXnKQk0PC/fbJGpFe9f4ED4UpKfoXP48i30g8OJj38yM9zjkmUbQ0z/EEyIm
aja3aq3hXmairsPTn/mC976gANRV5Wdm/ZlGpFZu3FZFdaoTYhTmaHF29pO9F8yi
OVUpwf9pcxYSx8KO9C7DgXTh+lc7GSpll/F52zcBZqgG7FLGENeuMK+mdUUTqOvp
pR5n8BtVJNVe6r8HoBjk0LB9xE/o6JPyoMYJRja+iMVeLlhoA+FLCASNt35zOget
HBFdYoQijBLE9ro8tARY/aQ5pkPhbnw0MTBJrGS+KJAlc84E5al9fGbbruFEuejT
GgGoy78BJzcX6Xo8wAPNWny27u46TEaxWVexJaYQUdkZAfZaGjAG3R9yzE8pzr7J
CRbq8Gt2KjnvGF3vAIxFsEDgAhq5zTs9X3JfzbfWkNvReCdLTRxV7CpFqIiyBrb2
9OptqH/1p1ougJAXWCBrtldlW+rrCr1sjV7GXMHTb6Luu7qL+bbbCuoZ6DUM3gn6
fQV9Bp2cDZfuNBQOhcJaOA+az4BRs531VZCJwGzkjzymmU69YoIZrpfyEOzBws61
Oeqndhk1qjq8wyCJ9BJLHolwkQcJusrziYjtaaNihlKzVKmoM3T0oDOzZysRbWF/
Ud0KmE2yDr+o3oMpBnnJ
=y5pT
-END PGP SIGNATURE-


Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-08 Thread Lukas Fleischer
On Mon, 08 Jun 2015 at 19:25:02, brent timothy saner wrote:
 [...]
 I'm getting the same behaviour:
 
 [bts@workhorse freeswitch]$ git push
 Counting objects: 14, done.
 Delta compression using up to 8 threads.
 Compressing objects: 100% (13/13), done.
 Writing objects: 100% (14/14), 11.60 KiB | 0 bytes/s, done.
 Total 14 (delta 0), reused 0 (delta 0)
 remote: error: The following error occurred when parsing commit
 remote: error: 426c2b2f6b4495115a2c6310f8967f5569d8a11a:
 remote: error: missing install file: freeswitch.install
 remote: error: hook declined to update refs/heads/master
 [...]
 [bts@workhorse freeswitch]$ git log -- freeswitch.install ; ls -l
 freeswitch.install
 commit 499a1ab800029623da91fdba38e35fcc9d0d0223
 Author: brent s b...@square-r00t.net
 Date:   Mon Jun 8 12:25:40 2015 -0400
 
 (commit message)
 - -rw-r--r-- 1 bts bts 1860 Jun  8 12:25 freeswitch.install
 
 
 It's *definitely* in the commit I'm trying to push.
 
 
 It would appear the hook system needs some work.
 [...]

Commit 426c2b2 is not 499a1ab. You don't push a single commit only. This
is not how Git works. You update a bunch of refs and objects, including
multiple commits and 426c2b2 is broken whereas 499a1ab might be okay.

I am pretty sure that

$ git show 426c2b2:freeswitch.install

will show an error message while

$ git show 499a1ab:freeswitch.install

will display the file content gracefully. If that is the case, you need
to fix 426c2b2 to include the install scriptlet as well. If not, please
upload the Git repository somewhere else and submit a bug report.

Regards,
Lukas


Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-08 Thread Johannes Löthberg

On 08/06, brent timothy saner wrote:

I'm getting the same behaviour:

[bts@workhorse freeswitch]$ git push
Counting objects: 14, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (13/13), done.
Writing objects: 100% (14/14), 11.60 KiB | 0 bytes/s, done.
Total 14 (delta 0), reused 0 (delta 0)
remote: error: The following error occurred when parsing commit
remote: error: 426c2b2f6b4495115a2c6310f8967f5569d8a11a:
remote: error: missing install file: freeswitch.install
remote: error: hook declined to update refs/heads/master
To ssh+git://a...@aur4.archlinux.org/freeswitch.git/
! [remote rejected] master - master (hook declined)
error: failed to push some refs to
'ssh+git://a...@aur4.archlinux.org/freeswitch.git/'


However:

[bts@workhorse freeswitch]$ git log -- freeswitch.install ; ls -l
freeswitch.install
commit 499a1ab800029623da91fdba38e35fcc9d0d0223
Author: brent s b...@square-r00t.net
Date:   Mon Jun 8 12:25:40 2015 -0400

   (commit message)
- -rw-r--r-- 1 bts bts 1860 Jun  8 12:25 freeswitch.install


It's *definitely* in the commit I'm trying to push.


It would appear the hook system needs some work.


I have confirmed that this is worked around by making a fresh clone, and
then pushing. However, this is not sustainable moving forward IMO.


Could you upload that repo to eg github or similar?

--
Sincerely,
 Johannes Löthberg
 PGP Key ID: 0x50FB9B273A9D0BB5
 https://theos.kyriasis.com/~kyrias/


signature.asc
Description: PGP signature


Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-08 Thread Andrejs Mivreņiks
Hello!

How did you access AUR4? The web page still says This site is down due to 
maintenance and I can't add my SSH public key.

-- 
  Andrejs Mivreņiks
  PGP Key Fingerprint:
  3872 5DEB BCA5 9460 09B2 E867 F34B C7DA D782 DAB8

On Sun, 7 Jun 2015, at 17:03, SpinFlo wrote:
 Hi. y try to update a pkgbuild. but server refuses by:
 
 remote: error: The following error occurred when parsing commit
 remote: error: 8ba6f94497960275d1a78f913163df30b238cf72:
 remote: error: missing install file: avidemux.install
 remote: error: hook declined to update refs/heads/master
 To ssh+git://aur4.archlinux.org/avidemux-git.git/
 ! [remote rejected] master - master (hook declined)
 
 but in my pkgbuild, the install file is called 'avidemux-git.install'
 
 need the rename that file to 'avidemux.install'? or is a AUR4 hook error
 
 the last update for this package make a zero problems about this file
 
 is a new mandatory?
 
 greetings


[aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-08 Thread Xorg


I have the same problem with package libreoffice-faenza-mod:
remote: error: The following error occurred when parsing commit
remote: error: 2b5e403e908f51617b188c49a11def1ae4d9bf27:
remote: error: missing install file: libreoffice-faenza-mod.install
remote: error: hook declined to update refs/heads/master
To ssh://a...@aur4.archlinux.org/libreoffice-faenza-mod.

PKGBUILD is here: 
https://aur.archlinux.org/packages/li/libreoffice-faenza-mod/PKGBUILD

.install file is: libreoffice-faenza-mod.install




Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-08 Thread Andrejs Mivreņiks
Hi!

Are you sure you added and commited the install file before push? Check your 
git status output.

-- 
  Andrejs Mivreņiks
  PGP Key Fingerprint:
  3872 5DEB BCA5 9460 09B2 E867 F34B C7DA D782 DAB8

On Mon, 8 Jun 2015, at 12:22, Xorg wrote:
 
 I have the same problem with package libreoffice-faenza-mod:
 remote: error: The following error occurred when parsing commit
 remote: error: 2b5e403e908f51617b188c49a11def1ae4d9bf27:
 remote: error: missing install file: libreoffice-faenza-mod.install
 remote: error: hook declined to update refs/heads/master
 To ssh://a...@aur4.archlinux.org/libreoffice-faenza-mod.
 
 PKGBUILD is here: 
 https://aur.archlinux.org/packages/li/libreoffice-faenza-mod/PKGBUILD
 .install file is: libreoffice-faenza-mod.install
 
 


Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-08 Thread Xorg
Yes, sure. This package was on AUR-DEV previously. I have re-push all my 
packages, I have a problem only with libreoffice-faenza-mod.


Le 08/06/2015 12:06, Andrejs Mivreņiks a écrit :

Hi!

Are you sure you added and commited the install file before push? Check your git 
status output.



Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-08 Thread Lukas Fleischer
On Mon, 08 Jun 2015 at 11:22:29, Xorg wrote:
 
 I have the same problem with package libreoffice-faenza-mod:
 remote: error: The following error occurred when parsing commit
 remote: error: 2b5e403e908f51617b188c49a11def1ae4d9bf27:
 remote: error: missing install file: libreoffice-faenza-mod.install
 remote: error: hook declined to update refs/heads/master
 To ssh://a...@aur4.archlinux.org/libreoffice-faenza-mod.
 
 PKGBUILD is here: 
 https://aur.archlinux.org/packages/li/libreoffice-faenza-mod/PKGBUILD
 .install file is: libreoffice-faenza-mod.install
 

I am pretty sure you are looking at the wrong commit. 2b5e403 is where
the file is missing.


Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-08 Thread Xorg
I do a new clone, move pckages files into the new directory, commit and 
push, that works.


Solved for libreoffice-faenza-mod [1]. Thanks.

[1] https://aur4.archlinux.org/packages/libreoffice-faenza-mod/

Le 08/06/2015 12:06, Andrejs Mivreņiks a écrit :

Hi!

Are you sure you added and commited the install file before push? Check your git 
status output.



Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-07 Thread SpinFlo
yes, I complety sure, and the .SRCINFO also points to same file '
install = avidemux-git.install'

ok then. I'll rename that file to new standarized name

the pkgbuild is the same like [AUR] pkgbuild
(https://aur.archlinux.org/packages/av/avidemux-git/PKGBUILD)

greetings


Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-07 Thread Lukas Fleischer
On Sun, 07 Jun 2015 at 16:03:29, SpinFlo wrote:
 Hi. y try to update a pkgbuild. but server refuses by:
 
 remote: error: The following error occurred when parsing commit
 remote: error: 8ba6f94497960275d1a78f913163df30b238cf72:
 remote: error: missing install file: avidemux.install
 remote: error: hook declined to update refs/heads/master
 To ssh+git://aur4.archlinux.org/avidemux-git.git/
 ! [remote rejected] master - master (hook declined)
 
 but in my pkgbuild, the install file is called 'avidemux-git.install'
 
 need the rename that file to 'avidemux.install'? or is a AUR4 hook error
 
 the last update for this package make a zero problems about this file
 
 is a new mandatory?
 

Yes, it is a new check. Are you sure the file is called
avidemux-git.install in the PKGBUILD? What about the install field in
.SRCINFO? Also make sure you are looking at the right commit (8ba6f94).

 greetings
 
 


Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-07 Thread SpinFlo
thanks @Johannes Löthberg for you reply. but i think this has been fixed

- git reset --hard HEAD~
- edit the files (pkgbuild, .install, .SRCINFO and .gitignore)
- add the files with 'git add missing files'
- git commit --all --amend --no-edit
- git push

this is ok?

greetings


Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-07 Thread SpinFlo
 ok then. I'll rename that file to new standarized name

nope. I rename the file, adjust the .gitignore and generate new
.SRCINFO with the changes. but the server still refuses the commit
(with first reset the repo to a origin commit)

I back to 8ba6f94, but i don't how edit the commit to make the changes
and save it with the new changes

need wait to server reset?

greetings


Re: [aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

2015-06-07 Thread Johannes Löthberg

On 07/06, SpinFlo wrote:

I back to 8ba6f94, but i don't how edit the commit to make the changes
and save it with the new changes



You will have to either use git-rebase or just start over with a fresh 
repo.


--
Sincerely,
 Johannes Löthberg
 PGP Key ID: 0x50FB9B273A9D0BB5
 https://theos.kyriasis.com/~kyrias/


signature.asc
Description: PGP signature