Compare commits
4 Commits
debian-4.2
...
bash-compl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d85e969776 | ||
|
|
0231844eb1 | ||
|
|
27b2a55fab | ||
|
|
e0c242e388 |
13
KNOWN_BUGS
13
KNOWN_BUGS
@@ -1,13 +0,0 @@
|
||||
KNOWN BUGS in xen-tools
|
||||
|
||||
Bugs to fix before a 4.2 release
|
||||
--------------------------------
|
||||
|
||||
* xen-delete-image doesn't remove all logical volumes if --partitions is used.
|
||||
|
||||
See the link below for details how to reproduce. Reproducable at
|
||||
least with --lvm. Thanks to Antoine Benkemoun for reporting.
|
||||
|
||||
http://xen-tools.org/pipermail/xen-tools-discuss/2010-May/000757.html
|
||||
|
||||
* xen-delete-image ignores extension setting
|
||||
4
Makefile
4
Makefile
@@ -14,7 +14,7 @@
|
||||
#
|
||||
TMP ?= /tmp
|
||||
DIST_PREFIX = ${TMP}
|
||||
VERSION = 4.2beta1
|
||||
VERSION = 4.2rc1
|
||||
DEBVERSION = $(shell echo $(VERSION)|sed 's/\(rc\|pre\|beta\|alpha\)/~\1/')
|
||||
BASE = xen-tools
|
||||
VCS = $(shell if git st > /dev/null; then echo git; \
|
||||
@@ -313,4 +313,4 @@ update-modules:
|
||||
# at the top of this file. Steve-Specific?
|
||||
#
|
||||
update-version:
|
||||
perl -pi.bak -e "s/RELEASE = '[0-9]\.[0-9][^']*';/RELEASE = '${VERSION}';/g" bin/*-*[!~]
|
||||
perl -pi.bak -e "s/RELEASE = '[0-9]\.[0-9][^']*';/RELEASE = '${VERSION}';/g" bin/*-*[^~]
|
||||
|
||||
16
TODO
16
TODO
@@ -1,10 +1,8 @@
|
||||
TODO
|
||||
====
|
||||
|
||||
See KNOWN_BUGS for real bugs.
|
||||
|
||||
Minor bugs to fix and features to add before a 4.2 release
|
||||
----------------------------------------------------------
|
||||
Bugs to fix and Features to add before a 4.2 release
|
||||
----------------------------------------------------
|
||||
|
||||
* xen-create-image man page overhaul:
|
||||
|
||||
@@ -24,12 +22,22 @@ Minor bugs to fix and features to add before a 4.2 release
|
||||
in the domU, it's key fingerprint should be echo'd in a way that
|
||||
can easily be grep'ed into other scripts.
|
||||
|
||||
|
||||
* Test and support more file system types.
|
||||
|
||||
Actually this should be pretty simple now that the parameters are
|
||||
stored in the configuration hash. The only issue is that trailing
|
||||
whitespace is missing from the "make_fs_foo" option.
|
||||
|
||||
* xen-delete-image doesn't remove all logical volumes if --partitions is used.
|
||||
|
||||
See the link below for details how to reproduce. Reproducable at
|
||||
least with --lvm. Thanks to Antoine Benkemoun for reporting.
|
||||
|
||||
http://xen-tools.org/pipermail/xen-tools-discuss/2010-May/000757.html
|
||||
|
||||
* xen-delete-image ignores extension setting
|
||||
|
||||
* xen-create-image should check all integer options on non-digits.
|
||||
|
||||
* Test suite should pass
|
||||
|
||||
@@ -754,7 +754,7 @@ my $FAIL = 0;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2beta1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ $CONFIG{ 'template' } = '/etc/xen-tools/xm-nfs.tmpl';
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2beta1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
# store version number away.
|
||||
|
||||
@@ -169,7 +169,7 @@ my %CONFIG;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2beta1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ $CONFIG{ 'prefix' } = "/etc/xen";
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2beta1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ my %CONFIG;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2beta1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ my %CONFIG;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2beta1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
#
|
||||
|
||||
@@ -156,7 +156,7 @@ $CONFIG{ 'template' } = '/etc/xen-tools/xm.tmpl';
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2beta1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ my %CONFIG;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2beta1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ use strict;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2beta1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
# Init
|
||||
my $mirror = '';
|
||||
|
||||
@@ -116,7 +116,7 @@ my %CONFIG;
|
||||
#
|
||||
# Release number.
|
||||
#
|
||||
my $RELEASE = '4.2beta1';
|
||||
my $RELEASE = '4.2rc1';
|
||||
|
||||
|
||||
#
|
||||
|
||||
4
debian/NEWS
vendored
4
debian/NEWS
vendored
@@ -1,4 +1,4 @@
|
||||
xen-tools (4.2~beta1-1) unstable; urgency=low
|
||||
xen-tools (4.2~rc1-1) unstable; urgency=low
|
||||
|
||||
If the DomU hangs with "Waiting for root file system" despite
|
||||
/dev/xvd* is used as disk device, adding "xen-blkfront" to
|
||||
@@ -14,5 +14,5 @@ xen-tools (4.2~beta1-1) unstable; urgency=low
|
||||
/etc/apt/sources.list (if it exists) and taking the first entry with
|
||||
path ending in /debian/ there.
|
||||
|
||||
-- Axel Beckert <abe@debian.org> Sun, 30 May 2010 22:36:16 +0200
|
||||
-- Axel Beckert <abe@debian.org> Sat, 15 May 2010 18:04:14 +0200
|
||||
|
||||
|
||||
7
debian/changelog
vendored
7
debian/changelog
vendored
@@ -1,8 +1,8 @@
|
||||
xen-tools (4.2~beta1-1) unstable; urgency=low
|
||||
xen-tools (4.2~rc1-1) UNRELEASED; urgency=low
|
||||
|
||||
* New maintainer and upstream authors
|
||||
* Reintroduction into Debian Unstable (Closes: #566714)
|
||||
* New upstream beta version
|
||||
* New upstream release candidate
|
||||
- Needs dependency on libfile-slurp-perl
|
||||
- Supports for more recent versions of Fedora, Ubuntu and Debian
|
||||
(Closes: #499477)
|
||||
@@ -41,7 +41,6 @@ xen-tools (4.2~beta1-1) unstable; urgency=low
|
||||
- Checks for debootstrap and cdebootstrap, uses debootstrap if both
|
||||
are installed (Changed "Depends: debootstrap" to "Depends:
|
||||
debootstrap | cdebootstrap" in debian/control)
|
||||
- Added new files TODO and KNOWN_BUGS to debian/docs.
|
||||
* Removal of /etc/bash_completion.d/xm from the package since
|
||||
bash-completion ships a more elaborate version of that file. (Closes:
|
||||
#566683, #550590, LP: #538917, #484098)
|
||||
@@ -66,7 +65,7 @@ xen-tools (4.2~beta1-1) unstable; urgency=low
|
||||
the Git repository.
|
||||
* Overhauled package description
|
||||
|
||||
-- Axel Beckert <abe@debian.org> Sun, 30 May 2010 22:32:30 +0200
|
||||
-- Axel Beckert <abe@debian.org> Mon, 17 May 2010 13:32:04 +0200
|
||||
|
||||
xen-tools (4.1-1) unstable; urgency=low
|
||||
|
||||
|
||||
1
debian/copyright
vendored
1
debian/copyright
vendored
@@ -5,7 +5,6 @@ It was downloaded from http://xen-tools.org/software/xen-tools/
|
||||
|
||||
Copyright 2005-2009: Steve Kemp <steve@steve.org.uk>
|
||||
Copyright 2010: Axel Beckert <abe@deuxchevaux.org>
|
||||
Copyright 2010: Dmitry Nedospasov <dmitry@nedos.net>
|
||||
|
||||
License:
|
||||
|
||||
|
||||
3
debian/docs
vendored
3
debian/docs
vendored
@@ -2,5 +2,4 @@ AUTHORS
|
||||
README
|
||||
SUPPORT
|
||||
BUGS
|
||||
TODO
|
||||
KNOWN_BUGS
|
||||
TODO
|
||||
@@ -47,7 +47,7 @@ function _find_xen_images
|
||||
#
|
||||
_xen_create_image()
|
||||
{
|
||||
local cur prev ip roles partitions dists vgs
|
||||
local cur prev ip evmscontainers roles partitions dists vgs
|
||||
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
@@ -158,7 +158,7 @@ complete -F _xen_create_image xen-create-image
|
||||
#
|
||||
_xen_create_nfs()
|
||||
{
|
||||
local cur prev ip roles dists vgs
|
||||
local cur prev
|
||||
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
@@ -208,6 +208,7 @@ _xen_delete_image()
|
||||
# Complete the options + all available hostnames.
|
||||
# Determine arguments dynamically. Avoids out-of-dateness.
|
||||
#
|
||||
names=`_find_xen_images`
|
||||
opts=$(xen-delete-image --help|grep -- --|awk '{print $1}'|grep -- -- | sort -u)
|
||||
opts="${opts} ${names}"
|
||||
|
||||
@@ -221,7 +222,6 @@ _xen_delete_image()
|
||||
return 0
|
||||
;;
|
||||
--hostname)
|
||||
names=`_find_xen_images`
|
||||
COMPREPLY=( $(compgen -W "${names}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
@@ -251,7 +251,7 @@ complete -F _xen_delete_image xen-delete-image
|
||||
#
|
||||
_xen_update_image()
|
||||
{
|
||||
local cur prev opts base names vgs
|
||||
local cur prev opts evmscontainers names vgs
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
@@ -303,7 +303,7 @@ complete -F _xen_update_image xen-update-image
|
||||
#
|
||||
_xen_list_images()
|
||||
{
|
||||
local cur prev opts vgs
|
||||
local cur prev opts
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
@@ -325,7 +325,7 @@ complete -F _xen_list_images xen-list-images
|
||||
#
|
||||
_xt-create-xen-config()
|
||||
{
|
||||
local cur prev
|
||||
local cur prev opts
|
||||
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
@@ -360,7 +360,7 @@ complete -F _xt-create-xen-config xt-create-xen-config
|
||||
#
|
||||
_xt-customize-image()
|
||||
{
|
||||
local cur prev dists
|
||||
local cur prev dists opts
|
||||
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
@@ -401,7 +401,7 @@ complete -F _xt-customize-image xt-customize-image
|
||||
#
|
||||
_xt-install-image()
|
||||
{
|
||||
local cur prev dists
|
||||
local cur prev dists opts
|
||||
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
|
||||
80
t/modules.t
Executable file
80
t/modules.t
Executable file
@@ -0,0 +1,80 @@
|
||||
#!/usr/bin/perl -w -I..
|
||||
#
|
||||
# Test that all the Perl modules we require are available.
|
||||
#
|
||||
# This list is automatically generated by modules.sh
|
||||
#
|
||||
# Steve
|
||||
# --
|
||||
#
|
||||
|
||||
use Test::More qw( no_plan );
|
||||
|
||||
BEGIN{ use_ok( 'Carp' ); }
|
||||
require_ok( 'Carp' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'Config' ); }
|
||||
require_ok( 'Config' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'Digest::MD5' ); }
|
||||
require_ok( 'Digest::MD5' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'English' ); }
|
||||
require_ok( 'English' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'Env' ); }
|
||||
require_ok( 'Env' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'File::Copy' ); }
|
||||
require_ok( 'File::Copy' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'File::Find' ); }
|
||||
require_ok( 'File::Find' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'File::Path' ); }
|
||||
require_ok( 'File::Path' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'File::Slurp' ); }
|
||||
require_ok( 'File::Slurp' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'File::Spec' ); }
|
||||
require_ok( 'File::Spec' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'File::Temp' ); }
|
||||
require_ok( 'File::Temp' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'Getopt::Long' ); }
|
||||
require_ok( 'Getopt::Long' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'Pod::Usage' ); }
|
||||
require_ok( 'Pod::Usage' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'strict' ); }
|
||||
require_ok( 'strict' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'Test::More' ); }
|
||||
require_ok( 'Test::More' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'Text::Template' ); }
|
||||
require_ok( 'Text::Template' );
|
||||
|
||||
|
||||
BEGIN{ use_ok( 'warnings' ); }
|
||||
require_ok( 'warnings' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user