You are not logged in.
An error occurs while pushing to aur :-
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 8 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 1.24 KiB | 1.24 MiB/s, done.
Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
remote: error: The following error occurred when parsing commit
remote: error: 5bf2d0e808f267bea6560edb8db7f604d8227430:
remote: error: missing install file: deathnote.install
remote: error: hook declined to update refs/heads/master
To ssh://aur.archlinux.org/deathnote-git.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://aur@aur.archlinux.org/deathnote-git.git'
Steps i performed:
1). git clone ssh://aur@aur.archlinux.org/deathnote-git.git ...........(cloned an empty git repository)
2). I copied PKGBUID & .SRCINFO in that repo.
3). git add PKGBUILD .SRCINFO
4). git commit -m "Initial push."
5). git push .................(and got the above error)
Can anyone help ?????
Offline
remote: error: The following error occurred when parsing commit
remote: error: 5bf2d0e808f267bea6560edb8db7f604d8227430:
remote: error: missing install file: deathnote.install
Did you read the error?
Offline
Did you read the error?
Yes
Last edited by mayank_gite (2020-06-03 23:18:38)
Offline
.SRCINFO records deathnote-git using an install file deathnote.install which is not included in the git push so it was rejected.
Edit:
what is deathnote.install intended to do?
pre_install() {
sudo su
}
op=$1
shift
$op $*
Edit2:
https://aur.archlinux.org/cgit/aur.git/ … thnote-git
You are also hosting the project in the AUR git but list https://gitlab.com/mayankgite/deathnote.git for the project website.
Last edited by loqs (2020-06-03 23:41:43)
Offline
.SRCINFO records deathnote-git using an install file deathnote.install which is not included in the git push so it was rejected.
Edit:
what is deathnote.install intended to do?pre_install() { sudo su } op=$1 shift $op $*
I disowned it by mistakely......can you help me to sort it out????
This was my first time for publishing aur package
Last edited by mayank_gite (2020-06-04 00:00:43)
Offline
The PKGBUILD is complete garbage and it builds a vanity shellscript written by the uploader which runs pkill -9 -u $(whoami).
The pkgver() function reports the number of commits for the PKGBUILD repository:
pkgver() {
cd ""
printf "1.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
What is the purpose of this package? https://wiki.archlinux.org/index.php/AU … submission
Make sure the package you want to upload is useful. Will anyone else want to use this package? Is it extremely specialized? If more than a few people would find this package useful, it is appropriate for submission.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Scimmia wrote:Did you read the error?
Yes
Go back and read it again, it tells you EXACTLY what the problem is. Please, think for yourself, don't expect others to do it for you.
Offline
The PKGBUILD is complete garbage and it builds a vanity shellscript written by the uploader which runs pkill -9 -u $(whoami).
The pkgver() function reports the number of commits for the PKGBUILD repository:
pkgver() { cd "" printf "1.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" }
What is the purpose of this package? https://wiki.archlinux.org/index.php/AU … submission
the rules wrote:Make sure the package you want to upload is useful. Will anyone else want to use this package? Is it extremely specialized? If more than a few people would find this package useful, it is appropriate for submission.
That was just for automatic increment of version number during every update.
This can be used to kill processes rather than typing whole command.
Last edited by mayank_gite (2020-06-04 03:48:52)
Offline
mayank_gite wrote:Scimmia wrote:Did you read the error?
Yes
Go back and read it again, it tells you EXACTLY what the problem is. Please, think for yourself, don't expect others to do it for you.
I solved the error...this was my first time....and thank you very much sir/maam for helping me...and sorry for such stupidity.
Offline
The only advise you seem to have followed was to drop the use of an install file before creating https://aur.archlinux.org/packages/deathnote/ with all the other issues remaining.
Offline
The only advise you seem to have followed was to drop the use of an install file before creating https://aur.archlinux.org/packages/deathnote/ with all the other issues remaining.
You are absolutely correct....but i got it after making deleting request...so that pkg will get delete as soon as request will get accept.
Offline
it builds a vanity shellscript written by the uploader which runs pkill -9 -u $(whoami).
What is the purpose of this package? https://wiki.archlinux.org/index.php/AU … submission
the rules wrote:Make sure the package you want to upload is useful. Will anyone else want to use this package? Is it extremely specialized? If more than a few people would find this package useful, it is appropriate for submission.
Since you didn't listen to me, but went ahead and submitted a second copy of the exact same rules-violating package, I've now deleted both packages, and taken the further action of suspending your AUR account.
Please explain what you think you are doing by uploading malware with several other major issues.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
eschwartz wrote:it builds a vanity shellscript written by the uploader which runs pkill -9 -u $(whoami).
eschwartz wrote:What is the purpose of this package? https://wiki.archlinux.org/index.php/AU … submission
the rules wrote:Make sure the package you want to upload is useful. Will anyone else want to use this package? Is it extremely specialized? If more than a few people would find this package useful, it is appropriate for submission.
Since you didn't listen to me, but went ahead and submitted a second copy of the exact same rules-violating package, I've now deleted both packages, and taken the further action of suspending your AUR account.
Please explain what you think you are doing by uploading malware with several other major issues.
But i got warning afterwards...and i uploaded another package before...and I got good responses on reddit.
Offline
@mayank_gite please compare the time of the initial push of deathnote shown below to the time of your post #6
commit 2a3f644b9906e71ffaa837a2d230af71c23a2f25
Author: mayankgite <mayankgite@protonmail.com>
Date: Thu Jun 4 12:50:05 2020 +0530
Initial push.
Offline
@mayank_gite please compare the time of the initial push of deathnote shown below to the time of your post #6
commit 2a3f644b9906e71ffaa837a2d230af71c23a2f25 Author: mayankgite <mayankgite@protonmail.com> Date: Thu Jun 4 12:50:05 2020 +0530 Initial push.
But i received mail at 17:44 IST
Offline
But i got warning afterwards...and i uploaded another package before...and I got good responses on reddit.
"I did nothing wrong".
Where did you get good responses on reddit, exactly? Some completely unofficial place that holds no binding power?
But i received mail at 17:44 IST
That doesn't seem like something which should happen. The forum should mail you immediately, as it does for everyone else.
Whether this happened or not, isn't MY problem, though. You have:
- uploaded malware
- that violates the rules of submission
- and ignored the forum response where an AUR moderator warned you of the previous two points
It is a COURTESY to warn you before suspending you for uploading freaking malware. We are not required to wait until you acknowledge it. If you never posted on the forums again, and uploaded another 50 malware packages, would we be forbidden from taking action if you said you never got mail about it?
Leaving all this aside: do you understand what the problem with that package is?
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
mayank_gite wrote:But i got warning afterwards...and i uploaded another package before...and I got good responses on reddit.
"I did nothing wrong".
Where did you get good responses on reddit, exactly? Some completely unofficial place that holds no binding power?
mayank_gite wrote:But i received mail at 17:44 IST
That doesn't seem like something which should happen. The forum should mail you immediately, as it does for everyone else.
Whether this happened or not, isn't MY problem, though. You have:
- uploaded malware
- that violates the rules of submission
- and ignored the forum response where an AUR moderator warned you of the previous two pointsIt is a COURTESY to warn you before suspending you for uploading freaking malware. We are not required to wait until you acknowledge it. If you never posted on the forums again, and uploaded another 50 malware packages, would we be forbidden from taking action if you said you never got mail about it?
Leaving all this aside: do you understand what the problem with that package is?
Yes i know that it violated "usefulness" rule....this won't happen again.
Offline