Skip to content

Commit 5a2ea87

Browse files
committedMay 10, 2019
provide manual page for resalloc-server
1 parent 61f4ffc commit 5a2ea87

File tree

6 files changed

+35
-5
lines changed

6 files changed

+35
-5
lines changed
 

‎.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ tags # ctags
77
# The setup.py leftovers.
88
build
99
dist
10-
man

‎MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
include COPYING
22
include Makefile
33
include requirements.txt
4+
include man/resalloc-server.1
45
recursive-include resalloc *.py
56
recursive-include shelltests *.sh testrunner testlib
67
recursive-include test-tooling resalloc* wrap

‎man/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# generated stuff
2+
resalloc-maint.1
3+
resalloc.1

‎man/resalloc-server.1

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.TH resalloc-server "1" Manual
2+
.SH NAME
3+
resalloc-server \- resource allocator server
4+
.SH SYNOPSIS
5+
.B
6+
Resource allocator for expensive resources
7+
8+
Server part doesn't accept argumetns; It is just simple server script which is
9+
usually executed from systemd's unit.
10+
11+
The script is expected to be executed by
12+
.BR resalloc
13+
user, and it accepts
14+
configuration files
15+
.BR /etc/resallocserver/*.yaml
16+
17+
18+
.SH AUTHORS
19+
.B resalloc
20+
was written by Pavel Raiskup <praiskup@redhat.com>.
21+
.SH DISTRIBUTION
22+
The latest version of resalloc may be downloaded from
23+
.UR https://github.com/praiskup/resalloc
24+
.UE

‎resalloc/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.2'
1+
__version__ = '2.3'

‎rpm/resalloc.spec

+6-3
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ the purposes of CI/CD tasks.
2727

2828
Name: %srcname
2929
Summary: %sum - client tooling
30-
Version: 2.2
31-
Release: 3%{?dist}
30+
Version: 2.3
31+
Release: 1%{?dist}
3232
License: GPLv2+
3333
URL: https://github.com/praiskup/resalloc
3434
BuildArch: noarch
@@ -141,6 +141,7 @@ install -p -m 644 %SOURCE1 %buildroot%_unitdir
141141
install -d -m 700 %buildroot%_homedir
142142
install -d -m 700 %buildroot%_sysconfdir/logrotate.d
143143
install -p -m 644 %SOURCE2 %buildroot%_sysconfdir/logrotate.d/resalloc
144+
install -p -m 644 man/resalloc-server.1 %buildroot%_mandir/man1
144145

145146

146147
%if %{with check}
@@ -210,13 +211,15 @@ useradd -r -g "$group" -G "$group" -s /bin/bash \
210211
%_unitdir/resalloc.service
211212
%attr(0700, %sysuser, %sysgroup) %dir %_logdir
212213
%_mandir/man1/%{name}-maint.1*
214+
%_mandir/man1/%{name}-server.1*
213215
%attr(0700, %sysuser, %sysgroup) %_homedir
214216
%_sysconfdir/logrotate.d/resalloc
215217

216218

217219
%changelog
218-
* Fri May 10 2019 Pavel Raiskup <praiskup@redhat.com> - 2.2-3
220+
* Fri May 10 2019 Pavel Raiskup <praiskup@redhat.com> - 2.3-1
219221
- logrotate config (per review rhbz#1707302)
222+
- provide manual page for resalloc-server (per rhbz#1707302)
220223

221224
* Fri May 10 2019 Pavel Raiskup <praiskup@redhat.com> - 2.2-2
222225
- move homedir from /home to /var/lib (per msuchy's review)

0 commit comments

Comments
 (0)
Please sign in to comment.