ViewVC Help
View Directory | Revision Log | View Changeset | Root Listing
root/freshports-1/daemontools/trunk
Revision 5813 - Directory Listing - [select for diffs]
Modified Fri Sep 10 15:57:01 2021 UTC (3 years, 6 months ago) by dan
Diff to previous 5485
require ssl
Revision 5485 - Directory Listing - [select for diffs]
Modified Mon Sep 28 16:20:54 2020 UTC (4 years, 6 months ago) by dan
Diff to previous 5336
Changes tabs to spaces


Revision 5336 - Directory Listing - [select for diffs]
Modified Sat May 16 17:19:58 2020 UTC (4 years, 10 months ago) by dan
Diff to previous 5330
Mention where the real code is in dev


Revision 5330 - Directory Listing - [select for diffs]
Modified Sun May 3 20:31:51 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5319
Remove trailing * from news cache


Revision 5319 - Directory Listing - [select for diffs]
Modified Wed Apr 29 18:59:46 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5317
If the rollback fails, say so


Revision 5317 - Directory Listing - [select for diffs]
Modified Wed Apr 29 17:49:40 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5316
Change the signal name to match the others

I note that the listen_for table is not named great. The script_name isn't
necessarily the script which gets invoked, but it does help.


Revision 5316 - Directory Listing - [select for diffs]
Modified Wed Apr 29 17:43:16 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5314
Add ability to clear packages cache via zfs rollback

Add in the category cache which I'm sure is needed in prod

Convert all lingering print to syslog.

Remove commented out code


Revision 5314 - Directory Listing - [select for diffs]
Modified Tue Apr 28 21:23:58 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5308
A starting point for package cache clearing


Revision 5308 - Directory Listing - [select for diffs]
Modified Mon Apr 27 15:42:08 2020 UTC (4 years, 11 months ago) by dan
Diff to previous 5256
remove 'nothing found' logger command

It fills up the logs.


Revision 5256 - Directory Listing - [select for diffs]
Modified Thu Jan 23 02:13:46 2020 UTC (5 years, 2 months ago) by dan
Diff to previous 5255
Remove duplicate code from ClearMiscCaches() which used glob.glob




Revision 5255 - Directory Listing - [select for diffs]
Modified Thu Jan 23 02:00:58 2020 UTC (5 years, 2 months ago) by dan
Diff to previous 5253
Remove superfluous comments
use NEWS_CACHE_DIR instead of NEWS_CACHE_PATH

Revision 5253 - Directory Listing - [select for diffs]
Modified Thu Jan 23 01:36:21 2020 UTC (5 years, 2 months ago) by dan
Diff to previous 5250
Use path for cache/news because glob.glob is not working


Revision 5250 - Directory Listing - [select for diffs]
Modified Wed Jan 22 16:55:35 2020 UTC (5 years, 2 months ago) by dan
Diff to previous 5247
has_key is gone in Python 3

While here, add more debugging.


Revision 5247 - Directory Listing - [select for diffs]
Modified Sun Jan 19 20:58:43 2020 UTC (5 years, 2 months ago) by dan
Diff to previous 5239
Updates for Python 3


Revision 5239 - Directory Listing - [select for diffs]
Modified Sat Nov 23 18:55:46 2019 UTC (5 years, 4 months ago) by dan
Diff to previous 5226
Upgrades for Python 3.6

Revision 5226 - Directory Listing - [select for diffs]
Modified Wed Jul 17 22:06:25 2019 UTC (5 years, 8 months ago) by dan
Diff to previous 5225
use -p to preserve mtime


Revision 5225 - Directory Listing - [select for diffs]
Modified Mon Jul 15 18:56:56 2019 UTC (5 years, 8 months ago) by dan
Diff to previous 5095
Instead of using mv which caused:
/usr/local/bin/readproctitle service errors: ...message-queues/recent/2019.07.15.15.42.07.48391.txt.raw: set owner/group (was: 10002/10001): Operation not permitted\nmv: /var/db/freshports/message-queues/recent/2019.07.15.15.43.31.53460.txt.raw: set owner/group (was: 10002/10001): Operation not permitted\nmv: /var/db/freshports/message-queues/recent/2019.07.15.15.45.39.56551.txt.raw: set owner/group (was: 10002/10001): Operation not permitted\n

