New release: 0.7.6

95 views
Skip to first unread message

Lluís Batlle i Rossell

unread,
Mar 19, 2016, 4:36:36 PM3/19/16
to Llista de Task Spooler
Hello,

I published a new release 0.7.6.

It includes basically a "-k" command to kill the processgroup of a given
job (or last run).

Regards,
Lluís.

--
(Escriu-me xifrat si saps PGP / Write ciphered if you know PGP)
PGP key D4831A8A - https://emailselfdefense.fsf.org/

Alexander Inyukhin

unread,
Mar 20, 2016, 4:47:08 AM3/20/16
to tasks...@googlegroups.com
On Sat, Mar 19, 2016 at 09:36:27PM +0100, Lluís Batlle i Rossell wrote:
> Hello,
>
> I published a new release 0.7.6.
>
> It includes basically a "-k" command to kill the processgroup of a given
> job (or last run).

Hi,

I'm creating a Debian package for this release now, and there is a couple of patches
from the package that are not specific to Debian.
Probably, some of these could be applied to upstream.
cppcheck.patch
cppflags.patch
gcc-warning.patch
typo.patch

Lluís Batlle i Rossell

unread,
Mar 20, 2016, 6:28:07 AM3/20/16
to tasks...@googlegroups.com
Большое спасибо!

I applied all.

I thought that it's about time to release just 1.0.0, just for the
facade. What do you think?

Regards,
Lluís.
> --
> You received this message because you are subscribed to the Google Groups "taskspooler" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to taskspooler...@googlegroups.com.
> To post to this group, send an email to tasks...@googlegroups.com.
> Visit this group at https://groups.google.com/group/taskspooler.
> For more options, visit https://groups.google.com/d/optout.

> Description: Fix memory leak
> Author: Alexander Inyukhin <shu...@sectorb.msk.ru>
> Last-Update: 2012-06-29
> --- a/error.c
> +++ b/error.c
> @@ -74,12 +74,16 @@
>
> fd = open(new_path, O_CREAT | O_APPEND | O_WRONLY, 0600);
> if (fd == -1)
> + {
> + free(new_path);
> return 0;
> + }
>
> out = fdopen(fd, "a");
> if (out == NULL)
> {
> close(fd);
> + free(new_path);
> return 0;
> }
>

> Description: Respect external CFLAGS and CPPFLAGS
> Author: Alexander Inyukhin <shu...@sectorb.msk.ru>
> Forwarded: yes
> Last-Update: 2012-06-09
> --- a/Makefile
> +++ b/Makefile
> @@ -1,6 +1,7 @@
> PREFIX?=/usr/local
> GLIBCFLAGS=-D_XOPEN_SOURCE=500 -D__STRICT_ANSI__
> -CFLAGS=-pedantic -ansi -Wall -g -O0
> +CPPFLAGS+=$(GLIBCFLAGS)
> +CFLAGS?=-pedantic -ansi -Wall -g -O0
> OBJECTS=main.o \
> server.o \
> server_start.o \
> @@ -32,7 +33,7 @@
>
>
> .c.o:
> - $(CC) $(CFLAGS) $(GLIBCFLAGS) -c $<
> + $(CC) $(CFLAGS) $(CPPFLAGS) -c $<
>
> # Dependencies
> main.o: main.c main.h

> Description: Fix GCC type warning
> Author: Alexander Inyukhin <shu...@sectorb.msk.ru>
> Forwarded: yes
> Last-Update: 2012-05-27
> --- a/env.c
> +++ b/env.c
> @@ -40,7 +40,7 @@
> if (p[1] != 1 && p[1] != 2)
> close(p[1]);
> close(p[0]);
> - execlp("/bin/sh", "/bin/sh", "-c", command, 0);
> + execlp("/bin/sh", "/bin/sh", "-c", command, (char*)NULL);
> error("/bin/sh exec error");
> case -1:
> error("Fork error");

> Description: Fix typo
> Author: Alexander Inyukhin <shu...@sectorb.msk.ru>
> Last-Update: 2016-03-20
> --- a/jobs.c
> +++ b/jobs.c
> @@ -360,7 +360,7 @@
> add_notify_errorlevel_to(depended_job, p->jobid);
> else
> warning("The jobid %i is queued to do_depend on the jobid %i"
> - " suddenly non existant in the queue", p->jobid,
> + " suddenly non existent in the queue", p->jobid,
> p->depend_on);
> }
> else /* Otherwise take the finished job, or the last_errorlevel */

Alexander Inyukhin

unread,
Mar 20, 2016, 12:42:26 PM3/20/16
to tasks...@googlegroups.com
On Sun, Mar 20, 2016 at 11:27:59AM +0100, Lluís Batlle i Rossell wrote:
> Большое спасибо!
>
> I applied all.

Thanks!

> I thought that it's about time to release just 1.0.0, just for the
> facade. What do you think?

That could be a good idea.

Lluís Batlle i Rossell

unread,
Mar 20, 2016, 4:42:40 PM3/20/16
to tasks...@googlegroups.com
On Sun, Mar 20, 2016 at 07:42:25PM +0300, Alexander Inyukhin wrote:
> On Sun, Mar 20, 2016 at 11:27:59AM +0100, Lluís Batlle i Rossell wrote:
> > I thought that it's about time to release just 1.0.0, just for the
> > facade. What do you think?
>
> That could be a good idea.

Someone requested a way to allow a job to depend on the good outcome of
multiple other jobs. I don't know if I will have time to implement this,
so I guess I'll go soon to 1.0.0 at the current state (0.7.6+Alexander
patches)
Reply all
Reply to author
Forward
0 new messages