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

V2 #164

Merged
merged 164 commits into from
Mar 11, 2024
Merged

V2 #164

merged 164 commits into from
Mar 11, 2024

Commits on Mar 10, 2024

  1. V2 refactoring

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    c177d2d View commit details
    Browse the repository at this point in the history
  2. Eliminate exec/errors

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    caf8196 View commit details
    Browse the repository at this point in the history
  3. Ditch pkg/

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    98adbfd View commit details
    Browse the repository at this point in the history
  4. Reduce configurer functions

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    b4bceeb View commit details
    Browse the repository at this point in the history
  5. Deterministic initsystem resolving

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    7eba19d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eca6d2c View commit details
    Browse the repository at this point in the history
  7. Get rid of "configurers", implement all in fsys

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    6d7289b View commit details
    Browse the repository at this point in the history
  8. A round of linting

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    f7a2014 View commit details
    Browse the repository at this point in the history
  9. Universal package manager

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    b088719 View commit details
    Browse the repository at this point in the history
  10. A round of linting

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    851abc2 View commit details
    Browse the repository at this point in the history
  11. Something removed stripansi dependency(?)

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    909ed7e View commit details
    Browse the repository at this point in the history
  12. Fix tests, ditch atomic.Value

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    acfad65 View commit details
    Browse the repository at this point in the history
  13. Add missing files

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    4361a59 View commit details
    Browse the repository at this point in the history
  14. Fix nsec touch fallback

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    dd1c13a View commit details
    Browse the repository at this point in the history
  15. A round of linting

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    61f40b9 View commit details
    Browse the repository at this point in the history
  16. Fix stream passing

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    5ff64cc View commit details
    Browse the repository at this point in the history
  17. Use Get-Content to read content

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    9776141 View commit details
    Browse the repository at this point in the history
  18. Silence rigrcp binary logs

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1d2e7d3 View commit details
    Browse the repository at this point in the history
  19. Implement service log reading

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d41836f View commit details
    Browse the repository at this point in the history
  20. Different readfile

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    09297de View commit details
    Browse the repository at this point in the history
  21. Use regular read/write for windows writefile/readfile

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    15667a3 View commit details
    Browse the repository at this point in the history
  22. Improve chtimes

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d6be84d View commit details
    Browse the repository at this point in the history
  23. Correct precision for windows

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    cc709d7 View commit details
    Browse the repository at this point in the history
  24. Add TruncateTime and improve equality comparison

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    fd23717 View commit details
    Browse the repository at this point in the history
  25. Add a warning about softtime false positives

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    3b27715 View commit details
    Browse the repository at this point in the history
  26. Refactor checkpoint, go vet passes

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    6e7d983 View commit details
    Browse the repository at this point in the history
  27. Improve connection creation

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    7a06f88 View commit details
    Browse the repository at this point in the history
  28. Improve init and injection

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    4bd3560 View commit details
    Browse the repository at this point in the history
  29. Split workflows

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    c292986 View commit details
    Browse the repository at this point in the history
  30. Why is the host key mismatching now, i dont know

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    59930fc View commit details
    Browse the repository at this point in the history
  31. No strict

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    bc52bb4 View commit details
    Browse the repository at this point in the history
  32. Add openssh control master logging

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d7f5b43 View commit details
    Browse the repository at this point in the history
  33. A round of linting

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    dd63d52 View commit details
    Browse the repository at this point in the history
  34. Move functions to connection

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    255ff13 View commit details
    Browse the repository at this point in the history
  35. Rename softtime to stattime

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    10018b0 View commit details
    Browse the repository at this point in the history
  36. More repos

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    a51902d View commit details
    Browse the repository at this point in the history
  37. Renew logging

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    4336e9e View commit details
    Browse the repository at this point in the history
  38. Init runner

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    def684a View commit details
    Browse the repository at this point in the history
  39. Nilchecks

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    5ad6bdd View commit details
    Browse the repository at this point in the history
  40. Tweak injectables initialization

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    da50c73 View commit details
    Browse the repository at this point in the history
  41. Another round of linting

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    c163ee9 View commit details
    Browse the repository at this point in the history
  42. Rename repo => provider, injectables => dependencies

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    9f02bb7 View commit details
    Browse the repository at this point in the history
  43. Rename rigfs => remotefs and all Fsys to FS

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    f5a4e34 View commit details
    Browse the repository at this point in the history
  44. A round of linting

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    7aed357 View commit details
    Browse the repository at this point in the history
  45. Rename Repository => Provider

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1364f44 View commit details
    Browse the repository at this point in the history
  46. Add top package getters for subsystems

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    7c43bf7 View commit details
    Browse the repository at this point in the history
  47. Return slash-separated paths from windows too

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    5d58317 View commit details
    Browse the repository at this point in the history
  48. Improve the client interface

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d75e9aa View commit details
    Browse the repository at this point in the history
  49. Add a testutil package rigtest

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    223ecef View commit details
    Browse the repository at this point in the history
  50. "Providerize" OSRelease getter

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    3e2a98b View commit details
    Browse the repository at this point in the history
  51. Add a toplevel GetService

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    c41b7e7 View commit details
    Browse the repository at this point in the history
  52. Rename OSRelease => os.Release

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    ad8af06 View commit details
    Browse the repository at this point in the history
  53. Add protocol constructors

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    60bd16e View commit details
    Browse the repository at this point in the history
  54. Rename OSRelease => os.Release (fixup)

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    084c5fc View commit details
    Browse the repository at this point in the history
  55. Add top level rig.GetFS

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d0fb703 View commit details
    Browse the repository at this point in the history
  56. Exec writer doc comments

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    ae609a7 View commit details
    Browse the repository at this point in the history
  57. Runner tests

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    45d9b67 View commit details
    Browse the repository at this point in the history
  58. Another round of linting fixes

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d7472eb View commit details
    Browse the repository at this point in the history
  59. Small visibity fixes and function renames

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    8f4808b View commit details
    Browse the repository at this point in the history
  60. Move protocol implementations into their own dirs

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    a4a3eff View commit details
    Browse the repository at this point in the history
  61. Dont try to unmarshal Connection automatically, user should DIY

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    f5ed5cb View commit details
    Browse the repository at this point in the history
  62. Provide v0 like serializable DefaultConnection that uses defaults

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    c5ce13b View commit details
    Browse the repository at this point in the history
  63. Another round of linting fixes

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    bda8ac5 View commit details
    Browse the repository at this point in the history
  64. Rename Client to Protocol

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    5799359 View commit details
    Browse the repository at this point in the history
  65. Rename Connection to Client

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    7e66f71 View commit details
    Browse the repository at this point in the history
  66. Rename ClientConfigurer to ProtocolConfigurer

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    e5471ce View commit details
    Browse the repository at this point in the history
  67. Rename ClientConfig to CompositeConfig

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    c95a531 View commit details
    Browse the repository at this point in the history
  68. Rename Protocol to Connection and adapt implementations to match

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    7afc1d0 View commit details
    Browse the repository at this point in the history
  69. Split protocols into connection.go and config.go

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    c93666c View commit details
    Browse the repository at this point in the history
  70. Rename WithClient to WithConnection

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    520fae7 View commit details
    Browse the repository at this point in the history
  71. Remove exec.Confirm

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    137f568 View commit details
    Browse the repository at this point in the history
  72. Eliminate localhost.Config, just use bool

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    db55dab View commit details
    Browse the repository at this point in the history
  73. Fix ssh homedir.Expand usage

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    8018040 View commit details
    Browse the repository at this point in the history
  74. Rename rig.NewConnection to rig.NewClient

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    dd0dbf5 View commit details
    Browse the repository at this point in the history
  75. Reorder fields

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    e48775c View commit details
    Browse the repository at this point in the history
  76. Dont memoize String

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    ab568b7 View commit details
    Browse the repository at this point in the history
  77. A round of linting

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    b2219de View commit details
    Browse the repository at this point in the history
  78. Adjust interface returning

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    9570341 View commit details
    Browse the repository at this point in the history
  79. Doccomment updates

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    209a1db View commit details
    Browse the repository at this point in the history
  80. Fix bastion

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    c746e1d View commit details
    Browse the repository at this point in the history
  81. Rename MockClient to MockConnection

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d4c6f21 View commit details
    Browse the repository at this point in the history
  82. Eliminate errors.go

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    e098947 View commit details
    Browse the repository at this point in the history
  83. Doc comment updates

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    4471355 View commit details
    Browse the repository at this point in the history
  84. Finetune homedir.Expand

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    83200a6 View commit details
    Browse the repository at this point in the history
  85. Implement a generic Service type and adapt subsystems

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    a3a2645 View commit details
    Browse the repository at this point in the history
  86. Generic provider

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    cb0a915 View commit details
    Browse the repository at this point in the history
  87. A round of linting

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    ae7f125 View commit details
    Browse the repository at this point in the history
  88. Move abort.ErrAbort to protocol.ErrAbort

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    9419300 View commit details
    Browse the repository at this point in the history
  89. Fix data race in DefaultClient

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    24a0c10 View commit details
    Browse the repository at this point in the history
  90. Minor renames and doc comment updates

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    83c37eb View commit details
    Browse the repository at this point in the history
  91. Doc comment updates

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    bc306ae View commit details
    Browse the repository at this point in the history
  92. Options validation

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    53eff67 View commit details
    Browse the repository at this point in the history
  93. Rename Options to ClientOptions

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    5931d0b View commit details
    Browse the repository at this point in the history
  94. Rename DefaulOpenSSHOptions to DefaultOptionArguments

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    559aa8a View commit details
    Browse the repository at this point in the history
  95. SSH signals todo notes

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    390b7c6 View commit details
    Browse the repository at this point in the history
  96. Rename services.go to aliases.go

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    af8f8ac View commit details
    Browse the repository at this point in the history
  97. Expose less errors

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1355a5d View commit details
    Browse the repository at this point in the history
  98. Add tests for plumbing

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    c321b22 View commit details
    Browse the repository at this point in the history
  99. Implement shellescape locally

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    0093e83 View commit details
    Browse the repository at this point in the history
  100. Drop creasty/defaults

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    8516b8c View commit details
    Browse the repository at this point in the history
  101. Remove sprintf-formatting from execs and ensure unprefixed windows co…

    …mmands go through cmd.exe
    
    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    fb77c34 View commit details
    Browse the repository at this point in the history
  102. Add exec.Command for formatting commands

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1c4e350 View commit details
    Browse the repository at this point in the history
  103. Check for printf-errors in commands, refuse to exec.

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    cbe7c08 View commit details
    Browse the repository at this point in the history
  104. Accept anything.exe as cmd prefix in windows

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1a61e7e View commit details
    Browse the repository at this point in the history
  105. Move shellescape to sh/shellescape

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    798b026 View commit details
    Browse the repository at this point in the history
  106. Move exec.Command to sh.Command and implement CommandBuilder

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    4170a97 View commit details
    Browse the repository at this point in the history
  107. Use new sh.Command for command generation

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1cbb2f5 View commit details
    Browse the repository at this point in the history
  108. Prematurely optimize ReadDir functions

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    49de9f3 View commit details
    Browse the repository at this point in the history
  109. Minor optimizations and beautifications

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    272fac3 View commit details
    Browse the repository at this point in the history
  110. Fix os-release extra fields parsing test

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    3a0bffc View commit details
    Browse the repository at this point in the history
  111. Remove the osversion.go after rebase

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1d033ef View commit details
    Browse the repository at this point in the history
  112. Copy & paste failures in package managers

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    88afb9b View commit details
    Browse the repository at this point in the history
  113. Make mock starter matcher order deterministic

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1fcc9d2 View commit details
    Browse the repository at this point in the history
  114. Files sudo.go and doas.go had opposite contents

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    470303e View commit details
    Browse the repository at this point in the history
  115. Add tests for top level getters

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    61c1a6a View commit details
    Browse the repository at this point in the history
  116. Implement ScannerRunner for bufio.Scanning command output

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    5f56cc3 View commit details
    Browse the repository at this point in the history
  117. Finetune string builders

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    9a657b0 View commit details
    Browse the repository at this point in the history
  118. A round of linting

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    b0f1b88 View commit details
    Browse the repository at this point in the history
  119. Improve the rigtest mocking tools

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    2403981 View commit details
    Browse the repository at this point in the history
  120. Implement rigtest assertions

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    ae7e5c9 View commit details
    Browse the repository at this point in the history
  121. Use the new rigtest features in tests

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    a0902ba View commit details
    Browse the repository at this point in the history
  122. Make homedir_test windows compatible

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    f4a550f View commit details
    Browse the repository at this point in the history
  123. Doc comment typos

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    ec7da7b View commit details
    Browse the repository at this point in the history
  124. Move exec.HostRunner to rig.Executor

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    61076fd View commit details
    Browse the repository at this point in the history
  125. Move exec.Options to rig.ExecOptions

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    673fab0 View commit details
    Browse the repository at this point in the history
  126. Use pool for shellescape builders

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    3f9265a View commit details
    Browse the repository at this point in the history
  127. Implement posix-like shellescape.Unquote

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    29441c6 View commit details
    Browse the repository at this point in the history
  128. Implement kv.Split for splitting key-value pairs

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    3e98a67 View commit details
    Browse the repository at this point in the history
  129. Implement kv.Decoder, an encoding/json like KEY=VALUE decoder

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1fec221 View commit details
    Browse the repository at this point in the history
  130. Relax linting rules

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    61e2183 View commit details
    Browse the repository at this point in the history
  131. Byteslice and redaction tools

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    ef17899 View commit details
    Browse the repository at this point in the history
  132. Rename exec to cmd, redo logging

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    742fe8c View commit details
    Browse the repository at this point in the history
  133. Log attrs

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d35ff56 View commit details
    Browse the repository at this point in the history
  134. Better logger initialization to avoid duplicate keys

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    49a5afa View commit details
    Browse the repository at this point in the history
  135. More logger initialization

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    ca92744 View commit details
    Browse the repository at this point in the history
  136. Unknown why logger is quiet in tests

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    9e70062 View commit details
    Browse the repository at this point in the history
  137. Various fixes to make unit tests pass again

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    a7c1d24 View commit details
    Browse the repository at this point in the history
  138. Reduce excessive trace logging

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    e283385 View commit details
    Browse the repository at this point in the history
  139. A round of linting

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    f1350a7 View commit details
    Browse the repository at this point in the history
  140. Add an example for ScanWriter

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    b890c42 View commit details
    Browse the repository at this point in the history
  141. Remove test for a removed feature

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    acd9148 View commit details
    Browse the repository at this point in the history
  142. Fix kv-decoder error logic

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    8687c79 View commit details
    Browse the repository at this point in the history
  143. OSRelease IDLike now a slice

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    e4d061f View commit details
    Browse the repository at this point in the history
  144. Fixes for failing tests

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    43c479a View commit details
    Browse the repository at this point in the history
  145. Fix logger injection

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    b746968 View commit details
    Browse the repository at this point in the history
  146. Double HostAttr from executor logging

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d3b57db View commit details
    Browse the repository at this point in the history
  147. Use bufio.Scanner internally in ScanWriter

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    6c358d4 View commit details
    Browse the repository at this point in the history
  148. Use the iostream types in exec logging

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    f766aff View commit details
    Browse the repository at this point in the history
  149. Remove the [SSH] type protocol prefixes from host strings

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d8b6c7a View commit details
    Browse the repository at this point in the history
  150. Move bytecounter to iostream

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    19a3caa View commit details
    Browse the repository at this point in the history
  151. Switch all to k0sproject/rig/v2

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    61c89dc View commit details
    Browse the repository at this point in the history
  152. Update readme with v2 wip note

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    ac06ac3 View commit details
    Browse the repository at this point in the history
  153. Executor test was not in cmd/

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    a4b4df0 View commit details
    Browse the repository at this point in the history
  154. Include stderr snippets in exec failure errors

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    e6ab22a View commit details
    Browse the repository at this point in the history
  155. Typo in filename

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    af0a62a View commit details
    Browse the repository at this point in the history
  156. Small doc tweaks

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1a8c643 View commit details
    Browse the repository at this point in the history
  157. Implement retry locally

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1fe62da View commit details
    Browse the repository at this point in the history
  158. Connect() is now Connect(ctx) with auto retry

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    4008afb View commit details
    Browse the repository at this point in the history
  159. Allow disabling Connect auto-retry

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    12457b3 View commit details
    Browse the repository at this point in the history
  160. Move protocol implementations under protocol/

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    7f1c008 View commit details
    Browse the repository at this point in the history
  161. Fix go.sum after rebase

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    c33959c View commit details
    Browse the repository at this point in the history
  162. Doc touch up and a couple of examples

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1c7c60f View commit details
    Browse the repository at this point in the history
  163. Additional README for shellescape

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    87043bb View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. A round of linting

    Signed-off-by: Kimmo Lehto <[email protected]>
    kke committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    f1aa362 View commit details
    Browse the repository at this point in the history