Branch: refs/heads/nixpart
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 69149f31222df5331c0ac8ac8914c0961f19708a
      
https://github.com/NixOS/nixpkgs/commit/69149f31222df5331c0ac8ac8914c0961f19708a
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M pkgs/development/python-modules/blivet/default.nix

  Log Message:
  -----------
  blivet: Remove all imports of pyanaconda

We already had stubs for some pyanaconda imports so far, but some
functionality like enable_installer_mode() inherently depends on it, so
let's remove enable_installer_mode().

Another occurence of pyanaconda import is in storage_initialize():

  from pyanaconda.flags import flags as anaconda_flags
  flags.update_from_anaconda_flags(anaconda_flags)

This is an installer-specific function which should also be quite tied
to pyanaconda, but instead of removing this function altogether, we just
remove the import, because it only appends certain flags from the
pyanaconda module.

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


  Commit: c44441698de337d623aef51bae1a9e1d9dfc1d26
      
https://github.com/NixOS/nixpkgs/commit/c44441698de337d623aef51bae1a9e1d9dfc1d26
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M pkgs/development/python-modules/blivet/uuids.patch

  Log Message:
  -----------
  blivet: Update patch for setting UUIDs

This just contains one additional commit which fixes various pylint
errors.

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


  Commit: 7b4c696352500483cc078460f4200da941856620
      
https://github.com/NixOS/nixpkgs/commit/7b4c696352500483cc078460f4200da941856620
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M pkgs/development/python-modules/blivet/default.nix

  Log Message:
  -----------
  blivet: Run pocketlint tests in checkPhase

So far we had disabled the tests while referring to the NixOS VM test
instead. However, it's desirable to run as much tests as we can, so
let's run the pocketlint tests in checkPhase instead of skipping it
altogether.

In my case this is very useful because it would have caught a few errors
during development of the UUIDs pull request:

https://github.com/rhinstaller/blivet/pull/537

But even if we're not directly developing for the upstream project, this
also catches Nix-related errors, such as references against pyanaconda
which might still exist or exist again after an update.

I'm using a list to accumulate find arguments because I wanted to avoid
endless repetitions of -o -path xyz -prune.

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


  Commit: 6c9a0e0324e52a8a59aefd4e25862371a69a2032
      
https://github.com/NixOS/nixpkgs/commit/6c9a0e0324e52a8a59aefd4e25862371a69a2032
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M pkgs/development/python-modules/blivet/default.nix

  Log Message:
  -----------
  blivet: Verify PEP8 compliance in checkPhase

This is also part of blivet's "make check", so I've included it for
completeness and almost verbatim because blivet does not comply to a few
points in PEP8, like when it comes to line length.

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


Compare: https://github.com/NixOS/nixpkgs/compare/528c6ac8eac7...6c9a0e0324e5
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to