Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Release version 2.5
Browse files Browse the repository at this point in the history
Change-Id: Ibeed08d6913893452bec9587297f2417808a6057
Signed-off-by: Artem Bityutskiy <[email protected]>
  • Loading branch information
dedekind committed Aug 8, 2013
1 parent 860d89a commit bb794c6
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bmaptool
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ also contribute to the mapped blocks and are also copied.
# * Too few public methods (R0903)
# pylint: disable=R0903

VERSION = "2.4"
VERSION = "2.5"

import argparse
import sys
Expand Down
8 changes: 8 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
bmap-tools (2.5) unstable; urgency=low

* Do not fail when lacking permisssions for accessing block device's sysfs
files.
* Improve debian packaging.

-- Artem Bityutskiy <[email protected]> Mon, 05 Aug 2013 10:05:09 +0300

bmap-tools (2.4) unstable; urgency=low

* Add support for ssh:// URLs.
Expand Down
20 changes: 20 additions & 0 deletions docs/RELEASE_NOTES
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
Bug-fix release 2.5
~~~~~~~~~~~~~~~~~~~

1. bmaptool (or more precisely, the BmapCopy class) has an optimization where
we switch to the "noop" I/O scheduler when writing directly to block
devices. We also lessen the allowed amount of dirty data for this block
device in order to create less memory pressure on the system. These tweaks
are done by touching the corresponding sysfs files of the block device. The
old bmaptool behavior was that it failed when it could not modify these
files. However, there are systems where users can write to some block
devices (USB sticks, for example), but they do not have permissions to
change the sysfs files, and bmaptool did not work for normal users on such
systems. In version 2.5 we change the behavior and do not fail anymore if we
do not have enough permissions for changing sysfs files, simply because this
is an optimization, although a quite important one. However, we do print a
warning message.

2. Many improvements and fixes in the Debian packaging, which should make it
simpler for distributions to package bmap-tools.

Bug-fix release 2.4
~~~~~~~~~~~~~~~~~~~

Expand Down
5 changes: 5 additions & 0 deletions packaging/bmap-tools.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Mon Aug 5 07:05:59 UTC 2013 - Artem Bityutskiy <[email protected]> 2.5-1
- Do not fail when lacking permisssions for accessing block device's sysfs
files.
- Improve debian packaging.

Wed Jun 5 15:16:42 UTC 2013 - Artem Bityutskiy <[email protected]> 2.4-1
- Add ssh:// URLs support.

Expand Down
2 changes: 1 addition & 1 deletion packaging/bmap-tools.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Format: 1.0
Source: bmap-tools
Binary: bmap-tools
Architecture: all
Version: 2.4-1
Version: 2.5-1
Maintainer: Artem Bityutskiy <[email protected]>
Standards-Version: 3.8.4
Build-Depends: debhelper (>= 7), python-all, python-distribute
Expand Down
2 changes: 1 addition & 1 deletion packaging/bmap-tools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name: bmap-tools
Summary: Tools to generate block map (AKA bmap) and flash images using bmap
Version: 2.4
Version: 2.5

%if 0%{?opensuse_bs}
Release: %{rc_str}.<CI_CNT>.<B_CNT>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
description="Bmap tools",
author="Artem Bityutskiy",
author_email="[email protected]",
version="2.4",
version="2.5",
scripts=['bmaptool'],
packages=find_packages(exclude=["test*"]),
license='GPLv2',
Expand Down

0 comments on commit bb794c6

Please sign in to comment.