use cp and rm

even when using this example:
[dan@dev-ingress01:~] $ ls -l ~ingress/message-queues/ ~freshports/message-queues/
/var/db/freshports/message-queues/:
total 248
drwxr-xr-x  18 freshports  freshports   18 Jul  2 03:16 archive
drwxr-xr-x  10 freshports  freshports   18 Jun 10 22:03 retry

/var/db/ingress/message-queues/:
total 3
drwxr-xr-x  2 root     ingress     10 Mar 20 13:53 DUPS
drwxrwxr-x  2 ingress  freshports   2 Jul 15 15:29 incoming


Revision 5095 - Directory Listing - [select for diffs]
Modified Tue Aug 14 23:05:10 2018 UTC (6 years, 7 months ago) by dan
Diff to previous 5050
if job-waiting.pl dies, log it.


Revision 5050 - Directory Listing - [select for diffs]
Modified Tue May 1 15:13:28 2018 UTC (6 years, 11 months ago) by dan
Diff to previous 4998
Rename freshports to fp-daemon

Revision 4998 - Directory Listing - [select for diffs]
Modified Mon Dec 4 23:46:51 2017 UTC (7 years, 4 months ago) by dan
Diff to previous 4997
Add more logging re what we are deleting

Revision 4997 - Directory Listing - [select for diffs]
Modified Mon Dec 4 23:45:06 2017 UTC (7 years, 4 months ago) by dan
Diff to previous 4994
Remove quotes. They are retained in the string and won't work with glob

Revision 4994 - Directory Listing - [select for diffs]
Modified Mon Dec 4 18:37:38 2017 UTC (7 years, 4 months ago) by dan
Diff to previous 4992
Fix news directory

Revision 4992 - Directory Listing - [select for diffs]
Modified Mon Dec 4 12:29:25 2017 UTC (7 years, 4 months ago) by dan
Diff to previous 4990
Use proper Python boolean values (e.g. True instead of true).

Revision 4990 - Directory Listing - [select for diffs]
Modified Mon Dec 4 01:11:05 2017 UTC (7 years, 4 months ago) by dan
Diff to previous 4989
Fix ClearMiscCaches so it runs

Revision 4989 - Directory Listing - [select for diffs]
Modified Thu Nov 9 01:26:17 2017 UTC (7 years, 4 months ago) by dan
Diff to previous 4987
Adjust for what works

Revision 4987 - Directory Listing - [select for diffs]
Modified Thu Nov 9 00:39:22 2017 UTC (7 years, 4 months ago) by dan
Diff to previous 4893
Addl fp-listen to clear news cache etc when a commit occurs

Revision 4893 - Directory Listing - [select for diffs]
Modified Wed Oct 18 12:24:00 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4892
Invoke freebsd-cvs.sh with /bin/sh, just to be sure.

Revision 4892 - Directory Listing - [select for diffs]
Modified Wed Oct 18 12:23:16 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4871
Better logging, to local3, which is what FreshPorts uses.

Revision 4871 - Directory Listing - [select for diffs]
Modified Wed Oct 11 22:25:22 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4870
Update the code for use with psycopg2, as grabbed from jester, but not
checked in.

Revision 4870 - Directory Listing - [select for diffs]
Modified Wed Oct 11 22:24:50 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4868
Remove unused it: QUEUENAME

Revision 4868 - Directory Listing - [select for diffs]
Modified Wed Oct 11 22:04:06 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4866
Move fp-listen.py to a subdirectory

Revision 4866 - Directory Listing - [select for diffs]
Modified Wed Oct 11 22:00:36 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4864
Log to facility=syslog.LOG_LOCAL3

Revision 4864 - Directory Listing - [select for diffs]
Modified Wed Oct 11 19:57:04 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4862
Add

Revision 4862 - Directory Listing - [select for diffs]
Modified Wed Oct 11 19:38:22 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4861
Start using configparser — Configuration file parser

Revision 4861 - Directory Listing - [select for diffs]
Modified Wed Oct 11 15:23:24 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4859
Fix scriptdir typo

Revision 4859 - Directory Listing - [select for diffs]
Modified Wed Oct 11 14:42:07 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4844
Upgrade for new freshports user approach

