author | viric <viriketo@gmail.com> |
Sun, 20 Mar 2016 11:25:28 +0100 | |
changeset 344 | 9be22a4aa695 |
parent 340 | 11c5a9e7b9a8 |
child 348 | 308315d04787 |
permissions | -rw-r--r-- |
6
8ff6b6c9d87c
Added empty "TODO", that will host things to be done and feature proposals. Perhaps we can use "bugtracker"?
Raul Salinas-Monteagudo <rsalinas@iti.upv.es>
parents:
diff
changeset
|
1 |
## Features to be implemented |
7 | 2 |
|
56 | 3 |
Doubtful tasks: |
4 |
- Allow the 'only-tail' output, without any storage. The number of lines |
|
5 |
or bytes should be choosable. |
|
6 |
- No program should give that big amount of output, so it cannot be stored. |
|
7 |
- What happens if the output disk is full? Should be decide a good behaviour |
|
8 |
in that situation? |
|
297
d7d0074df110
Preparing the release for version 0.7.0, with a new protocol version.
viric <viriketo@gmail.com>
parents:
283
diff
changeset
|
9 |
- It's up to the running program; ts gives the descsriptor to it. |
56 | 10 |
|
123 | 11 |
Future: |
12 |
- Use a better system than mkstemp() for finding output files, so we can add |
|
13 |
.gz to the gzipped outputs. |
|
340
11c5a9e7b9a8
Adding -k, kill job (SIGTERM to process group).
viric <viriketo@gmail.com>
parents:
337
diff
changeset
|
14 |
v0.7.6: |
11c5a9e7b9a8
Adding -k, kill job (SIGTERM to process group).
viric <viriketo@gmail.com>
parents:
337
diff
changeset
|
15 |
- Add -k (send SIGTERM to process group). Replacement for "kill -- -`ts -p`". |
335 | 16 |
v0.7.4: |
17 |
- Fixing a bug about dangling processes, in case of using "ts -r". |
|
319
466e01761667
Advancing version to 0.7.3, and adding the -N to the changelog.
viric <viriketo@gmail.com>
parents:
305
diff
changeset
|
18 |
v0.7.3: |
466e01761667
Advancing version to 0.7.3, and adding the -N to the changelog.
viric <viriketo@gmail.com>
parents:
305
diff
changeset
|
19 |
- Add option '-N' to set the number of slots required for a job to run. |
466e01761667
Advancing version to 0.7.3, and adding the -N to the changelog.
viric <viriketo@gmail.com>
parents:
305
diff
changeset
|
20 |
Proposed by Sergey Litvinov. |
305
365f3598d010
Adding the functionality of keeping stderr apart. For Jan Šmydke.
viric <viriketo@gmail.com>
parents:
303
diff
changeset
|
21 |
v0.7.2: |
365f3598d010
Adding the functionality of keeping stderr apart. For Jan Šmydke.
viric <viriketo@gmail.com>
parents:
303
diff
changeset
|
22 |
- Add option '-E', to keep stderr apart. It goes to "`ts -o`.e". |
303
2edd42e77392
Updating the version to 0.7.1, for a release.
viric <viriketo@gmail.com>
parents:
297
diff
changeset
|
23 |
v0.7.1: |
2edd42e77392
Updating the version to 0.7.1, for a release.
viric <viriketo@gmail.com>
parents:
297
diff
changeset
|
24 |
- Implement check of ownership of the socket. Security bugfix. |
297
d7d0074df110
Preparing the release for version 0.7.0, with a new protocol version.
viric <viriketo@gmail.com>
parents:
283
diff
changeset
|
25 |
v0.7.0: |
d7d0074df110
Preparing the release for version 0.7.0, with a new protocol version.
viric <viriketo@gmail.com>
parents:
283
diff
changeset
|
26 |
- Implement blocking of enqueuing still allowing other queue operations. |
d7d0074df110
Preparing the release for version 0.7.0, with a new protocol version.
viric <viriketo@gmail.com>
parents:
283
diff
changeset
|
27 |
- Add the -B parameter, that will not block in case of queue full |
283
f049b802be64
Updating version references to 0.6.6, and Changelog.
viric@mandarina
parents:
278
diff
changeset
|
28 |
v0.6.6: |
f049b802be64
Updating version references to 0.6.6, and Changelog.
viric@mandarina
parents:
278
diff
changeset
|
29 |
- Fixed the feature TS_MAXCONN, which collided with the protocol version check. |
277
1ee3c4ef9402
Fixing a bug on -c and -t that remained open after killing 'less' on "ts -c | less"
viric@mandarina
parents:
274
diff
changeset
|
30 |
v0.6.5: |
1ee3c4ef9402
Fixing a bug on -c and -t that remained open after killing 'less' on "ts -c | less"
viric@mandarina
parents:
274
diff
changeset
|
31 |
- Fixed a problem that -c and -t, if their pipe was broken, they remained. |
1ee3c4ef9402
Fixing a bug on -c and -t that remained open after killing 'less' on "ts -c | less"
viric@mandarina
parents:
274
diff
changeset
|
32 |
- Fixed a problem (maybe some copypaste once?) on -l, that created always an error msg. |
278 | 33 |
- Adding the possibility of limiting the amount of ts connections. |
274
62048132f95f
Making changes so it looks like the code in ts-0.6.4, which I can't find
viric@mandarina
parents:
265
diff
changeset
|
34 |
v0.6.4: |
62048132f95f
Making changes so it looks like the code in ts-0.6.4, which I can't find
viric@mandarina
parents:
265
diff
changeset
|
35 |
- Fixed a bug breaking -c and -t. |
259 | 36 |
v0.6.3: |
37 |
- Fixed a bug on -c and -t. |
|
38 |
- Adding first support for -D (run depending on any job) |
|
265
8c16cd53f772
Making the check_version coep well with old ts servers.
viric@mandarina
parents:
263
diff
changeset
|
39 |
- Adding version control on the protocol. |
263 | 40 |
- Making the ts server chdir to the socket directory, so it doesn't annoy on umounting. |
257
18d5bf8fa969
Updating the changelog and the man file versions to 0.6.2
viric@mandarina
parents:
241
diff
changeset
|
41 |
v0.6.2: |
18d5bf8fa969
Updating the changelog and the man file versions to 0.6.2
viric@mandarina
parents:
241
diff
changeset
|
42 |
- Fixed a bug on -w |
18d5bf8fa969
Updating the changelog and the man file versions to 0.6.2
viric@mandarina
parents:
241
diff
changeset
|
43 |
- Making -S return the number of slots |
18d5bf8fa969
Updating the changelog and the man file versions to 0.6.2
viric@mandarina
parents:
241
diff
changeset
|
44 |
- Fixed a bug on clients dying (making the queue not usable anymore) |
18d5bf8fa969
Updating the changelog and the man file versions to 0.6.2
viric@mandarina
parents:
241
diff
changeset
|
45 |
- Making an error file different for each socket ($TS_SOCKET.error) |
18d5bf8fa969
Updating the changelog and the man file versions to 0.6.2
viric@mandarina
parents:
241
diff
changeset
|
46 |
- Making ts not to log on the error log file constantly. |
18d5bf8fa969
Updating the changelog and the man file versions to 0.6.2
viric@mandarina
parents:
241
diff
changeset
|
47 |
- Adding information on the exit status in -i |
241 | 48 |
v0.6.1: |
49 |
- Adding support for the TS_SLOTS env variable, to set the number of slots of |
|
50 |
a starting server. |
|
51 |
- Removing references to /usr for nix. |
|
52 |
- Bugfixing (fixed error handling, -m) |
|
220
af73001b4245
Moving the main.c version towars 0.6, with the slots change.
viric@mandarina
parents:
216
diff
changeset
|
53 |
v0.6: |
af73001b4245
Moving the main.c version towars 0.6, with the slots change.
viric@mandarina
parents:
216
diff
changeset
|
54 |
- Adding multi-slot running capabilities. Big changes in the job management. |
233 | 55 |
- Bugfixing (-t, -c and -r, mostly) |
216 | 56 |
v0.5.4.1: |
57 |
- Moving out 'debian', so the Debian packagers can use their systems |
|
58 |
comfortably when packaging ts. |
|
212 | 59 |
v0.5.4: |
60 |
- Bug fixing (-t, actions to last job ids, -w, ...) |
|
61 |
- -c waits for the job end. Like -t, but it shows the whole output. |
|
199
bf0250709d52
Getting ready for 0.5.3. Updated changelog and main.c
viric@llimona
parents:
191
diff
changeset
|
62 |
v0.5.3: |
202 | 63 |
- Fixed: Only one waiting ts process ('-w' and '-t') could be used for each |
64 |
jobid. Now, many. |
|
199
bf0250709d52
Getting ready for 0.5.3. Updated changelog and main.c
viric@llimona
parents:
191
diff
changeset
|
65 |
v0.5.2: |
bf0250709d52
Getting ready for 0.5.3. Updated changelog and main.c
viric@llimona
parents:
191
diff
changeset
|
66 |
- Fixed the '-r' without jobid, which should remove the last added job. |
bf0250709d52
Getting ready for 0.5.3. Updated changelog and main.c
viric@llimona
parents:
191
diff
changeset
|
67 |
- Fixed some messages for '-t' without jobid (it said something about job -1). |
191
35b77fb4deb1
Updating changelog to 0.5.1 - adding web index since 0.5
viric@mandarina
parents:
183
diff
changeset
|
68 |
v0.5.1: |
35b77fb4deb1
Updating changelog to 0.5.1 - adding web index since 0.5
viric@mandarina
parents:
183
diff
changeset
|
69 |
- Fixed the new '-t', which had several problems |
183
95d49e8a8cec
Updating 'help' and some other related files to 0.5
viric@llimona
parents:
158
diff
changeset
|
70 |
v0.5: |
95d49e8a8cec
Updating 'help' and some other related files to 0.5
viric@llimona
parents:
158
diff
changeset
|
71 |
- Several bug fixes (related to -w, -r and -L) |
95d49e8a8cec
Updating 'help' and some other related files to 0.5
viric@llimona
parents:
158
diff
changeset
|
72 |
- ts creates sessions, so "kill -- -`ts -p`" can be used |
95d49e8a8cec
Updating 'help' and some other related files to 0.5
viric@llimona
parents:
158
diff
changeset
|
73 |
- New implementation for '-t', which exits when finished, similar to '-w' |
151 | 74 |
v0.4.2: |
75 |
- Added labels with -L, in order to distingish commands better on queue list. |
|
76 |
- Added per-job information, readable through -i, configurable through TS_ENV |
|
158 | 77 |
- Added dependant enqueuing (-d). Conditional run based on last job result. |
134
5a6b8bb1f7a8
Fixing two bugs noted in buglist.bug (ts clients not dying on removejob, queue
viric@llimona
parents:
123
diff
changeset
|
78 |
v0.4.1: |
137 | 79 |
-* Bugfix: removing a job now doesn't leave the job's ts client alive |
80 |
-* Bugfix: killing the running job's ts client now doesn't block the |
|
81 |
queue forever |
|
82 |
-* Bugfix: now using setsid() in order to unlink ts from the bash session. |
|
80
be0fb7e56061
New Changelog, updated README, and the manpage.
viric@llimona
parents:
74
diff
changeset
|
83 |
v0.4: |
119
361b08d33762
$USER is no more used for crating the socket path. Now the UID is used.
viric@llimona
parents:
97
diff
changeset
|
84 |
-* Allow killing 'ts' in a nice way. |
80
be0fb7e56061
New Changelog, updated README, and the manpage.
viric@llimona
parents:
74
diff
changeset
|
85 |
- It's good, because a spawner of 'ts' may want to kill it. |
120 | 86 |
-* If the server is horribly killed (it may happen as this is software), store |
80
be0fb7e56061
New Changelog, updated README, and the manpage.
viric@llimona
parents:
74
diff
changeset
|
87 |
the task queue in a file, so it can be recovered. |
119
361b08d33762
$USER is no more used for crating the socket path. Now the UID is used.
viric@llimona
parents:
97
diff
changeset
|
88 |
-* Store the 'times()' for the run tasks. |
94 | 89 |
v0.3.2: |
90 |
-* Fixed the $POSIXLY_CORRECT bug finally |
|
91 |
-* Slightly better makefile and man page |
|
92 |
-* The server should never run out of handles - simply block the client |
|
97 | 93 |
-* Added an error reporting system (in ts(1) - BUGS) |
94 |
-* SIGPIPE is ignored in the ts processes |
|
80
be0fb7e56061
New Changelog, updated README, and the manpage.
viric@llimona
parents:
74
diff
changeset
|
95 |
v0.3.1: |
be0fb7e56061
New Changelog, updated README, and the manpage.
viric@llimona
parents:
74
diff
changeset
|
96 |
-* Fixed a bug with $POSIXLY_CORRECT being passed to the jobs. This break the |
be0fb7e56061
New Changelog, updated README, and the manpage.
viric@llimona
parents:
74
diff
changeset
|
97 |
gentoo emerge jobs. |
be0fb7e56061
New Changelog, updated README, and the manpage.
viric@llimona
parents:
74
diff
changeset
|
98 |
-* Fixed a posix compatibility problem for BSD. |
be0fb7e56061
New Changelog, updated README, and the manpage.
viric@llimona
parents:
74
diff
changeset
|
99 |
-* Fixed - the fd 3 is no more opened for the task processes. |
be0fb7e56061
New Changelog, updated README, and the manpage.
viric@llimona
parents:
74
diff
changeset
|
100 |
-* Added a man page and fixed the makefile. |
25 | 101 |
v0.3: |
74 | 102 |
-* Allow sending the output by mail, or passing it to a program if an |
56 | 103 |
env var defines it. |
65 | 104 |
-* Allow gzipping the output |
70
8c244f28224e
Fixed "-f". Now it doesn't close stdin in this case.
viric@llimona
parents:
66
diff
changeset
|
105 |
-* Add a flag for swapping two jobs in the queue (-U id-id) |
64 | 106 |
-* Limit the jobs in 'finished' state according to $TS_MAXFINISHED |
62 | 107 |
-* Output the jobid in stdout. |
64 | 108 |
-* Status check with -s. Return the state in stdout. |
109 |
-* An env var may define the socket path. |
|
70
8c244f28224e
Fixed "-f". Now it doesn't close stdin in this case.
viric@llimona
parents:
66
diff
changeset
|
110 |
-* bash is no more used for running commands. Commands are run as is. |
58 | 111 |
v0.2.3: |
112 |
-* '-nf' doesn't leave the job in 'finished' state |
|
113 |
-* Fixed a bug in -r |
|
114 |
-* '-u' implemented. For altering the queue order. |
|
115 |
-* '-w' returns the waited errorlevel |
|
61 | 116 |
-* '-o' returns the output file of the last job |
46 | 117 |
v0.2.1: |
118 |
-* Fixed a bug in the wait-notifications. |
|
119 |
-* Improved the compilation, including almost all the proper files. |
|
23 | 120 |
v0.2: |
40 | 121 |
-* Add a '-h' for help |
122 |
-* Have a nice list output (correctly formatted) |
|
35 | 123 |
-* Allow killing the running job (Allowed with -p easily) |
124 |
-* Allow tailing any job |
|
41 | 125 |
-* Allow removing a job from the queue |
42 | 126 |
-* Allow waiting any job |
23 | 127 |
v0.1: |
17 | 128 |
-* The clients should _always_ go into background. * |
129 |
-* Allow to receive more parameters in the command line, and them be joined |
|
11
bb94b9890001
Going to background at for new command queued.
lbatlle@npdl268.bpo.hp.com
parents:
7
diff
changeset
|
130 |
with spaces for the command passed to bash. |
19
5efc347cca8d
The finished jobs store the errorlevel, and can be listed.
viric@llimona
parents:
17
diff
changeset
|
131 |
-* There should be no limit on command line parameters. |
21 | 132 |
-* There should be no limit on lines outputed by "-l". |
19
5efc347cca8d
The finished jobs store the errorlevel, and can be listed.
viric@llimona
parents:
17
diff
changeset
|
133 |
-* Get the list of finished jobs, with its errorlevel. |
20
d85b4c0745fa
"-c" added, for clearing the finished tasks' list.
viric@llimona
parents:
19
diff
changeset
|
134 |
-* The list of finished jobs should be clenead on demmand "-c". |
22 | 135 |
-* Output to a file should be possible. Use mkstemp(). |
136 |
-* There should be no limit on output filename. |
|
23 | 137 |
v0.0.1: |
22 | 138 |
-* add tasks, and they run one after another. Input closed. Output in stdout. |