First test: simple installation
Second test: installation over multiple devices with RAID
Signed-off-by: Vojtech Trefny <vtrefny(a)redhat.com>
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/118
With providing both Python 2 and Python 3 packages we need to make sure both
have the translations available. This commit makes the translations shared by
both Python 2 and 3 subpackages by putting them into a separate subpackage
required by both.
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/126
Currently format options can be specified only for doFormat
function. This patch provides options to set the format options.
Usage ex:-
format = blivet.formats.getFormat("xfs", device=lv.path)
format.formatOptions = ["-f", "-K", "-i", "size=256", "-d", ...]
blivetEnv.formatDevice(lv, format)
blivetEnv.doIt()
bug-url: https://bugzilla.redhat.com/show_bug.cgi?id=1180221
Signed-off-by: Timothy Asir Jeyasingh <tjeyasin(a)redhat.com>
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/44
The motivation here is to enable hardware vendors to use regular md arrays for fwraid without the need for mdmonitor. The difficulty is that there will be nothing to distinguish these fwraid arrays from any other user-created array whose members are disks.
Existing arrays whose members/parents are all partitionable will be partitionable.
Existing arrays whose members/parents are all disks will be treated as disks.
It shouldn't be possible to delete such arrays in anaconda. They should be treated like fwraid arrays. It will be possible to delete them in blivet by scheduling an `ActionDestroyFormat`/`ActionDestroyDevice` action pair, but calling `DeviceTree.recursiveRemove` on them will not destroy the array.
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/138
When blivet becomes environment aware, it will not need to require these
packages, since it should not fail in the event that these
packages are not installed.
Presumably anaconda still wants the capabilities these packages provide,
since it is used to having them through blivet, so add these Requires to
anaconda.
Signed-off-by: mulhern <amulhern(a)redhat.com>
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/83
>From the original review in PR #120
@mulkieran
> Please use "with self.assertRaises" everywhere. It's just easier on the eyes.
This doesn't work b/c assertRaises and assertRaisesRegex are different. I'm not quite sure what do you mean but directly changing one for the other doesn't seem to work.
> Also, we always use six.PY2 and six.PY3 to check the python version for this kind of thing, not sys.version_info, so it's probably best to stick with that.
Fixed.
> I think you should be able to avoid modifying the class hierarchy to deal with the versioning problem in commit 3. You might consider modifying unittest.TestCase instead, for example.
Let me see how can I do this. Is there a place where I can hook into before the test cases are actually executed? If so I can monkey-patch unittest.TestCase instead of creating another base class.
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/133
doctest target was removed in fed53d969af0eddaeeca58cdf3e40916497aa305. This PR cleans up a bit more.
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/122
The findActiveDevicesOnActionDisks method returns a list with the names
(strings) of the active devices. There is not a 'name' attribute to be
accessed.
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/117