Revision 4844 - Directory Listing - [select for diffs]
Modified Mon Oct 9 23:45:56 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4842
The incoming directory is under ingress

Revision 4842 - Directory Listing - [select for diffs]
Modified Mon Oct 9 22:31:46 2017 UTC (7 years, 5 months ago) by dan
Diff to previous 4802
Upgrade to new directory structure

Revision 4802 - Directory Listing - [select for diffs]
Modified Thu Jan 26 18:35:32 2017 UTC (8 years, 2 months ago) by dan
Diff to previous 4761
Multiple changes because we are now using psycopg2

re http://initd.org/psycopg/docs/extensions.html?highlight=notify#psycopg2.extensions.Notify

Revision 4761 - Directory Listing - [select for diffs]
Modified Sun Apr 3 19:58:46 2016 UTC (9 years ago) by dan
Diff to previous 4759
Update the samples to the latest stuff we are using

Revision 4759 - Directory Listing - [select for diffs]
Modified Sun Apr 3 18:32:59 2016 UTC (9 years ago) by dan
Diff to previous 4736
Start watching for new entries in cache_clearing_dates

Revision 4736 - Directory Listing - [select for diffs]
Modified Sat Aug 1 19:03:16 2015 UTC (9 years, 8 months ago) by dan
Diff to previous 4733
Add and use FLAGDIR

Revision 4733 - Directory Listing - [select for diffs]
Modified Fri Jul 31 15:20:05 2015 UTC (9 years, 8 months ago) by dan
Diff to previous 4732
Make better use of SCRIPTDIR

Revision 4732 - Directory Listing - [select for diffs]
Modified Fri Jul 31 15:17:30 2015 UTC (9 years, 8 months ago) by dan
Diff to previous 4731
Add a trailing newline

Revision 4731 - Directory Listing - [select for diffs]
Modified Fri Jul 31 15:16:16 2015 UTC (9 years, 8 months ago) by dan
Diff to previous 4730
Use no symlinks

Revision 4730 - Directory Listing - [select for diffs]
Modified Fri Jul 31 15:15:32 2015 UTC (9 years, 8 months ago) by dan
Diff to previous 4577
Seems we do not use BASEDIR here

Revision 4577 - Directory Listing - [select for diffs]
Modified Sat Jan 25 17:00:47 2014 UTC (11 years, 2 months ago) by dan
Diff to previous 4172
Include hostname and password in DSN

Revision 4172 - Directory Listing - [select for diffs]
Modified Fri Oct 12 16:32:34 2007 UTC (17 years, 5 months ago) by dan
Diff to previous 4116
when processing a new category, fetch /www/en/ports/categories

Yes, we should use configuration items for these URLS...

Revision 4116 - Directory Listing - [select for diffs]
Modified Mon Jun 4 03:28:24 2007 UTC (17 years, 10 months ago) by dan
Diff to previous 4059
Now that we are caching files and non ports, be prepared to remove
directories etc (e.g. files/patch-*)

Revision 4059 - Directory Listing - [select for diffs]
Modified Tue Feb 13 23:14:13 2007 UTC (18 years, 1 month ago) by dan
Diff to previous 4057
Ignore supervise

Revision 4057 - Directory Listing - [select for diffs]
Modified Tue Feb 13 23:11:22 2007 UTC (18 years, 1 month ago) by dan
Diff to previous 4056
Update the cache file structure to category/port/files

Revision 4056 - Directory Listing - [select for diffs]
Modified Tue Feb 13 23:10:56 2007 UTC (18 years, 1 month ago) by dan
Diff to previous 4047
ignore config.py

Revision 4047 - Directory Listing - [select for diffs]
Modified Wed Jan 31 22:48:05 2007 UTC (18 years, 2 months ago) by dan
Diff to previous 4046
Configuration values for www/en/ports/categories

Revision 4046 - Directory Listing - [select for diffs]
Modified Wed Jan 31 22:46:24 2007 UTC (18 years, 2 months ago) by dan
Diff to previous 4033
Add code for listen_category_new

Revision 4033 - Directory Listing - [select for diffs]
Modified Fri Jan 5 01:35:18 2007 UTC (18 years, 3 months ago) by dan
Diff to previous 4010
Allow for globs.... do it the right way.

