You are not logged in.
I am a maintainer for openmc-git. I've made a small change for a test_install.sh script I have in the repo. When I try to push this commit to the AUR I get
remote: error: The following error occurred when parsing commit
remote: error: d6efa57eb8ff5def7f1c14f89894425ec0c0401d:
remote: error: the repository must not contain subdirectories
remote: error: hook declined to update refs/heads/master
To ssh://aur.archlinux.org/openmc-git.git
! [remote rejected] master -> master (hook declined)
output of ls -la is:
drwxr-xr-x 3 luke luke 4096 Feb 24 20:16 .
drwxr-xr-x 8 luke luke 4096 Feb 24 20:17 ..
-rwxr-xr-x 1 luke luke 54459 Feb 9 15:32 fuel_pins.step
drwxr-xr-x 8 luke luke 4096 Feb 24 20:17 .git
-rwxr-xr-x 1 luke luke 1295 Feb 17 14:06 PKGBUILD
-rw-r--r-- 1 luke luke 906 Feb 24 20:13 .SRCINFO
-rw-r--r-- 1 luke luke 134 Feb 21 13:49 step_to_h5m.py
-rwxr-xr-x 1 luke luke 492 Feb 24 20:11 test_install.sh
-rw-r--r-- 1 luke luke 1795 Feb 9 15:32 test_openmc.py
As you can see, the only directory is the .git file, but this is required to push commits to the AUR no? I was using this method before with no issue. Any idea what's going on? If I remove the .git file, I get the "this is not a git repository" error.
Offline
What does
git show d6efa57eb8ff5def7f1c14f89894425ec0c0401d
say?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
thanks, that showed that the commit was trying to add directories, even though I deleted the directories
Offline