daringer / asus-fan

Kernel module to get/set (both) fan speed(s) on ASUS Zenbooks
GNU General Public License v2.0
95 stars 26 forks source link

The PKGBUILD on aur is often outdated #37

Closed qlonik closed 7 years ago

qlonik commented 7 years ago

Hello,

The PKGBUILD in the aur for this package is often falling behind the actual PKGBUILD in this repo. Would you like to take over and update PKGBUILD in the aur at the same time you update it in this repo?

daringer commented 7 years ago

Technically this shouldn't be a problem, but have to admit that I've never have done anything in the AUR before... Can you give me a short walk through?

qlonik commented 7 years ago

Basically, AUR has packages, whenever you install from it, it downloads PKGBUILD and other files, builds that package (tar.gz) and installs that with pacman. In previous AUR, they had tar balls to represent each package, but they switched to git repos now.

So, now every package there is a git repo, and releasing the package on AUR is just a git push now. There are couple requirements that they have. I think they require that every single commit has a PKGBUILD and .SRCINFO files.

PKGBUILD is whatever you have here in your repo, and .SRCINFO is file generated from PKGBUILD. To get .SRCINFO the command is mksrcinfo from pkgbuild-introspection package. You also can have additional files if you need (like file.install or file.desktop or file.patch or file.service).

I guess another thing is that you need to register on AUR, add your ssh key (not sure if its required, but I did that) and whenever you push, you need to specify that key.

There is more detailed info on arch wiki, if you would like to read it:

There is some "Manage co-maintainers" link in the package actions box on the side. I've never tried it, but maybe this thing will allow you to push updates into this little repo.

If you have any more questions, hit me up. I will try to answer them.

daringer commented 7 years ago

Once a PKGBUILD update shall be done I'll try to do it, will keep this issue open to track/discuss the next/first tries....

daringer commented 7 years ago

looks like it should work, login and stuff, need to get to my Linux box soon, then I'll update the current one in the AUR fixing the permission issue, good minimal change to start with :smile:

erkexzcx commented 7 years ago

Hi. AUR fails again, therefore not sure if it's PKGBUILD script issue or program itself, since I am unable to find actual module from lsmod command. See full raw output here.

Let me know if there is anything I can help.

I am on Asus N550JV and main maintainer of ARCH linux page Asus N550JV. :)

EDIT: I marked it as out of date, but anyway it works now. Not sure why it didn't work earlier.

daringer commented 7 years ago

mmh, good that it works was updated end of May, either way I do not fully get how to get push rights for a package? @qlonik is this maybe something you have to grant me? "Manage co-maintainers" sounds like, you'll have to manage them, maybe you could just add me?

Either way, as currently AUR + PKGBUILD works fine, I will close this issue...Feel free to re-open, if needed...

qlonik commented 7 years ago

Yes, I need to add you as a co-maintainer on that package. Is your handle on aur the same as here - daringer?

daringer commented 7 years ago

nope there it's "dariball" ...

qlonik commented 7 years ago

Added

daringer commented 7 years ago

hehe nice, last time I wanted to be an AUR maintainer I was like 14 :smile: but alright, also pushed some minimal change---all seems to work, feel free to bug me whenever something is weird there...