Skip to content

Commit abe3250

Browse files
committed
Add more text to the readme
1 parent 0d924d3 commit abe3250

File tree

2 files changed

+59
-2
lines changed

2 files changed

+59
-2
lines changed

.github/assets/mOWZt75.png

283 KB
Loading

README.md

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,70 @@ afford to.
2626

2727
[2]: https://diffoscope.org/
2828

29-
# Setup
29+
# Accessing a rebuilderd instance in your browser
30+
31+
Many instance run a web frontend to display their results. [rebuilderd-website]
32+
is a very good choice and the software powering the Arch Linux rebuilderd
33+
instance:
34+
35+
[rebuilderd-website]: https://gitlab.archlinux.org/archlinux/rebuilderd-website
36+
37+
https://reproducible.archlinux.org/
38+
39+
Loading the index of all packages may take a short time.
40+
41+
# Scripting access to a rebuilderd instance
42+
43+
It's also possible to query and manage a rebuilderd instance in a scriptable
44+
way. It's recommended to install the `rebuildctl` commandline util to do this:
45+
46+
pacman -S rebuilderd
47+
48+
You can then query a rebuilderd instance for the status of a specific package:
49+
50+
rebuildctl -H https://reproducible.archlinux.org pkgs ls --name rebuilderd
51+
52+
You have to specify which instance you want to query because there's no
53+
definite truth™. You could ask multiple instances though, including one you
54+
operate yourself.
55+
56+
If the rebuilder seems to have outdated data or lists a package as unknown the
57+
update may still be in the build queue. You can query the build queue of an
58+
instance like this:
59+
60+
rebuildctl -H https://reproducible.archlinux.org queue ls --head
61+
62+
If there's no output that means the build queue is empty.
63+
64+
If you're the administrator of this instance you can also run commands like:
65+
66+
rebuildctl status
67+
68+
Or immediately retry all failed rebuild attempts (there's an automatic retry on
69+
by default):
70+
71+
rebuildctl pkgs requeue --status BAD --reset
72+
73+
# Running a rebuilderd instance yourself
74+
75+
![journalctl output of a rebuilderd-worker](.github/assets/mOWZt75.png)
76+
77+
"I compile everything from source" - a significant amount of real world binary
78+
packages can already be reproduced today. The more people run rebuilders, the
79+
harder it is to compromise all of them.
80+
81+
At the current stage of the project we're interested in every rebuilder there
82+
is! Most rebuilderd discussion currently happens in #archlinux-reprodubile on
83+
freenode, feel free to drop by if you're running a instance or considering
84+
setting one up. Having a few unreproducible packages is normal (even if it's
85+
slightly more than the official rebuilder), but having additional people
86+
confirm successful rebuilds is very helpful.
3087

3188
## Arch Linux
3289

3390
Please see the setup instructions in the [Arch Linux Wiki](https://wiki.archlinux.org/index.php/Rebuilderd).
3491

35-
## Development
92+
# Development
3693

3794
A rebuilder consists of the `rebuilderd` daemon and >= 1 workers:
3895

0 commit comments

Comments
 (0)