adding some minor tweaks and TODO

This commit is contained in:
brent s. 2020-07-24 22:52:15 -04:00
parent 3676acfc00
commit 18024ba61a
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
2 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,7 @@
<!--
This is by default placed in ~/.config/repomirror.xml
Remember to replace any necessary special characters (https://stackoverflow.com/a/1091953/733214).
Also, your mirror server should definitely be using UTC. You're going to see a LOT of weirdness if not.
-->
<mirror xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://git.square-r00t.net/RepoMirror/"
@ -121,8 +122,8 @@
You can optionally specify an offset via the "offset" attribute in the same format as "delayCheck" if your
upstream's remote files are using a different timezone instead of UTC.
e.g.:
* If your upstream uses UTC-4 for its timestamp files', you would use "-PT4H".
* If your upstream uses UTC+6 for its timestamp files, you would use either "+PT4H" or just "PT4H".
* If your upstream uses UTC-4 for its timestamp files, you would use "-PT4H".
* If your upstream uses UTC+6 for its timestamp files, you would use either "+PT6H" or just "PT6H".
-->
<upstream delayCheck="P0Y0M2DT0H0M0S" offset="-PT0S">
<!--

View File

@ -2,6 +2,10 @@
lxml>=4.5.1
psutil>=5.7.0
requests>=2.23.0
## TODO: support non-UTC local timezone.
# https://stackoverflow.com/questions/13218506/how-to-get-system-timezone-setting-and-pass-it-to-pytz-timezone
# https://stackoverflow.com/questions/5067218/get-utc-timestamp-in-python-with-datetime
#tzlocal>=2.1
# The below are optional.
## Provides journald logging on systemd machines.
## However, it isn't in PyPi; look for something like "python-systemd" or "python3-systemd" in your distro's repositories (it's built from the systemd source).