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

virtmanager: disable openstack support by default #25481

Closed
wants to merge 1 commit into from

Conversation

FRidh
Copy link
Member

@FRidh FRidh commented May 3, 2017

os-testr was marked as broken [1] because of a pbr bump [2].
virtmanager depends indirectly on os-testr, however, both dependencies
using os-testr are optional. Therefore, we disable them by default to
maintain a working virtmanager.

[1] 52b1995

[2] 6eac5fd

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

cc @volth @qknight @offlinehacker @fpletz

os-testr was marked as broken [1] because of a pbr bump [2].
virtmanager depends indirectly on os-testr, however, both dependencies
using os-testr are optional. Therefore, we disable them by default to
maintain a working virtmanager.

[1] 52b1995

[2] 6eac5fd
@mention-bot
Copy link

@FRidh, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fpletz, @offlinehacker and @qknight to be potential reviewers.

@FRidh
Copy link
Member Author

FRidh commented May 3, 2017

I'm really not familiar with virtmanager but this got it working. It might make sense to group dependencies by feature.

sed -i "/'install_egg_info'/d" setup.py
'' + optionalString openstackSupport ''
sed -i 's|/usr/share/libvirt/cpu_map.xml|${system-libvirt}/share/libvirt/cpu_map.xml|g' virtinst/capabilities.py
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't know if this is correct, but since virtinst was mentioned...

@FRidh FRidh requested review from fpletz, DamienCassou, qknight and offlinehacker and removed request for DamienCassou May 3, 2017 17:00
@FRidh
Copy link
Member Author

FRidh commented May 3, 2017

@volth if virtinst works without glanceclient then that's an even better solution. Just make sure you keep a commit per package you touch.

@FRidh
Copy link
Member Author

FRidh commented May 3, 2017

That was my impression of virtmanager as well. I think those two expressions should be reviewed, checking which build inputs are really needed.

In any case, feel free to open a PR to replace this one.

@FRidh
Copy link
Member Author

FRidh commented May 7, 2017

e184e02 and 95534bc

@FRidh FRidh closed this May 7, 2017
@FRidh FRidh deleted the virtmanager branch May 7, 2017 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants