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

LVM module #184

Merged
merged 71 commits into from
Nov 10, 2016
Merged

LVM module #184

merged 71 commits into from
Nov 10, 2016

Commits on Nov 10, 2016

  1. [WIP] LVM proof-of-concept

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    d211570 View commit details
    Browse the repository at this point in the history
  2. lvm: stub for new TastStatus interface

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    5d4adc7 View commit details
    Browse the repository at this point in the history
  3. lvm: rename abbreviated LV/PV/VG to full names

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    6763f1f View commit details
    Browse the repository at this point in the history
  4. lvm: refactor

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    024c3b2 View commit details
    Browse the repository at this point in the history
  5. lvm: add few tests with real data

    Also few assorted fixes done
    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    825165e View commit details
    Browse the repository at this point in the history
  6. lvm: filesystem formatter/mounter

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    7b293e4 View commit details
    Browse the repository at this point in the history
  7. lvm: LV creation

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    fc1274e View commit details
    Browse the repository at this point in the history
  8. lvm: adapt to new modules registering scheme

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    3dc8b7a View commit details
    Browse the repository at this point in the history
  9. more tests

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    190a5ea View commit details
    Browse the repository at this point in the history
  10. lvm: new Check/Apply interface

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    e4d4cac View commit details
    Browse the repository at this point in the history
  11. lvm: Add DI for test {Read,Write}File

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    96020c5 View commit details
    Browse the repository at this point in the history
  12. lvm: push systemd details into LVM object

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    989ca68 View commit details
    Browse the repository at this point in the history
  13. lvm: Add VG highlevel test

    Also some refactoring
    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    0e55d96 View commit details
    Browse the repository at this point in the history
  14. lvm: add basic test for LV and FS

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    20a5c26 View commit details
    Browse the repository at this point in the history
  15. lvm: Add MakeAll to executor

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    ad1c166 View commit details
    Browse the repository at this point in the history
  16. lvm: adopt latest interface changes

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    24cd9fe View commit details
    Browse the repository at this point in the history
  17. lvm: refactor LV module after real-hw testing

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    ef37bb3 View commit details
    Browse the repository at this point in the history
  18. lvm: workaround for blkid on device, not created yet

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    f39084b View commit details
    Browse the repository at this point in the history
  19. lvm: more workarounds for VG, not created yet

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    d2e7ebc View commit details
    Browse the repository at this point in the history
  20. lvm: avoid removing of unrelated volumes from VG

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    4931cb9 View commit details
    Browse the repository at this point in the history
  21. lvm: typo

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    8b41ffb View commit details
    Browse the repository at this point in the history
  22. lvm: Vagrantfile and hcl for initial testing

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    f9da083 View commit details
    Browse the repository at this point in the history
  23. lvm: assorted fixes

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    802b1c9 View commit details
    Browse the repository at this point in the history
  24. lvm: fix last failing test

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    354bdfb View commit details
    Browse the repository at this point in the history
  25. lvm: add mockable calls for Getuid and Lookup

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    9d6cae5 View commit details
    Browse the repository at this point in the history
  26. lvm: add test for root and required tools to all modules

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    5ff730e View commit details
    Browse the repository at this point in the history
  27. lvm: unpublish OsExec structure

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    9993990 View commit details
    Browse the repository at this point in the history
  28. lvm: remove abstraction leaks (-2 fixmes)

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    3547267 View commit details
    Browse the repository at this point in the history
  29. lvm/fs: make resourceFS a private structure

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    08531f5 View commit details
    Browse the repository at this point in the history
  30. lvm/vg: use EvalSymlinks from standard library

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    1c2a724 View commit details
    Browse the repository at this point in the history
  31. lvm: make realLVM private structure, as well as .backend field in it

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    70d3a2a View commit details
    Browse the repository at this point in the history
  32. lvm: attempt to reformat code to make CC happy

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    c6302ec View commit details
    Browse the repository at this point in the history
  33. lvm: refactor size parsing and LV preparer

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    ea4701b View commit details
    Browse the repository at this point in the history
  34. lvm/lowlevel: Reformat tests using t.Run

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    9cd1156 View commit details
    Browse the repository at this point in the history
  35. lvm: more tests for lowlevel.*

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    e5069c6 View commit details
    Browse the repository at this point in the history
  36. lvm/fs: small refactor to reduce lint errors

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    e94ada0 View commit details
    Browse the repository at this point in the history
  37. lvm: silly cc dislike *me receiver which is really abbreviation

    ... so rename it from *me to *mex (both is abbreviation from
    *MockExecutor)
    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    93e9825 View commit details
    Browse the repository at this point in the history
  38. lvm: re-format more tests, using t.Run()

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    eafd054 View commit details
    Browse the repository at this point in the history
  39. lvm/testhelpers: comment all function in mock.go

    even if comments looks silly
    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    1c11423 View commit details
    Browse the repository at this point in the history
  40. lvm/vg: refactoring, fix CC complains

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    1cdd2a1 View commit details
    Browse the repository at this point in the history
  41. lvm: assorted codeclimate fixups

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    de52e69 View commit details
    Browse the repository at this point in the history
  42. Makefile: add 'make fmt' target

    Code here can be bit tricky, and use linux findutils' specific stuff
    -print "%h\\n" vs -exec dirname \{\}\; can be disscussable, but I
    definelly prefer -prune vs grep -v vendor/
    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    9b5b10a View commit details
    Browse the repository at this point in the history
  43. lvm: parametrize this simple example

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    a897927 View commit details
    Browse the repository at this point in the history
  44. lvm/vg: Add more tests for VG

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    f94298d View commit details
    Browse the repository at this point in the history
  45. lvm: Add license header

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    ebf44fd View commit details
    Browse the repository at this point in the history
  46. lvm: more assorted fixes from code review

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    edd1fcc View commit details
    Browse the repository at this point in the history
  47. lvm: replace all remaining FIXMEs with NB, and reference to issue

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    0ff6b37 View commit details
    Browse the repository at this point in the history
  48. lvm: remove some unused code

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    41108a8 View commit details
    Browse the repository at this point in the history
  49. lvm: demote device existence check to low-level

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    d7e7c18 View commit details
    Browse the repository at this point in the history
  50. lvm: whitespace in comments

    CodeClimate aggroing on then
    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    e754c1d View commit details
    Browse the repository at this point in the history
  51. lvm: missing comments for vg_test

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    baa0b04 View commit details
    Browse the repository at this point in the history
  52. lvm: fix failing test, and reenable it

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    11add34 View commit details
    Browse the repository at this point in the history
  53. lvm/vg: Documet preparer, add remove option

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    0b57634 View commit details
    Browse the repository at this point in the history
  54. lvm/lv: LV preparer documentation

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    dfa61fc View commit details
    Browse the repository at this point in the history
  55. lvm/fs: Document preparer

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    a8d27b2 View commit details
    Browse the repository at this point in the history
  56. lvm: rename resources to full names

    Also move init() to preparer.go as in all other resources
    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    1377e85 View commit details
    Browse the repository at this point in the history
  57. lvm/vg: More tests

    coverage: 98.2% of statements
    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    1c813cf View commit details
    Browse the repository at this point in the history
  58. lvm: avoid using braces for variable scoping

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    caca3ec View commit details
    Browse the repository at this point in the history
  59. lvm: more tests

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    acc71b2 View commit details
    Browse the repository at this point in the history
  60. lvm: enable documentation

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    0e4665a View commit details
    Browse the repository at this point in the history
  61. lvm: update to use new api with context.Context

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    d1e2d57 View commit details
    Browse the repository at this point in the history
  62. lvm: more error wrapping

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    7f592d0 View commit details
    Browse the repository at this point in the history
  63. lvm: fix CC warnings

    avnik authored and Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    23feae8 View commit details
    Browse the repository at this point in the history
  64. fix preparers

    Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    f2ef449 View commit details
    Browse the repository at this point in the history
  65. add preparer tests

    Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    8a35f18 View commit details
    Browse the repository at this point in the history
  66. mock symlink evaluation

    Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    19c98dc View commit details
    Browse the repository at this point in the history
  67. comment test funcs for codeclimate

    Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    d97a1df View commit details
    Browse the repository at this point in the history
  68. use nil instead of empty string or 0 for retry

    Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    6c61d44 View commit details
    Browse the repository at this point in the history
  69. name context in preparers

    Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    11be508 View commit details
    Browse the repository at this point in the history
  70. prune dead code

    Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    59f7bef View commit details
    Browse the repository at this point in the history
  71. linter fixes

    Rebecca Skinner committed Nov 10, 2016
    Configuration menu
    Copy the full SHA
    564500c View commit details
    Browse the repository at this point in the history