IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
This make it easier to work with the project and to improve packaging.
For example, README.md is now at the expected location, so it is
packaged automatically for pypi.
Change-Id: Ib1a456054de34146bf2a4f39a69ccf1756b99e41
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
As a decision was made to move image-proxy and image-daemon under the
same repository, this patch moves image-daemon related files to its
specific directory.
Once this change is done, the next phase will be to start migrating code
from the image-proxy project into this one. The proxy code will also
reside in its own directory.
After that, common code and setup scripts will be made for easy setup.
Change-Id: I49a58d933272ee17e27666ba4a7ff55300dcadfe
Signed-off-by: Amit Aviram <aaviram@redhat.com>
We want to merge this project with ovirt-image-proxy, and have
consistent names. This also more consistent with other ovirt projects
(e.g. ovirt-engine, ovirt-hosted-engine-ha).
Change-Id: I7efd46413cc4dd4cc70e72eabc3c25e8ea986929
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Add new errors module for keeping imaged errors. The first error is
PartialContent, raised when available size is shorter then the requested
size. Add tests verifying that the new error is raised when it should.
The new tests reveal that the reading loop was not checking the partial
content correctly when a file is not aligned to 512 bytes. The last read
returned partial content leaving the file offset at the end of the file.
The next read fails because the file offset is not aligned. Now we check
this state and fail wit the new PartialContent exception.
Change-Id: I9066ec43c71e6ce873abd16cac68c5d283694b3d
Signed-off-by: Nir Soffer <nsoffer@redhat.com>