This introduces the following changes:
- hetznerctl: Fix UnicodeEncodeError in server product name.
- Support rebooting of vServers.
- Server now has a new attribute is_vserver.
- Add a README.md with examples.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
- import pkgs.lib by default, there's no reason why not
- Define `isPy*` helper functions for all python versions
- Define `pythonName` that returns unique python name based on `isPy*`
helpers
- Fix `python2.7` version detection
- Fix pythonPackages importing(with) for `python2.7` only packages
Before we used `easy_install` command to handle installation
in one shot, now this is split into two phases:
- buildPhase: python setup.py build
- installPhase: python setup.py install
Each of those commands have the ability to pass extra
parameters through buildPythonPackage parameters as
`setupPyInstallFlags` and `setupPyBuildFlags`.
Phases now correctly execute post/pre hooks.
In configurePhase we inject setuptools dependency before distutils
is imported to apply monkeypatching by setuptools that is needed
for special features to apply.
We don't have to reorder default phases anymore, as test
phase comes after build and that works.
I rewrote offineDistutils into distutils-cfg with a bit cleaner
syntax and ability to specify extraCfg to the config file.
Plone packages are failing and garbas said he will adopt them to
the new functions. The rest of the packages I fixed and these commits
shouldn't break any package (according to my testings) and they introduce
16 new jobs and fix 38 that were broken before.
This release contains only minor fixes, which are:
* Fix AttributeError bugs in known_hosts file (re)loading.
* Note ecdsa requirement in README.
Full changelog with credits and issue IDs can be found at:
https://github.com/paramiko/paramiko/blob/master/NEWS
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Qt and CUPS are not supported on Darwin and are dependencies.
Note: this makes ipython the same as ipythonLight on Darwin, but
ipython is used as an input for other packages (ipdb and ipdplugin)
and it is reasonable to assume that users on other platforms may
choose ipythonLight.
Matplotlib is currently using hacked together build / install phases
which mimick this functionality of buildPythonPackage. This patch
changes the expression to remove the duplicated build scripting.
pycollada is a python library for reading and writing collada documents.
collada is an open file format (XML based) for 3D applications. Filename
extension is .dae (digital asset exchange).
This only happens during setup.py build and generates the corresponding
_pb2.py files from the .proto files, as they're no longer included in
the source distribution starting from 2.5.0.
Thanks to @iElectric for reporting this build failure:
http://hydra.nixos.org/build/6897112
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Changes:
0.9.0 (2013-10-05)
Support python 3.2 and 3.3 (thanks to @masayuko)
Drop supports for python 2.4 and 2.5
Replace dependency: PIL -> Pillow
(The test phase still fails, so continue having it disabled.)
Changes:
1.0.0 (2013-10-05)
Support python 3.2 and 3.3 (thanks to @masayuko)
Drop supports for python 2.4 and 2.5
Replace dependency: PIL -> Pillow
(The test phase still fails, so continue having it disabled.)
Changes:
0.5.1 (2013-10-22)
Fix bugs
0.5.0 (2013-10-05)
Support python 3.2 and 3.3 (thanks to @masayuko)
Drop supports for python 2.4 and 2.5
Replace dependency: PIL -> Pillow
(The test phase still fails for one test, so continue having it disabled.)
Changes:
1.3.2 (2013-11-19)
Fix bugs
1.3.1 (2013-10-22)
Fix bugs
1.3.0 (2013-10-05)
Support python 3.2 and 3.3 (thanks to @masayuko)
Drop supports for python 2.4 and 2.5
Replace dependency: PIL -> Pillow
(The test phase still fails for one test, so continue having it disabled.)
Changes:
* Added context manager support to Cursor
* Added padding for driver bugs writing an extra byte
* Cursor.executemany now accepts an iterator or generator.
* Compilation improvements for FreeBSD, Cygwin, and OS/X
* Use SQL_DATA_AT_EXEC instead of SQL_DATA_LEN_AT_EXEC when possible for driver compatibility.
* Row objects can now be pickled.
This patch pushes django 1.4.1 -> 1.4.10 and adds django 1.5.5 and
django 1.6. Additionally, it creates the default django package which
always points to the latest version.
Robot Framework is a generic test automation framework for acceptance
testing and acceptance test-driven development (ATDD).
http://robotframework.org/
This introduces the following changes:
- Remove scraping of the Robot web interface for getting the server ID.
- Display server number whenever appropriate.
- Remove duplicate definition of exceptions.
- Gracefully return if there are no subnets available.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This reverts commit 58fdf34296, because it
wasn't actually very fitting for nixpkgs in general, so let's wait for
the upcoming upstream release to address this.
Details can be found at:
https://github.com/NixOS/nixpkgs/commit/58fdf34#commitcomment-4231461
Thanks to @iElectric for the notice.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
The upstream package has a new maintainer (Jeff Forcier) and thus the
main homepage for the project is the GitHub page.
Also the long description contains quite a lot of unrelevant
information, so I've used the one from PyPI, which is a lot smaller and
just contains what the library supports and does.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This patch should be backwards-incompatible and is also submitted
upstream as paramiko/paramiko#218.
The main reason for this patch is that we need it for NixOS/nixops#124
in order to cope with NixOS/nixops@a2718b6, which makes ECDSA private
key the default for new deployments.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
A small summary of the changes:
- Add tentative support for ECDSA keys.
- Add server-side support for the SSH protocol's 'env' command.
The full change log can be found at:
https://github.com/aszlig/paramiko/blob/master/NEWS
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This is needed for the latest Paramiko release, which includes support
for ECDSA keys using this library.
I'm using ECDSA in the description itself, because the name also
reflects the functionality and "cryptographic signature library" would
sound odd in this case.
Also, I'm adding myself to maintainers, because I'm going to take over
maintenance for Paramiko as well.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This fixes a few issues with symlinks and also needs to be up to date
because we're going to use it for building Chromium instead of the
bundled GYP that comes with Chromium.
Also, the package was missing a license and in the current revision, we
also have test cases, so let's enable them.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
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>
The pyodbc module enables python programs to connect to almost any
database using ODBC.
Build and "import pyodbc" tested, but I haven't tried connecting to any
database yet.
gevent is a coroutine-based Python networking library that uses greenlet
to provide a high-level synchronous API on top of the libevent event
loop.
Run tested.
This introduces the ability to mount filesystems (only). Also, the description
is now less kickstart specific as in the long term we want to move away from
kickstart syntax to Nix attribute sets.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Changes since 0.16-1:
- Used Python type instead of variable name (hamzy)
- Fix detection of valid EFI system partition during autopart. (dlehman)
Full changelog can be found in the spec file in the package or at:
https://git.fedorahosted.org/cgit/blivet.git/tree/python-blivet.spec
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
demjson is a Python JSON module that reads, writes and validates
JSON-encoded data; compliant with RFC 4627.
It also includes a lint checker, jsonlint, which can be used to validate
JSON documents for strict conformance to the RFC specification; as well
as to reformat them, either by re-indenting or for minimal/canonical
JSON output.
Homepage: http://deron.meranda.us/python/demjson/
This version is preliminary because it quite heavily depends on pykickstart
(through blivet) and the roadmap is to have a nice NixOS attrset-based
specification of partitions.
Currently the main purpose for this is in preparation for the Hetzner nixops
backend, but we might want to make this part of the standard NixOS installer.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This adds the correct store paths for mount, umount and lsof to blivet as these
commands are still generic enough to _not_ add them as a dependency.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
First of all, the path to wipefs didn't work at all, and though it is
documented, the "-f" flag only works when used as a long option ("--force").
This is probably fixed upstream in util-linux, but using the long-option will
stay compatible.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This should ensure the test casnes are always running in the same order,
regardless of the target machine. We're just using the class name here, which
should be sufficient enough to address the issue.
Now the following build should be fixed:
http://hydra.nixos.org/build/5425811
Big thanks to @rbvermaa for being a *really* great help debugging the problem
quickly, because I couldn't reproduce it here (the run order of the test cases
on my machine were 'accidentally' right).
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This still doesn't have all possibly required dependencies, but at least we can
do basic partitioning, which is our primary goal. At least when it comes to the
Hetzner target of nixops. But even for partitioning when installing NixOS this
library could be _very_ useful.
Test cases currently don't work because they're filled with syntax errors and
some references to the mocking library are missing.
As you can see in propagatedBuildInputs, here are the promised overrides for
Python support of libselinux and cryptsetup.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Thought this would be needed for blivet, but it wasn't the case. They seem to
have their own mini-implementation. But it might be useful for other Nixers, who
knows?
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Needed for blivet and this is part of Anaconda (Fedora's installation system).
The reason I'm packaging this is because of blivet and because it's quite well
decoupled from Anaconda itself, so it can be used for other purposes.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
There is no new upstream version available and the latest upstream release is
still using calls to prehistoric versions of libnotify. Most other distro have
patched this already, so no need to patch again. Patch is from Fedora (which is
the most referenced source seen so far).
Additionally the configure script cannot find the correct path to the codegen
executable, so we're patching it accordingly as well.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
ninja is a build system written in C++ that just happens to use python
to build/install *itself*. It is not a "python package".
After this commit, ninja will be at pkgs.ninja instead of
pkgs.pythonPackages.ninja.