Skip to content

I ain't building AUR packages no more! Are you?

Removed before it was archived.

Edited 17 Apr 2019. We only hold this version.

0 points12 comments
Open on Reddit
About this post
Posted
Archived
Deleted on
Edited
Score
0 · 100% up
Kind
Text
ID
bec2er

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.

18 points

Couldnt agree more. Well said.

To add, auto building that many AUR packages is not a good idea. Something will always break eventually.

8 points
unknown author

Deleted before we saved it.

1 points

Pretty shitty thing to do, if you ask me.

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 :

Respect other users

Arch Linux is a respectful, inclusive community. Anti-social or offensive behaviour will not be tolerated. Simply put, treat others as you would be treated; respect them and their > views, even if you disagree with them. When you do find yourself disagreeing; counter the idea or the argument. Do not engage in ad hominem attacks.

-6 points

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.

11 points

You should look into using aurutils for this.

9 points

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.

3 points

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.

9 points

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.

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.