LGTM, thanks.

On Fri, Jan 10, 2014 at 12:29 PM, Klaus Aehlig <[email protected]> wrote:

> As 2.10 is the first version from which you can do automatic upgrades,
> there is nothing to do when going to any other version in the 2.10
> branch.
>
> Signed-off-by: Klaus Aehlig <[email protected]>
> ---
>  Makefile.am        |  1 +
>  tools/post-upgrade | 36 ++++++++++++++++++++++++++++++++++++
>  2 files changed, 37 insertions(+)
>  create mode 100644 tools/post-upgrade
>
> diff --git a/Makefile.am b/Makefile.am
> index 89050e8..705215a 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -1050,6 +1050,7 @@ python_scripts = \
>         tools/lvmstrap \
>         tools/move-instance \
>         tools/ovfconverter \
> +       tools/post-upgrade \
>         tools/sanitize-config
>
>  dist_tools_SCRIPTS = \
> diff --git a/tools/post-upgrade b/tools/post-upgrade
> new file mode 100644
> index 0000000..374cd08
> --- /dev/null
> +++ b/tools/post-upgrade
> @@ -0,0 +1,36 @@
> +#!/usr/bin/python
> +#
> +
> +# Copyright (C) 2014 Google Inc.
> +#
> +# This program is free software; you can redistribute it and/or modify
> +# it under the terms of the GNU General Public License as published by
> +# the Free Software Foundation; either version 2 of the License, or
> +# (at your option) any later version.
> +#
> +# This program is distributed in the hope that it will be useful, but
> +# WITHOUT ANY WARRANTY; without even the implied warranty of
> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> +# General Public License for more details.
> +#
> +# You should have received a copy of the GNU General Public License
> +# along with this program; if not, write to the Free Software
> +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
> +# 02110-1301, USA.
> +
> +
> +# pylint: disable=C0103
> +
> +"""Hook to be run after upgrading to this version.
> +
> +"""
> +
> +
> +def main():
> +  """Main program.
> +
> +  """
> +  return 0
> +
> +if __name__ == "__main__":
> +  exit(main())
> --
> 1.8.5.1
>
>

Reply via email to