Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixops
  Commit: 1ab1e6cf2555214fc5f1da49da462883cc115766
      
https://github.com/NixOS/nixops/commit/1ab1e6cf2555214fc5f1da49da462883cc115766
  Author: Niklas Hambüchen <m...@nh2.me>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    M nixops/backends/hetzner.py

  Log Message:
  -----------
  hetzner: Actually turn XML values into Python types.

This worked so far because all used types are strings,
but we want this to work in general for all types.


  Commit: 72f6b81aa9f0e965e2f11fde57beb58cfbf72c9c
      
https://github.com/NixOS/nixops/commit/72f6b81aa9f0e965e2f11fde57beb58cfbf72c9c
  Author: Niklas Hambüchen <m...@nh2.me>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    M doc/manual/overview.xml
    M nix/hetzner.nix
    M nixops/backends/hetzner.py

  Log Message:
  -----------
  hetzner: Add `deployment.hetzner.createSubAccount` setting. Fixes #592.

This allows using NixOps with pre-existing Hetzner "admin" sub-accounts,
which is necessary when 2-factor auth is enabled for the main account.

I've also cleaned up the language a bit, making it more clear that
"admin account" refers to the sub-account, not to the main account.


  Commit: d0da0d724411ff5c908a647548940902501096fb
      
https://github.com/NixOS/nixops/commit/d0da0d724411ff5c908a647548940902501096fb
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-06-24 (Sat, 24 Jun 2017)

  Changed paths:
    M doc/manual/overview.xml
    M nix/hetzner.nix
    M nixops/backends/hetzner.py

  Log Message:
  -----------
  Merge pull request #688 (work around 2FA)

This allows to use an existing admin account instead of creating one
using the API, so that it's easier if you use 2-factor-authentication on
the main robot account.

I've tested this change using the hetzner_backend NixOS test and it
still succeeds, however the problem is that that test doesn't really
test the API, so this might still cause hidden issues on newly installed
servers, but from the code changes I feel confident enough that it's
highly unlikely.


  Commit: 6ed1332ab93fa4a7803523cad185da13ed9d8731
      
https://github.com/NixOS/nixops/commit/6ed1332ab93fa4a7803523cad185da13ed9d8731
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-06-24 (Sat, 24 Jun 2017)

  Changed paths:
    M nixops/backends/hetzner.py

  Log Message:
  -----------
  backends/hetzner: Fix Flake8 errors

This fixes the following errors:

F401 'sys' imported but unused
E731 do not assign a lambda expression, use a def
E731 do not assign a lambda expression, use a def
E501 line too long (86 > 79 characters)
E501 line too long (88 > 79 characters)
E731 do not assign a lambda expression, use a def
F812 list comprehension redefines 'net' from line 532
E501 line too long (83 > 79 characters)
E501 line too long (90 > 79 characters)
E731 do not assign a lambda expression, use a def

I've used NOQA on the log_continue() lambdas, because creating a def
just for that would not make it more readable.

In addition, I've removed the "Create a new Admin account exclusively
for this machine." comment because in the line before we have a
log_start() which says pretty much the same.

Also, setting robot_user/robot_pass to None at the beginning of
_get_robot_user_and_pass() is superfluous, because both if/else
statements that follow will set a value in any case.

Signed-off-by: aszlig <asz...@redmoonstudios.org>


Compare: https://github.com/NixOS/nixops/compare/7ea36691ebec...6ed1332ab93f
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to