Commit graph

126 commits

Author SHA1 Message Date
lilydjwg
e7e8142d05 watch necessary events only
so that an overflow is less likely to happen.
2025-02-22 20:55:20 +08:00
lilydjwg
eaddcd33ba update nicelogger 2024-04-28 16:30:36 +08:00
lilydjwg
954068b000 sync archpkg.py 2023-08-26 10:32:38 +08:00
依云
fa4f743045
Merge pull request #9 from yingziwu/vercmp
fix bug on pkgver compare
2023-08-23 13:15:19 +08:00
bgme
5bc16468cb remove setuptools from setup.py install_requires 2023-08-23 01:24:18 +08:00
bgme
668140131b replace subprocess with pyalpm 2023-08-22 01:29:56 +08:00
bgme
9187984b6b fix bug on pkgver compare 2023-08-22 01:29:43 +08:00
lilydjwg
c0031235a6 distinguish between linking and creating new files
fixes https://github.com/archlinuxcn/lilac/issues/139
2019-11-27 16:36:38 +08:00
lilydjwg
7a7ab1b4e4 enable spool-directory in example config 2019-11-27 16:33:01 +08:00
lilydjwg
c074e3b271 db version 0.1 is gone 2019-10-17 15:55:40 +08:00
lilydjwg
eef3c96242 drop pkgreader
This field currently has no use, and even if we'll need it later, we
should implement it using pyalpm.

This changes is made to support zstd-compressed packages.
2019-10-17 15:54:29 +08:00
lilydjwg
bd1ac0962f update modules from winterpy 2019-10-17 15:50:02 +08:00
lilydjwg
fe1e4b10cf write a lastupdate file in the repo 2019-02-26 15:50:14 +08:00
lilydjwg
79494a5722 repomon: move send_notification to EventHandler 2019-02-26 15:44:46 +08:00
lilydjwg
b3d473d79b rely on systemd service for daemonization things 2019-02-23 17:53:46 +08:00
lilydjwg
3c26780080 pkgreader: look further for a nice package 2018-08-28 17:30:48 +08:00
lilydjwg
2ef72fe1a9 pkgreader: better detection of "nice packages" 2018-08-28 17:05:02 +08:00
lilydjwg
059e0bb581 pyinotify needs the ioloop arg 2018-08-10 18:34:13 +08:00
lilydjwg
db7e1797fc remove one more ioloop arg 2018-08-10 16:54:13 +08:00
lilydjwg
05c6a7b233 remove explicite ioloop argument, supporting tornado >= 5
This also makes it no longer support tornado < 3.1, which was at least
five years old.

Fixes #4.
2018-08-10 15:40:52 +08:00
lilydjwg
763d1ec110 add systemd service file 2018-06-25 14:28:36 +08:00
lilydjwg
e00de1a616 add support for a spool directory 2017-08-08 14:54:32 +08:00
依云
65660f23c5 handle CREATE event for hard links 2016-10-08 12:38:14 +08:00
依云
bcca713e5c configurable supported archs 2016-08-22 17:47:31 +08:00
Yichao Yu
5a28db12f2
Add ARM (arm, armv6h, armv7h) and AArch64 support
Also make sure the directory is created before watching it/creating files in it.
2016-08-08 21:40:52 +08:00
lilydjwg
a107e8c849 bump version 2016-04-07 22:01:07 +08:00
lilydjwg
1033406f00 update for repo-add 5.0.1
-f is removed and *.files* are always created now :-)
2016-04-07 22:00:02 +08:00
lilydjwg
6631087e38 update TODO 2015-02-20 17:33:40 +08:00
lilydjwg
3e508908b2 on_update_notification: don't run too frequently 2015-02-20 17:32:39 +08:00
lilydjwg
6b38fdf608 fix: use absolute paths in self.files
relative paths are only used in database
2014-10-31 12:44:13 +08:00
lilydjwg
53c8f08dc8 package release can be float; archpkg update 2014-10-31 12:25:08 +08:00
lilydjwg
0ff3bc0c71 use relative path in database; requires running upgrade script 2014-10-30 16:16:14 +08:00
lilydjwg
b4dc45361b on_update_notification: better logging 2014-10-19 19:39:23 +08:00
lilydjwg
dd343c911b on_update_notification: no dry run 2014-10-19 16:34:30 +08:00
lilydjwg
556d56d6b5 better logging 2014-10-19 16:33:14 +08:00
lilydjwg
0961fe2dea add on_update_notification script 2014-10-19 16:12:15 +08:00
lilydjwg
c4be566662 fix notification message generation 2014-10-19 16:11:57 +08:00
lilydjwg
2c5b9ccb28 multiple addresses in simple-udp notification 2014-10-19 15:33:49 +08:00
lilydjwg
bc3a890194 Merge remote-tracking branch 'github/master' 2014-08-23 17:07:17 +08:00
依云
3199458fab Merge pull request #1 from felixonmars/use-setuptools
use setuptools instead of distribute in docs
2014-07-18 10:55:11 +08:00
Felix Yan
a2c91529a6 use setuptools instead of distribute in docs 2014-07-18 03:25:59 +08:00
lilydjwg
36623c805e multiple actions to same package, let's do latter
That is, existing + add + remove = removed
2014-03-27 14:26:38 +08:00
lilydjwg
7fea77f5ae run next command when this one fails 2014-03-27 14:26:07 +08:00
lilydjwg
386b8e3a6d move remove_old_packages to elsewhere 2014-03-23 14:57:54 +08:00
lilydjwg
a6d93e339c typo in same_existent_file 2014-02-13 22:15:20 +08:00
lilydjwg
eaf9afc912 avoid to create symlink loops 2014-02-13 22:12:54 +08:00
lilydjwg
2a294ea85b bump version 2014-02-13 21:54:56 +08:00
lilydjwg
ab48a6d810 test updated 2014-02-13 21:53:40 +08:00
lilydjwg
686227b6f2 stat first before callbacks
so that when the callbacks run, the paths are more likely to exist
2014-02-13 21:04:08 +08:00
lilydjwg
1c97b7402d minor change 2014-02-13 18:38:19 +08:00