Commit Graph

30 Commits

Author SHA1 Message Date
Cole Robinson 17f57eaaa7 Centralize call to setup_i18n in virtinst __init__
No need to call it twice
2014-09-08 10:42:44 -04:00
Cole Robinson f4fcf4c3e7 Prep for release 1.1.0 2014-09-07 16:22:04 -04:00
Cole Robinson 9c4c1e84aa cliconfig: Better error if glib-compile-schemas is not available 2014-05-31 16:28:58 -04:00
Roman Bogorodskiy 05df5a6484 Add bhyve support
Allow connection to bhyve using bhyve:///system URI. That is
disabled by default and could be enabled using the new
configure option 'with-bhyve'.
2014-04-11 15:52:31 -04:00
Cole Robinson 8b7ebd4538 Prep for release 1.0.1 2014-03-22 18:38:44 -04:00
Cole Robinson b83ee891ab Prep for release 1.0.0 2014-02-14 18:45:01 -05:00
Martin Kletzander dc0b9bbaaf Rename hide_unsupported_rhel_options to stable_defaults and clean-up its usage
There were multiple problems with the setting and usage of
hide_unsupported_rhel_options.  Due to the fact that the option has
several diferent namings throughout the code, this patch is renaming
it to stable_defaults, which basically says what the option does and
makes it possible to use it without need for more than one negation
(where the old code had up to 4 of them in some places), which also
helps understanding it.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2014-01-21 17:13:18 +01:00
Giuseppe Scrivano 0df75c7603 headers: update "Red Hat, Inc." copyright for the year 2013
Ensure that any file touched by a @redhat.com author in 2013 has an
updated copyright header.

The files were updated using the build-aux/update-copyright gnulib
script and manually added where the copyright line wasn't present.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2013-10-28 17:22:26 +01:00
Giuseppe Scrivano fad01e70fe cliconfig: fix another configuration file parsing problem
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2013-10-09 18:02:51 +02:00
Cole Robinson 64b501cdc0 cliconfig: Fix parsing the configuration file 2013-10-08 14:42:59 -04:00
Cole Robinson cda621548b Fix last remnants of default_graphics=vnc 2013-10-02 18:51:27 -04:00
Cole Robinson e93a984377 setup: Store canonical configure defaults in virtcli 2013-10-02 18:50:01 -04:00
Cole Robinson c136fde04d cliconfig: Use default values if we're in the test suite
We were doing this by hand more or less, but this way is more future
proof.
2013-10-02 18:42:51 -04:00
Martin Kletzander 9f37f58804 Fix tests that fail due to default graphics change
As pointed out, the tests were configuration-dependent and thus might
have failed in case './setup.py configure' was run with non-default
graphics.  The default graphics has changed as well and that lead to
test disaster.  Reverting first hunk of commit b8a209ef and making the
tests independent of default graphics configuration makes all the
failures go away.
2013-07-17 08:14:34 +02:00
Martin Kletzander b8a209ef9c virt-install: Make default graphics configurable
The '--default-graphics' option of 'setup.py configure' only affects
virt-manager, but not virt-install.  This should be unified, so this
patch checks whether default_graphics taken from the cli is supported
and uses that option.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=912615
2013-07-16 08:07:57 +02:00
Cole Robinson 35758d0fb7 Merge virt-* logging setup 2013-07-05 16:21:33 -04:00
Cole Robinson 10cf80c25b Prep for release 0.10.0 2013-06-19 18:37:21 -04:00
Cole Robinson 974867189d virtcli: Explicitly error if schemas fail to compile 2013-04-23 14:21:45 -04:00
Cole Robinson f6f55314cb Remove virt-manager-tui
Was originally added with hopes for being used in an ovirt related
product, but was more or less a code dump, and the author has been
allocated to other things. He confirmed it's okay to remove.

That, and it's currently broken, and we've had approximately 0 user
feedback since it was committed.
2013-04-18 16:12:03 -04:00
Cole Robinson 7e23244096 Port from gconf to gsettings
This unfortunately has a decent amount of fallout: add a wrapper class
in config.py that reduces much of the churn.

Another big piece is that gsettings can't accept arbitrary paths like
gconf would, everything needs to be described in the schema.

Also do a bunch more RPM spec modernizing
2013-04-18 12:43:16 -04:00
Gene Czarcinski b8b1b6d4d4 add option for snapshot-id suffix to __version__
1.  The added suffix is in the form YYYYMMDD and that is all.

2.  Code is added to classes my_sdist and my_rpm to check if
a snapshot id is requested (--snapshot or -s) and, if
requested, to append the id to the value of cliconfig.__version__

3.  The added suffix only applies to the name of the sdist-tarball
and the rpm spec file it includes ... the "internal" version
remains unchanged.
.
Signed-off-by: Gene Czarcinski <gene@czarc.net>
2013-04-17 15:03:26 -04:00
Gene Czarcinski fd8420ef1b add user setable version using configure
1. update setup.py-configure to add keyword pkgversion

2. If pkgversion is specified in cli.cfg, update __version__
with its value.
.
Signed-off-by: Gene Czarcinski <gene@czarc.net>
2013-04-17 15:03:21 -04:00
Gene Czarcinski 2b298aa424 update __version__ to 0.9.100 for pre-release id
Signed-off-by: Gene Czarcinski <gene@czarc.net>
2013-04-17 15:02:53 -04:00
Cole Robinson 0d243983d0 Revive pep8 and clean up the code
autopep8 is pretty cool :)
2013-04-13 15:22:43 -04:00
Cole Robinson 3ef6e4d539 Fix wrapper scripts
Reported-by: Gene Czarcinski <gene@czarc.net>
2013-04-10 17:45:13 -04:00
Cole Robinson ffb876e3a1 setup: Make sure non-/usr prefix works
Basically mandate that configure is passed a prefix, since we need this
info before the install process.
2013-04-10 17:45:13 -04:00
Cole Robinson 48bb05e32f cliconfig: Privatize _get_param 2013-04-10 16:47:36 -04:00
Cole Robinson 3f7b46884e Fix icons when running from srcdir 2013-04-03 20:29:47 -04:00
Cole Robinson 3c251d3d8b Make RPM build work
And wire up man page creation
2013-04-03 19:40:39 -04:00
Cole Robinson 9d05583c26 Remove autotools, replace with distutils-extra
Despite being a known quantity, autotools is so overkill for our needs,
so let's drop it and replace it with a much simpler and easy to customize
system.
2013-04-03 18:20:51 -04:00