Package Details: reflector-timer 9-1

Git Clone URL: https://aur.archlinux.org/reflector-timer.git (read-only)
Package Base: reflector-timer
Description: A service and timer for the reflector mirrorlist upgrade.
Upstream URL: http://xyne.archlinux.ca/projects/reflector/
Licenses: GPL
Submitter: killermoehre
Maintainer: killermoehre
Last Packager: killermoehre
Votes: 43
Popularity: 2.157159
First Submitted: 2015-06-19 21:22
Last Updated: 2018-07-01 12:56

Latest Comments

1 2 3 4 5 Next › Last »

jdorel commented on 2019-06-22 10:57

What do you think about adding /etc/pacman.d/reflector-timer.conf as an environment file (maybe keeping conf.d for compatibility) ? After all, reflector is a utility dedicated for pacman, and from what I could gather /etc/conf.d appears to be for initialisation configuration.

Also, using OnUnitActiveSec=1w, in combination with RandomizedDelaySec=12h would mean a gradual time shift accross the community, spreading the updates across the whole week instead of on Monday +- 51H (timezones + randomized delay). I admit this is being peeky :)

no-cheating commented on 2019-01-21 23:04

@killermoehre Someone already mentioned that there seems no way to specify multiple countries. Though you're right that it's possible by appending --country ANOTHER_COUNTRY to PROTOCOL variable, it seems like a hack and is counter-intuitive.

I also think it'd be nice to be able to not specify any country at all (which is equal to querying all countries) and the same go for other parameters, e.g. age, latest. reflector accepts not specifying them, so why not allow them in a configuration for reflector-timer too?

Artemis commented on 2019-01-04 15:28

@A.Shukaev No, the script invocation works as intended. This is somewhat surprising, but the expansion rules for systemd units are not the same as for shell scripts: https://www.freedesktop.org/software/systemd/man/systemd.service.html#Command%20lines Especially the proposed variable expansion does not work in your case, since systemd does not implement it.

A.Shukaev commented on 2018-10-24 20:54

Why the invocation for protocols is written like this?

"$PROTOCOL1" "$PROTOCOL2" "$PROTOCOL3"

This obviously result in wrong invocation after expansion.

It should rather be

${PROTOCOL1:+-p "${PROTOCOL1}"} ${PROTOCOL2:+-p "${PROTOCOL2}"} ${PROTOCOL3:+-p "${PROTOCOL3}"}

while in the configuration

PROTOCOL1='http' PROTOCOL2='https' PROTOCOL3='ftp'

All that time I kept wondering why reflector does not do its job, until I discovered this. How did it ever work for other people?

killermoehre commented on 2018-07-01 13:15

@softmoth Good catch. Done.

softmoth commented on 2018-06-30 18:02

I think rsync protocol should be disabled in reflector.conf, since rsync is deprecated. https://www.archlinux.org/news/deprecation-of-abs/

killermoehre commented on 2018-04-09 11:02

@kewl

done. good idea

kewl commented on 2018-03-30 12:09

@killermoehre: why not RandomizedDelaySec the timer instead of everybody firing at midnight or at boot time? The AccuracySec is just regrouping timer units.

eaut commented on 2018-02-25 19:33

Thanks, much better. I was not aware that NetworkManager-wait-online.service exists. Default seems to be "disabled".

killermoehre commented on 2018-02-25 10:20

@eaut Do you start something providing network-online.target like systemd-networkd-wait-online.service or NetworkManager-wait-online.service? Else it can't work.