debian/0000755000000000000000000000000012204426057007170 5ustar debian/rules0000755000000000000000000000005512204426057010250 0ustar #!/usr/bin/make -f %: dh $@ --with=python2 debian/control0000644000000000000000000000156412204426057010601 0ustar Source: bmap-tools Maintainer: Simon McVittie Section: utils Priority: optional Build-Depends: debhelper (>= 9), python-all (>= 2.7), python-setuptools, Standards-Version: 3.9.4 XS-Python-Version: >= 2.7 Vcs-Git: git://anonscm.debian.org/collab-maint/bmap-tools.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/bmap-tools.git Package: bmap-tools Architecture: all Depends: python (>=2.7), ${misc:Depends}, ${python:Depends}, Description: tool to flash image files to block devices using the block map bmaptool is a generic tool for creating the block map (bmap) for a file, and copying files using the block map. The idea is that large file containing unused blocks, like raw system image files, can be copied or flashed a lot faster with bmaptool than with traditional tools like "dd" or "cp". debian/manpages0000644000000000000000000000002512204426057010703 0ustar docs/man1/bmaptool.1 debian/source/0000755000000000000000000000000012204426057010470 5ustar debian/source/format0000644000000000000000000000001412204426057011676 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001272212204426057011046 0ustar bmap-tools (2.5-1) unstable; urgency=low * Initial release to Debian (Closes: #714280) * Set myself as Debian maintainer * Add debian/gbp.conf * Add debian/source/format * Add debian/watch * Standards-Version: 3.9.4 (no changes needed) -- Simon McVittie Mon, 19 Aug 2013 15:30:58 +0100 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 Mon, 05 Aug 2013 10:05:09 +0300 bmap-tools (2.4) unstable; urgency=low * Add support for ssh:// URLs. -- Artem Bityutskiy Wed, 05 Jun 2013 18:15:41 +0300 bmap-tools (2.3) unstable; urgency=low * Add bmap file SHA1 verification, make tests work on btrfs. -- Artem Bityutskiy Mon, 06 May 2013 10:58:32 +0300 bmap-tools (2.2) unstable; urgency=low * Support username and password in URLs. -- Artem Bityutskiy Mon, 11 Mar 2013 14:40:17 +0200 bmap-tools (2.1) unstable; urgency=low * Fix out of memory issues when copying .bz2 files. -- Artem Bityutskiy Mon, 18 Feb 2013 16:38:32 +0200 bmap-tools (2.0) unstable; urgency=low * Fix the an issue with running out of memory in TransRead.py. -- Artem Bityutskiy Thu, 17 Jan 2013 11:33:15 +0200 bmap-tools (2.0~rc5) unstable; urgency=low * When block device optimzations fail - raise an exception except of muting the error, because we really want to know about these failures and possibly fix them. -- Artem Bityutskiy Tue, 15 Jan 2013 14:51:27 +0200 bmap-tools (2.0~rc4) unstable; urgency=low * Fix bmap autodiscovery. -- Artem Bityutskiy Thu, 10 Jan 2013 13:58:07 +0200 bmap-tools (2.0~rc3) unstable; urgency=low * Fix uncaught urllib2 exception bug introduced in rc1. -- Artem Bityutskiy Mon, 07 Jan 2013 10:19:49 +0200 bmap-tools (2.0~rc2) unstable; urgency=low * Fix writing to block devices, which was broken in rc1. * Make the informational messages a bit nicer. -- Artem Bityutskiy Fri, 04 Jan 2013 09:52:41 +0200 bmap-tools (2.0~rc1) unstable; urgency=low * Allow copying without bmap only if --nobmap was specified. * Auto-discover the bmap file. * Support reading from URLs. * Implement progress bar. * Highlight error and warning messages with red and yellow labels. -- Artem Bityutskiy Thu, 20 Dec 2012 10:47:00 +0200 bmap-tools (1.0) unstable; urgency=low * Release version 1.0 of the tools - almost identical to 1.0~rc7 except of few minor differences like spelling fixes. -- Artem Bityutskiy Mon, 03 Dec 2012 10:00:33 +0200 bmap-tools (1.0~rc7) unstable; urgency=low * Add a Fiemap.py module which implements python API to the linux FIEMAP ioct. * Use the FIEMAP ioctl properly and optimally. * Add unit-tests, current test coverage is 66%. * A lot of core rerafactoring. * Several bug fixes in 'BmapCopy' (e.g., .tar.gz format support was broken). * Add README and RELEASE_NOTES files. -- Artem Bityutskiy Thu, 29 Nov 2012 12:29:39 +0200 bmap-tools (0.6) unstable; urgency=low * Improve the base API test to cover the case when there is no bmap. * Fix a bug when copying without bmap. -- Artem Bityutskiy Wed, 21 Nov 2012 16:43:49 +0200 bmap-tools (0.5) unstable; urgency=low * Fix handling of bmap files which contain ranges with only one block. * Restore the block device settings which we change on exit. * Change block device settings correctly for partitions. * Rework API modules to accept file-like objects, not only paths. * Fix and silence pylint warnings. * Implement the base API test-case. -- Artem Bityutskiy Tue, 20 Nov 2012 15:40:30 +0200 bmap-tools (0.4) unstable; urgency=low * Improved compressed images flashing speed by exploiting multiple threads: now we read/decompress the image in one thread and write it in a different thread. -- Artem Bityutskiy Wed, 14 Nov 2012 12:35:06 +0200 bmap-tools (0.3) unstable; urgency=low * Fix flashing speed calculations * Fix the Ctrl-C freeze issue - now we synchronize the block device periodically so if a Ctrl-C interruption happens, we terminate withen few seconds. -- Artem Bityutskiy Tue, 13 Nov 2012 10:56:11 +0200 bmap-tools (0.2) unstable; urgency=low * Release 0.2 - mostly internal code re-structuring and renamings, not much functional changes. * The 'bmap-flasher' and 'bmap-creator' tools do not exist anymore. Now we have 'bmaptool' which supports 'copy' and 'create' sub-commands instead. * The BmapFlasher module was also re-named to BmapCopy. -- Artem Bityutskiy Fri, 09 Nov 2012 12:20:37 +0200 bmap-tools (0.1.1) unstable; urgency=low * Release 0.1.1 - a lot of fixes and speed improvements. -- Artem Bityutskiy Wed, 07 Nov 2012 11:36:29 +0200 bmap-tools (0.1.0) unstable; urgency=low * Initial release. -- Ed Bartosh Sun, 27 Oct 2012 22:31:28 +0300 debian/compat0000644000000000000000000000000212204426057010366 0ustar 9 debian/copyright0000644000000000000000000000201612204426057011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-name: bmap-tools Upstream-Contact: Artem Bityutskiy Source: git://git.infradead.org/users/dedekind/bmap-tools.git . The initial package was put together by Ed Bartosh on Sun Oct 27 22:32:19 EEST 2012. Files: * Copyright: © 2012-2013 Intel, Inc. License: GPL-2 Files: debian/* Copyright: © 2012-2013 Intel, Inc. License: GPL-2 License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: On Debian systems, the full text of the GPL v2 can be found in /usr/share/common-licenses/GPL-2. debian/bmap-tools.install0000644000000000000000000000002112204426057012626 0ustar bmaptool usr/bin debian/watch0000644000000000000000000000011212204426057010213 0ustar version=3 ftp://ftp.infradead.org/pub/bmap-tools/bmap-tools-([0-9.]+).tgz debian/bmap-tools.docs0000644000000000000000000000002312204426057012112 0ustar docs/RELEASE_NOTES debian/gbp.conf0000644000000000000000000000012012204426057010600 0ustar [DEFAULT] debian-branch = debian upstream-branch = upstream pristine-tar = True