Revision 4010 - Directory Listing - [select for diffs]
Modified Sun Dec 17 11:41:26 2006 UTC (18 years, 3 months ago) by dan
Diff to previous 3972
Merge from FreshPorts2 to HEAD

Revision 3972 - Directory Listing - [select for diffs]
Modified Fri Nov 10 14:08:26 2006 UTC (18 years, 4 months ago) by dan
Diff to previous 3971
while : is better than while true.
From man sh:
 :       A null command that returns a 0 (true) exit value.

Revision 3971 - Directory Listing - [select for diffs]
Modified Fri Nov 10 13:52:02 2006 UTC (18 years, 4 months ago) by dan
Diff to previous 3786
while . was not working on 6.2-prerelease
Let's use while true instead

Revision 3786 - Directory Listing - [select for diffs]
Modified Wed Sep 13 22:33:40 2006 UTC (18 years, 6 months ago) by dan
Diff to previous 3785
Add details for clearing stale cache entries

Revision 3785 - Directory Listing - [select for diffs]
Modified Wed Sep 13 22:12:34 2006 UTC (18 years, 6 months ago) by dan
Diff to previous 3778
Replace config.sh.sample with config.py.sample and start using it.

Revision 3778 - Directory Listing - [select for diffs]
Modified Mon Sep 11 23:35:01 2006 UTC (18 years, 6 months ago) by dan
Diff to previous 3777
Add a sleep in there when OFFLINE

Revision 3777 - Directory Listing - [select for diffs]
Modified Mon Sep 11 23:34:06 2006 UTC (18 years, 6 months ago) by dan
Diff to previous 3776
Ignore log

Revision 3776 - Directory Listing - [select for diffs]
Modified Mon Sep 11 23:05:21 2006 UTC (18 years, 6 months ago) by dan
Diff to previous 3768
Better checking for OFFLINE.

Revision 3768 - Directory Listing - [select for diffs]
Modified Mon Sep 11 01:49:16 2006 UTC (18 years, 6 months ago) by dan
Diff to previous 3766
Add RCS ID.
Correctly specify the cache path
Better syslogging.
Move to deleting cache entries one by one, and deleting from
the cache needed table one by one.  Commit after each.  Sounds fair to me.

Revision 3766 - Directory Listing - [select for diffs]
Modified Fri Sep 8 02:03:40 2006 UTC (18 years, 7 months ago) by dan
Diff to previous 3765
ignore thise

Revision 3765 - Directory Listing - [select for diffs]
Modified Fri Sep 8 02:02:30 2006 UTC (18 years, 7 months ago) by dan
Diff to previous 3764
Add these

Revision 3764 - Directory Listing - [select for diffs]
Modified Fri Sep 8 02:01:48 2006 UTC (18 years, 7 months ago) by dan
Diff to previous 3763
Add a logger tag so we know what daemon is logging.

Revision 3763 - Directory Listing - [select for diffs]
Modified Fri Sep 8 02:01:14 2006 UTC (18 years, 7 months ago) by dan
Diff to previous 3762
ignore these

Revision 3762 - Directory Listing - [select for diffs]
Modified Fri Sep 8 02:00:54 2006 UTC (18 years, 7 months ago) by dan
Diff to previous 3761
Ignore these

Revision 3761 - Directory Listing - [select for diffs]
Modified Sat Sep 2 22:50:27 2006 UTC (18 years, 7 months ago) by dan
Diff to previous 3760
Remove fp2migration

Revision 3760 - Directory Listing - [select for diffs]
Modified Sat Sep 2 22:49:29 2006 UTC (18 years, 7 months ago) by dan
Diff to previous 3495
Remove freshports-cache

Revision 3495 - Directory Listing - [select for diffs]
Modified Mon Feb 20 17:41:40 2006 UTC (19 years, 1 month ago) by dan
Diff to previous 3465
When OFFLINE, do not process the queue.  Otherwise, you wind up with unprocessed
files in the RECENT directory.

Revision 3465 - Directory Listing - [select for diffs]
Modified Sun Jan 8 02:46:39 2006 UTC (19 years, 3 months ago) by dan
Diff to previous 3398
Mention that access rights are important!

Revision 3398 - Directory Listing - [select for diffs]
Modified Wed Aug 3 12:19:14 2005 UTC (19 years, 8 months ago) by dan
Diff to previous 3384
Serialize the processing of all updates

