Commit Graph

42 Commits

Author SHA1 Message Date
1c8f4da1b1
updating todo 2020-08-02 01:47:02 -04:00
8a10f485f5
todo 2020-08-02 00:39:51 -04:00
cddaa4bcc5
attempting to fix an issue with timestamps 2020-07-26 03:52:37 -04:00
8263de6875
missed one, see prev commit 2020-07-24 23:10:27 -04:00
712dc8e4c7
increasing logging on update timestamp comparison 2020-07-24 23:08:27 -04:00
18024ba61a
adding some minor tweaks and TODO 2020-07-24 22:52:15 -04:00
brent s
3676acfc00
fixing dict comprehension
/usr/local/lib/repomirror/repomirror/sync.py:361: UserWarning: The sync process for arch is locked with file /var/run/repomirror/arch.lck and PID 2981337.
  warnings.warn(warnmsg)
Traceback (most recent call last):
  File "/usr/local/bin/reposync", line 56, in <module>
    main()
  File "/usr/local/bin/reposync", line 51, in main
    r.sync()
  File "/usr/local/lib/repomirror/repomirror/sync.py", line 435, in sync
    distro.sync()
  File "/usr/local/lib/repomirror/repomirror/sync.py", line 363, in sync
    proc_info = {k.lstrip('_'):v for k, v in vars(proc) if k not in ('_lock', '_proc')}
  File "/usr/local/lib/repomirror/repomirror/sync.py", line 363, in <dictcomp>
    proc_info = {k.lstrip('_'):v for k, v in vars(proc) if k not in ('_lock', '_proc')}
ValueError: too many values to unpack (expected 2)
2020-07-24 22:50:13 -04:00
a2e9075671
okay. so. let's try this out. 2020-07-24 01:37:36 -04:00
brent s.
803fb7c5fa Automated commit (/opt/dev/infra/gitclass.py) 2020-07-23 23:15:17 -04:00
brent s
d751d14be4
oops. 2020-07-23 14:49:50 -04:00
brent s
bc9a653234
updating to support configurable delay checking and rsync exit code ignoring 2020-07-23 14:39:47 -04:00
brent s
4bdb31541b
adding in some delay checking calculation and parsing of xs:duration types. 2020-07-23 12:05:36 -04:00
a3203ab03a
fix reporting zero exit for rsync as non-zero
would give warning output like the following:

/usr/local/lib/repomirror/repomirror/fetcher/rsync.py:78: UserWarning: Rsync process returned non-zero 0 (Success) for rsync --recursive --times --links --hard-links --delete-after --delay-updates --copy-links --safe-links --delete-excluded --no-motd --exclude=.* --verbose --log-file-format="[RSYNC arch.mirror.constant.com:873]:%l:%f%L" --log-file=/var/log/repo/arch.log rsync://arch.mirror.constant.com:873/archlinux/. /srv/repos/arch/.
2020-07-07 13:32:02 -04:00
6d384e71ae
version bump 2020-07-07 02:31:01 -04:00
09afe59b91
double curly braces where there should have been one. minor fix, but breaks otherwise. 2020-07-07 02:30:15 -04:00
845cd90ddf
fixed apparently. version bump 2020-06-24 01:52:52 -04:00
ac431a873e
more logging to try to find cause of refusal to sync. 2020-06-24 01:25:18 -04:00
2ff334f220
still not syncing properly... 2020-06-24 01:15:56 -04:00
c8bf61ea98
whoops 2020-06-24 01:01:58 -04:00
0e16214e45
found a bug in distro selection 2020-06-24 00:59:14 -04:00
0ff9af4c48
way better rsync logging 2020-06-18 13:01:25 -04:00
ac1886e46b
better rsync logging 2020-06-18 12:45:08 -04:00
1a5068d77d
fucking fedora. 2020-06-18 04:14:18 -04:00
3ece313a6f
SOOOO fedora implements ACL bullshit in their mirroring. Rendering this script useless. 2020-06-18 03:42:48 -04:00
061a18e8f4
dang it, don't need a linebreak there. 2020-06-18 00:40:08 -04:00
6d5a382e53
updating README 2020-06-18 00:38:28 -04:00
99468dd4a8
v1.0.1 2020-06-18 00:29:12 -04:00
6b4176f73a
adding requirements.txt ... thanks, amayer. 2020-06-17 20:43:28 -04:00
7dbcaafeee
aaand should add a LICENSE. thanks, amayer! 2020-06-17 20:15:13 -04:00
925064ebc9
move the README to project root 2020-06-17 14:29:50 -04:00
a252d4d7fc
should probably point README to example.config.xml 2020-06-17 14:26:00 -04:00
29e191e8b5
add README 2020-06-17 13:55:23 -04:00
fca5f12aa2
suppress a specific warning if we're running from cron, otherwise there's a lot of cron alerts. 2020-06-17 13:46:58 -04:00
dce40d7225
typo 2020-06-17 01:37:09 -04:00
9f39d0562d
whoops, small bug 2020-06-17 01:10:09 -04:00
0b2b74888f
looks like it's done. 2020-06-17 01:05:56 -04:00
961952ed56
time to test. 2020-06-17 01:05:32 -04:00
66d1ad7af5
i am ALMOST done. just need to finish timestamp comparisons.
i can probably do it with a sorted list and comparing the last values in a remote vs. local list.
2020-06-16 02:34:05 -04:00
eed480c590
checking in work 2020-06-14 03:46:29 -04:00
2ba79cd801
about to change up a lot of stuff... 2020-06-14 00:53:12 -04:00
5526111743
adding some stuff for repomirror 2020-06-13 03:46:49 -04:00
19fddfaacf
initial commit 2020-06-12 22:11:36 -04:00