Skip to content

Commit f17f767

Browse files
committed
Merge branch 'release-0.1.2'
2 parents 5dfc1c3 + eb1d190 commit f17f767

File tree

5 files changed

+36
-17
lines changed

5 files changed

+36
-17
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ cmake_policy(VERSION 3.4.0)
2626
cmake_minimum_required(VERSION 3.4.0 FATAL_ERROR)
2727

2828
project(slurm-redis
29-
VERSION 0.1.1
29+
VERSION 0.1.2
3030
DESCRIPTION "Redis plugins for slurm"
3131
HOMEPAGE_URL "https://github.com/pkovacs/slurm-redis"
3232
LANGUAGES C)

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
This file provides a summary of changes in the releases of slurm-redis
22

3+
Changes in v0.1.2
4+
=================
5+
-- release for slurm-19.05.3
6+
-- patches for slurm-18 will no longer be released
7+
38
Changes in v0.1.1
49
=================
510
-- ensure only one redis ping occurs when already connected

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Two methods are provided for building this package from source:
3030
1. A patch set that applies patches directly over the slurm source tree and
3131
2. The slurm-redis native build system which uses [cmake](https://cmake.org/)
3232

33-
The patch set method is perhaps easier as it does not require that you have the cmake build system installed. The plugins were developed using the cmake build system, however, and using that method allows you to configure and build these plugins independently from a working slurm installation. All compile-time options are available in either case.
33+
The patch set method is perhaps easier to use as it does not require the cmake build system. The plugins were developed with cmake, however, and using cmake allows you to configure and build the slurm-redis plugins separately from slurm source tree. All compile-time options are available in either case.
3434

3535
These are the additional software requirements to run slurm-redis:
3636

@@ -51,24 +51,24 @@ $ tar -xjf slurm-19.05.2.tar.bz2
5151
$ bunzip2 slurm-redis-0.1.0-slurm-19.05.patch.bz2
5252
$ cd slurm-19.05.2
5353
$ patch -p1 < ../slurm-redis-0.1.0-slurm-19.05.patch
54-
patching file configure.ac
55-
...
54+
# patching file configure.ac
55+
# ...
5656
# Re-run autoreconf (or autogen.sh on 18.08) to apply build system changes
5757
./autoreconf
5858
# Configure slurm as you normally would, noting these additional options:
5959
./configure --help # See section "Advanced configuration"
60-
...
61-
--with-jcr-cache-size=N set jobcomp/redis cache size [128]
62-
--with-jcr-cache-ttl=N set jobcomp/redis cache ttl [120]
63-
--with-jcr-fetch-count=N
64-
set jobcomp/redis fetch count [500]
65-
--with-jcr-fetch-limit=N
66-
set jobcomp/redis fetch limit [1000]
67-
--with-jcr-query-ttl=N set jobcomp/redis query ttl [60]
68-
--with-jcr-ttl=N set jobcomp/redis ttl: -1=permanent [-1]
69-
--with-jcr-tmf=N set jobcomp/redis date/time format: 0=unix epoch,
70-
1=iso8601 [1]
71-
...
60+
# ...
61+
# --with-jcr-cache-size=N set jobcomp/redis cache size [128]
62+
# --with-jcr-cache-ttl=N set jobcomp/redis cache ttl [120]
63+
# --with-jcr-fetch-count=N
64+
# set jobcomp/redis fetch count [500]
65+
# --with-jcr-fetch-limit=N
66+
# set jobcomp/redis fetch limit [1000]
67+
# --with-jcr-query-ttl=N set jobcomp/redis query ttl [60]
68+
# --with-jcr-ttl=N set jobcomp/redis ttl: -1=permanent [-1]
69+
# --with-jcr-tmf=N set jobcomp/redis date/time format: 0=unix epoch,
70+
# 1=iso8601 [1]
71+
# ...
7272
```
7373
___
7474

generate_patch

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@
3030
# without the need for a separate build system (cmake)
3131
#
3232

33+
#
34+
# Usage: generate_patch is not meant to be run directly -- use `make patch`
35+
# from the cmake build directory. Make sure the slurm source tree is
36+
# git clean (if using git) or a fresh tar unpack from slurm source
37+
#
38+
# Example:
39+
#
40+
# $ cd slurm-redis
41+
# $ mkdir build
42+
# $ cd build
43+
# $ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INCLUDE_PATH=/home/phil/slurm/ ..
44+
# $ make patch
45+
#
46+
3347
sed_configure_ac()
3448
{
3549
echo '\

slurm/jobcomp/jobcomp_redis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ int fini(void)
189189
/*
190190
* Slurm is sending us the location string from the JobCompLoc config key.
191191
*
192-
* We interpret that value as a prefix to be prepending onto redis keys.
192+
* We interpret that value as a prefix to be prepended to redis keys.
193193
* If no location is used, redis job keys will be of the form "job:<id>".
194194
* If a location prefix is used, keys will of the form "<prefix>:job:<id>".
195195
* All keys, including the transient query and match keys will also use

0 commit comments

Comments
 (0)