Revision 3384 - Directory Listing - [select for diffs]
Modified Sun Jul 17 15:28:29 2005 UTC (19 years, 8 months ago) by dan
Diff to previous 3164
Some better error handling

Revision 3164 - Directory Listing - [select for diffs]
Modified Thu Dec 23 19:50:09 2004 UTC (20 years, 3 months ago) by dan
Diff to previous 2872
If message processing fails move all files to the retry directory

Revision 2872 - Directory Listing - [select for diffs]
Modified Fri Aug 13 01:58:35 2004 UTC (20 years, 7 months ago) by dan
Diff to previous 2430
have one simple queue by default

Revision 2430 - Directory Listing - [select for diffs]
Modified Fri Sep 12 19:59:18 2003 UTC (21 years, 6 months ago) by dan
Diff to previous 2312
We don't have a raw directory anymore, but we do have a recent directory.

Revision 2312 - Directory Listing - [select for diffs]
Modified Sat May 24 13:14:48 2003 UTC (21 years, 10 months ago) by dan
Diff to previous 2137
move the raw message into the recent directory instead of the raw directory

Revision 2137 - Directory Listing - [select for diffs]
Modified Sat Apr 12 11:25:57 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 2136
Update copyrights

Revision 2136 - Directory Listing - [select for diffs]
Modified Sat Apr 12 11:22:57 2003 UTC (21 years, 11 months ago) by dan
Diff to previous 1291
A new way of doing the queues

Revision 1291 - Directory Listing - [select for diffs]
Modified Fri Apr 19 03:22:27 2002 UTC (22 years, 11 months ago) by dan
Diff to previous 1148
let's not use fp-refresh.sh

Revision 1148 - Directory Listing - [select for diffs]
Modified Fri Mar 22 15:07:43 2002 UTC (23 years ago) by dan
Diff to previous 1147
Tidy up directories

Revision 1147 - Directory Listing - [select for diffs]
Modified Fri Mar 22 15:06:47 2002 UTC (23 years ago) by dan
Diff to previous 1084
Tidy up the directories

Revision 1084 - Directory Listing - [select for diffs]
Modified Sat Mar 2 17:02:31 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1052
*** empty log message ***

Revision 1052 - Directory Listing - [select for diffs]
Modified Sun Feb 24 02:31:04 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1051
move failed files to a new retry directory

Revision 1051 - Directory Listing - [select for diffs]
Modified Sun Feb 24 01:16:25 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1033
get it right

Revision 1033 - Directory Listing - [select for diffs]
Modified Fri Feb 22 17:03:40 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 1031
Put copyrights into scripts

Revision 1031 - Directory Listing - [select for diffs]
Modified Fri Feb 22 15:32:48 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 986
umm, we should have the log file in the repo

Revision 986 - Directory Listing - [select for diffs]
Modified Mon Feb 18 19:25:06 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 985
This service is down by default

Revision 985 - Directory Listing - [select for diffs]
Modified Mon Feb 18 19:11:54 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 978
we really need this

Revision 978 - Directory Listing - [select for diffs]
Modified Mon Feb 18 05:26:06 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 977
things to do before running

Revision 977 - Directory Listing - [select for diffs]
Modified Mon Feb 18 04:16:05 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 975
notes on setup

Revision 975 - Directory Listing - [select for diffs]
Modified Mon Feb 18 04:01:48 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 966
First commit

Revision 966 - Directory Listing - [select for diffs]
Modified Sun Feb 17 21:49:29 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 963
Use the right script

Revision 963 - Directory Listing - [select for diffs]
Modified Sun Feb 17 20:18:05 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 889
oops, never put this into CVS

Revision 889 - Directory Listing - [select for diffs]
Modified Sat Feb 9 03:08:49 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 888
OK, add this back in where it should be.

Revision 888 - Directory Listing - [select for diffs]
Modified Sat Feb 9 03:04:51 2002 UTC (23 years, 1 month ago) by dan
Diff to previous 887
daemontools is a nice way to keep scripts around as daemons.

Revision 887 - Directory Listing - [select for diffs]
Added Sat Feb 9 03:04:51 2002 UTC (23 years, 1 month ago) by (unknown author)
Standard project directories initialized by cvs2svn.

Convenience Links