I ain't building AUR packages no more! Are you?
Removed before it was archived.
Edited 17 Apr 2019. We only hold this version.
About this post
- Posted
- Archived
- Deleted on
- Edited
- Score
- 0 · 100% up
- Kind
- Text
- ID
- bec2er
Removed before it was archived.
Edited 17 Apr 2019. We only hold this version.
16 comments
So you are essentially stealing the free services which TravisCI and Github provide (CPU time + bandwidth) from legitimate usages of the free software community for your own personal interests. Pretty shitty thing to do, if you ask me.
https://travis-ci.org/arch-aura/arch-aura.github.io/builds
If you want to automate building AUR packages for whatever (questionable) reasons, then rent your own server.
After looking at your setup, it looks like you're storing lots of binary files directly into git. That's really stupid, because you won't be able to delete any files without doing a rebase + force-push of your branches in the future. There's a 1GiB limit for repos on Github and as soon as you've reached this limit, your little setup is going to fail. Having the build scripts right next to the binaries is also probably not a smart idea. And WTF is that build queue? Are you serious?
https://raw.githubusercontent.com/arch-aura/arch-aura.github.io/master/build_queue
Regarding the CI loop you're triggering, I'm not quite sure if that's against their ToS and whether you will be blocked once you've exceeded a certain run time:
https://github.com/arch-aura/arch-aura.github.io/blob/e0c88f2b0d952526aeec8fcffa7c28de695480c0/.travis.yml#L31
You're also querying the AUR API endpoints for each package listed in your build queue, which is every package in the entire AUR.
https://github.com/arch-aura/arch-aura.github.io/blob/e0c88f2b0d952526aeec8fcffa7c28de695480c0/build.sh#L125
That's another abuse of a free service.
Couldnt agree more. Well said.
To add, auto building that many AUR packages is not a good idea. Something will always break eventually.
Deleted before we saved it.
Please. Can you avoid ad hominem and give an argument for why you thing "stealing" that free service is not a good idea. I think that way your comment will have a bigger impact. Thanks. :)
From the Arch CoC :
That's not an ad hominem attack. "You're a shitty person" is an ad hominem. "That is a shitty thing to do" may be vulgar, but it is directed at the action, not the person.
You should look into using aurutils for this.
Deleted before we saved it.
Well you can run aurutils in travis just like you are makepkg. Which will simplify your script.
/u/madaffin has an article on it I think but I can't find it.
Aurutils also has its own man page on this: https://github.com/AladW/aurutils/blob/master/man7/aurhosting.7
i feel concerned since some AUR packages proved to be malware, then this subreddits said "oh fuck this people installing AUR without reading source code are just stupids morons". I still use and love Arch but now i'd prefer to avoid AUR. atm i still have some.
This seems like a bad mindset. The packages in the repos are the exact same as the packages in the AUR, except that we trust the Arch maintainers to run makepkg and generate a .tar.xz and then send those to us via the repos. All the official packages also have PKGBUILDS.
With the AUR, the only difference is that the Arch maintainers don't write/maintain the PKGBUILDS and compile it - some random person thought a package was worth having on Arch, so they write a PKGBUILD and then you compile it on your computer. Of course there will be evil people trying to get us to install malware, and of course it's often your fault if you let it happen - you just downloaded a random script by a random person and ran it!
It's not hard to stay safe - just take a glance at the PKGBUILD before installing. For example, here's the one for cmus-git: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=cmus-git
At the top you can see the metadata and the dependencies; nothing important there. Just check the source (in this case it does point to the correct git repository), and the build/package functions - in this case they obviously don't contain any malicious code - they just compile with configure and make.
But an official package has been reviewed, ain't ? I know at least for Fedora for example the review process is really precise, you have to be careful in order to package to be approved. This is the added value.
Deleted before we saved it.
Why was this deleted? I liked the idea but it could be done better.