As well as pyblock, the SHA256 changed here as well. Although the
changes between 1.99.32 and 1.99.39 aren't as minor as with pyblock,
this shouldn't have any impact on nixpart so I think it's safe to
upgrade (we'll see later, should we end up with failed tests in nixpart
or <nixos/tests/partition.nix>.
Of course we're now using the release tarball from the repo site here as
well.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
As the SHA256 changed in the meantime and there are only minor changes
between 0.52 and 0.53, I've updated this to the release tarball, which
hopefully won't change anytime soon.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Without this patch buildout will copy eggs from the nix store into the
./eggs directory and then try to compile them. This fails because they
are read only. This patch changes the behaviour to create symlinks to
eggs available in the nix store instead of copying them, and not to
try to compile the eggs in the store. To differentiate this from the
default buildout (which may be provided otherwise e.g. as a
dependency) the executable is renamed to buildout-nix.
This can be used in conjuntion with myEnvFun to create development
environments which make use of the python modules available in the
store while downloading any additional required eggs. A pleasant side
effect is that you can conveniently replace the symlink with a copy
for debugging purposes.
Using setup.py, the test suite isn't run at all, because it's not
referenced there. So let's call it directly.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
The reason behind this is to avoid breaking NixOps while releasing
version 1.0 of nixpart. We could also use nixpart and nixpart1, but the
goal is to have nixpart as a generic part of NixOS instead of being only
used specifically for the Hetzner backend of NixOps.
Which essentially means: The partition syntax will change to be based on
attribute sets and we no longer need to use Kickstart syntax. And that's
the main reason why it will break in version 1.0.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Leaving this just in buildInputs won't help here, because the project
using Paramiko will need pycrypto in any case.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
It doesn't make sense to build tools/applications with three different
python interpreter versions, so move them out of python modules list.
Also reverts 53ffc6e0ef.
This introduces the following changes:
- New subcommand "show" for hetznerctl which shows additional
information about one or more servers.
- Allow to get subnets of a specific server through the "subnets"
attribute.
- Allow te get IP addresses of a specific server through the "ips"
attribute.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This introduces the following changes:
- Validate Robot's SSL server certificates.
- Admin accounts can new be managed with the "admin" property of a
server instance.
- Better and fixed up error reporting.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Changes are:
- Ability to set the name of a server (Server.set_name()).
- New sub-command (set-name) for hetznerctl to set server name.
- Show server name in list command.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This is for NixOps and the corresponding Hetzner backend and allows for easy
referencing by nix-build using the -A argument.
Basically the Hetzner rescue system uses an older udev version from Debian, so
we need to use shared object major number 0 here.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This is to allow for easy overriding using <some_pkg>.override <overrides> and
might be used by other python modules not directly in pythonPackages.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>