1 |
-=============================================================================- |
2 |
- Project IDFetch - Weekly report #5 ("Suffering from worms, fighting bugs") - |
3 |
-=============================================================================- |
4 |
|
5 |
Hard to say what's worse worms eating cherries or Colorado bug [1] |
6 |
eating potato. Though it's close to midterm and the wOrming up period |
7 |
is far behind, can't say i got accustomed to the bugs, it's rather that |
8 |
they started to bother me even more. Fighting them gets quite tedious |
9 |
and frustrating sometimes*** - no new features, no new options, lot's |
10 |
of time spent and only hope that there will be something for the |
11 |
harvest still keeps me ticking. |
12 |
|
13 |
***Especially when it should be a peace of cake, but web hosting is free... |
14 |
|
15 |
IDFetch progress: |
16 |
================= |
17 |
|
18 |
1. Several bugs were fixed: including checks if segget can open, read, write files. |
19 |
|
20 |
2. Try..catch blocks were added all over the segget to fail-prove its code. |
21 |
|
22 |
3. Range limits were introduced for settings, to prevent bizarre behavior on misconfiguration. |
23 |
|
24 |
4. Even more errors are logged. |
25 |
|
26 |
5. Some minor improvements: |
27 |
6.1. Time measurement is more precise now (in milliseconds). |
28 |
6.2. Added avg speed measurement. |
29 |
6.3. Screen gets cleaned from inactive connections. |
30 |
|
31 |
6. Documentation was improved. |
32 |
|
33 |
7. Improvement to the IDFetch site: |
34 |
1. Added blog [2]. |
35 |
2. Added documentation [3]. |
36 |
3. Links to repositories [4-5]. |
37 |
4. Timeline page [6] enriched with links to the resulting implementations of the proposed ideas. |
38 |
|
39 |
8. Just a few options were added to segget.conf: |
40 |
|
41 |
[pkg_list] |
42 |
# PKG_LIST_DIR |
43 |
# Define a dir with pkg.list file |
44 |
# Default: |
45 |
# pkg_list_dir=./ |
46 |
pkg_list_dir=./ |
47 |
|
48 |
# SYNOPSIS: del_pkg_list_when_dld_finished=0 | 1 |
49 |
# - If del_pkg_list_when_dld_finished set to 1: |
50 |
# Segget deletes pkg.list file, after all distfiles were successfuly fetched. |
51 |
# Default: |
52 |
# del_pkg_list_when_dld_finished=1 |
53 |
del_pkg_list_when_dld_finished=1 |
54 |
|
55 |
# CURRENT_SPEED_TIME_INTERVAL_MSECS |
56 |
# segget transfers may have bursty nature of their traffic. Therefore, while |
57 |
# measuring current speed, segget actually calculates average speed during |
58 |
# current_speed_time_interval_msecs time interval, defined in milliseconds. |
59 |
# Minimum value: 100 |
60 |
# Maximum value: 60000 |
61 |
# Default: |
62 |
# current_speed_time_interval_msecs=1000 |
63 |
current_speed_time_interval_msecs=1000 |
64 |
|
65 |
[logs] |
66 |
# LOGS_DIR |
67 |
# Define a dir to store log files. |
68 |
# Default: |
69 |
# logs_dir=./logs |
70 |
logs_dir=./logs |
71 |
|
72 |
# GENERAL_LOG_FILE |
73 |
# Define a file name to store general log. |
74 |
# Default: |
75 |
# general_log_file=segget.log |
76 |
general_log_file=segget.log |
77 |
|
78 |
# ERROR_LOG_FILE |
79 |
# Define a file name to store error log. |
80 |
# Default: |
81 |
# error_log_file=segget.log |
82 |
error_log_file=error.log |
83 |
|
84 |
# DEBUG_LOG_FILE |
85 |
# Define a file name to store debug log. |
86 |
# Default: |
87 |
# debug_log_file=segget.log |
88 |
debug_log_file=debug.log |
89 |
|
90 |
[1] http://idfetch.isgreat.org/_content2/colorado_bug.jpg |
91 |
[2] http://idfetch.isgreat.org/index.php/blog |
92 |
[3] http://idfetch.isgreat.org/index.php/documentation |
93 |
[4] http://idfetch.isgreat.org/index.php/idfetchporgagemodifications |
94 |
[5] http://idfetch.isgreat.org/index.php/twrappersegget |
95 |
[6] http://idfetch.isgreat.org/index.php/timeline |
96 |
|
97 |
Best regards, |
98 |
Kostyantyn Ovechko AKA simka |