Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for 0.13 release #54

Merged
merged 2 commits into from
Aug 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
configsnap NEWS

0.13
* New option -a to create a tar archive of the output
* New option -w to overwrite existing output
* PEP8 fixes
* Modify check for PHP presence

0.12
* Record Pacemaker status
* Don't raise exception if command doesn't exist
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ Tested on RHEL, CentOS, Fedora and Ubuntu, but should also work on other derivat
```
Usage: configsnap [options]

Record useful system state information, and compare to previous state if run
with PHASE containing "post" or "rollback".

Options:
-h, --help show this help message and exit
-w, --overwrite if tag dir already exists, remove previously collected
data
-a, --archive pack output files into a tar archive
-v, --verbose print debug info
-V, --version print version
-s, --silent no output to stdout
Expand Down
2 changes: 1 addition & 1 deletion configsnap
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import shutil
import tarfile


version = "0.12"
version = "0.13"
diffs_found_msg = False
is_php_detected = False

Expand Down
15 changes: 11 additions & 4 deletions configsnap.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: configsnap
Version: 0.12
Version: 0.13
Release: 1%{?dist}
Summary: Record and compare system state
License: ASL 2.0
Expand All @@ -20,10 +20,10 @@ with a previous state and identify changes
help2man --include=%{name}.help2man --no-info ./%{name} -o %{name}.man

%install
mkdir -p %{buildroot}%{_bindir} \
mkdir -p %{buildroot}%{_sbindir} \
%{buildroot}%{_mandir}/man1 \
%{buildroot}%{_sysconfdir}/%{name}
install -p -m 0755 %{name} %{buildroot}%{_bindir}
install -p -m 0755 %{name} %{buildroot}%{_sbindir}
install -p -m 0644 %{name}.man %{buildroot}%{_mandir}/man1/%{name}.1
install -p -m 0600 additional.conf %{buildroot}%{_sysconfdir}/%{name}/additional.conf

Expand All @@ -34,11 +34,18 @@ install -p -m 0600 additional.conf %{buildroot}%{_sysconfdir}/%{name}/additional
%doc README.md
%doc NEWS
%doc MAINTAINERS.md
%config(noreplace) %{_sysconfdir}/%{name}/additional.conf
%{_mandir}/man1/%{name}.1*
%{_bindir}/%{name}
%{_sbindir}/%{name}
%{_sysconfdir}/%{name}

%changelog
* Thu Aug 17 2017 Piers Cornwell <[email protected]> 0.13.1
- New option -a to create a tar archive of the output
- New option -w to overwrite existing output
- PEP8 fixes
- Modify check for PHP presence

* Mon Jun 12 2017 Piers Cornwell <[email protected]> 0.12-1
- Record Pacemaker status
- Don't raise exception if command doesn't exist
Expand Down
2 changes: 1 addition & 1 deletion debian/configsnap.install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configsnap /usr/bin
configsnap /usr/sbin