You are not logged in.
Hi @ all,
I want to submit a PKGBUILD + Patch for freqtweak.
First, I cloned the repo
git clone ssh://aur@aur.archlinux.org/freqtweak.git
Next, I copied my files to the directory and run mksrcinfo. The .SRCINFO file is really there
ls -all
total 28
drwxr-xr-x 3 fff users 32 Sep 23 03:51 .
drwxr-xr-x 3 fff users 4096 Sep 23 03:44 ..
-rw-r--r-- 1 fff users 256 Sep 23 02:42 FTutils.hpp.patch
drwxr-xr-x 8 fff users 4096 Sep 23 04:07 .git
-rw-r--r-- 1 fff users 825 Sep 23 03:19 PKGBUILD
-rw-r--r-- 1 fff users 397 Sep 23 04:06 .SRCINFO
So I added the files to the repo and commited them
git add PKGBUILD .SRCINFO FTutils.hpp.patch
git commit -m "initial commit"
When I try to push the repo, I get
git push origin master
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 1.46 KiB | 0 bytes/s, done.
Total 7 (delta 0), reused 0 (delta 0)
remote: error: The following error occurred when parsing commit
remote: error: 038d2ef585b6b715924b4af502a938d8ff2f0f48:
remote: error: missing .SRCINFO
remote: error: hook declined to update refs/heads/master
To ssh://aur@aur.archlinux.org/freqtweak.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://aur@aur.archlinux.org/freqtweak.git'
At which piont it went wrong?
Would be nice if someone could help
Last edited by Waljakov (2015-09-23 01:26:30)
Sorry for bad English
Offline
Is the .SRCINFO present in *all* the commits of the repository? In particular, does commit 038d2ef585b6b715924b4af502a contain a .SRCINFO -- because the error is saying it does not.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
I thought, a .SRCINFO file is related to a PKGBUILD and not to a commit.
How can I create a .SRCINFO file which is related to a certain commit?
Sorry for bad English
Offline
Every commit must have a .SRCINFO. If you've missed adding it in any commits the only solution I know is to wipe the git repo and start fresh. It is annoying, but a user can checkout any commit in an AUR repo and should expect a sane package -- that includes a .SRCINFO
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
You don't have to start over if you missed adding it to a commit, you just have to rewrite the history. There are a number of ways to do this, I would probably use git filter-branch.
Offline
Thanks guys, it worked.
Sorry for bad English
Offline