openstack-pkg-tools (40ubuntu1) xenial; urgency=medium

  * Merged with debian, remaining changes:
    - debian/control: Drop madison-lite, pristine-tar, libxml-xpath-perl
      from Depends cause they are in universe.
    - init-template/init-script-template: Ensure that main project
      configuration file is the first passed to the daemon, allowing
      subsequent configuration files to override values correctly
      inline with upstart configurations (LP: #1550223).
    - init-template/pkgos-gen-systemd-unit: Set TimeoutStopSec=15 to
      avoid really long restarts when services are not fully up.

 -- Corey Bryant <corey.bryant@canonical.com>  Wed, 30 Mar 2016 18:11:24 -0400

openstack-pkg-tools (40) experimental; urgency=medium

  [ Thomas Goirand ]
  * Add to systemd service file generation the handling of Before=, through
    parsing of sysv-rc's X-Start-Before: field.
  * Add needed set -x and set -e when generating startup scripts.
  * pkgos-bpo-jenkins: parses debian/gbp.conf branch names to do git checkout
    of the correct branches before building a pristine-tar package.
  * Standards-Version: 3.9.7 (no change).
  * Added Ondřej Nový as uploader.
  * Added registering of endpoint using project-name, admin-name and password
    to Keystone, instead of the admin auth token.

  [ Ondřej Nový ]
  * Add a NO_OPENSTACK_CONFIG_FILE_DAEMON_ARG option.
  * Optionally run autopkgtest when building package.
  * Alias git-buildpackage on unstable.

 -- Thomas Goirand <zigo@debian.org>  Sun, 13 Mar 2016 18:17:11 +0000

openstack-pkg-tools (39ubuntu1) xenial; urgency=medium

  * Merged with debian, remaining changes:
    - debian/control: Drop madison-lite, pristine-tar, libxml-xpath-perl
      from Depends cause they are in universe.
    - init-template/init-script-template: Ensure that main project
      configuration file is the first passed to the daemon, allowing
      subsequent configuration files to override values correctly
      inline with upstart configurations (LP: #1550223).
    - init-template/pkgos-gen-systemd-unit: Set TimeoutStopSec=15 to 
      avoid really long restarts when services are not fully up.

 -- David Della Vecchia <ddv@canonical.com>  Thu, 10 Mar 2016 14:30:22 -0500

openstack-pkg-tools (39) experimental; urgency=medium

  [ Ondřej Nový ]
  * Don't overwrite current groups, just add user to group adm.
  * Fix user shell when upgrading package.

  [ Thomas Goirand ]
  * Added the possibility to override the default Type=simple in systemd
    .service files.
  * VCS URLs using HTTPs.

 -- Thomas Goirand <zigo@debian.org>  Sun, 07 Feb 2016 16:14:59 +0800

openstack-pkg-tools (38) experimental; urgency=medium

  [ Thomas Goirand ]
  * Switch to Mitaka in pkgos.conf.
  * Added server-packages list.
  * Added option to build from trunk.
  * Now setting-up sbuild using overlay, not tarballs.
  * Added new pkgos-fix-config-default utility.
  * Updated package list for Mitaka in /etc/pkgos/package-list.

  [ Ondřej Nový ]
  * Sanity checks in init-template generator.
  * Make pkgos-gen-upstart-job more compatible with pkgos-gen-systemd-unit.
  * Fixed typo SYSTEM_USER -> SYSTEM_GROUP in init-template.

 -- Thomas Goirand <zigo@debian.org>  Tue, 24 Nov 2015 13:41:15 +0100

openstack-pkg-tools (37ubuntu3) xenial; urgency=medium

  * init-template/init-script-template: Ensure that main project
    configuration file is the first passed to the daemon, allowing
    subsequent configuration files to override values correctly
    inline with upstart configurations (LP: #1550223).

 -- James Page <james.page@ubuntu.com>  Fri, 26 Feb 2016 13:32:52 +0000

openstack-pkg-tools (37ubuntu2) xenial; urgency=medium

  * pkgos-gen-systemd-unit: Set TimeoutStopSec=15 to avoid really long
    restarts when services are not fully up.

 -- James Page <james.page@ubuntu.com>  Thu, 18 Feb 2016 14:53:38 +0000

openstack-pkg-tools (37ubuntu1) xenial; urgency=low

  * Merge from Debian unstable.  Remaining changes:
    - debian/control: Drop madison-lite, pristine-tar, libxml-xpath-perl
      from Depends cause they are in universe.

 -- James Page <james.page@ubuntu.com>  Fri, 11 Dec 2015 12:07:33 +0000

openstack-pkg-tools (37) unstable; urgency=medium

  * Using Keystone API v3 to register endpoints.

 -- Thomas Goirand <zigo@debian.org>  Mon, 02 Nov 2015 14:12:40 +0000

openstack-pkg-tools (36) unstable; urgency=medium

  * Uploading to unstable.
  * Now using mysql+pymysql for the mysql DSN backend (and correcting old
    mysql:// DSN to use that).

 -- Thomas Goirand <zigo@debian.org>  Tue, 13 Oct 2015 14:50:54 +0200

openstack-pkg-tools (35) experimental; urgency=medium

  * Split the package list configuration into separate files from pkgos.conf.
  * Now using openstackclient instead of keystoneclient to configure endpoints.

 -- Thomas Goirand <zigo@debian.org>  Thu, 17 Sep 2015 14:24:29 +0200

openstack-pkg-tools (34) experimental; urgency=medium

  [ Ivan Udovichenko ]
  * Add possibility to set custom shell via pkgos_adduser
    function.
  * Fix issues with not sorted versions in pkgos-parse-requirements
    utility.
  * Fix issue with detecting the first character in package name
    in pkgos-debpypi script.

  [ Thomas Goirand ]
  * pkgos-debpypi now detects a .test.conf and writes debian/rules unit tests
    launching accordingly.
  * Correctly detects the location of the conf.py file to properly detect the
    way to run sphinx-build.
  * debpypi: respect the DEB_BUILD_OPTIONS=nodocs when creating debian/rules.
  * Optimized pkgos_inifile by stopping parsing when not in the correct
    section.
  * Repaired sets of auth_host directive when writing keystone_authtoken.

 -- Thomas Goirand <zigo@debian.org>  Wed, 02 Sep 2015 14:56:07 +0200

openstack-pkg-tools (33) experimental; urgency=medium

  * Fixes package branches when building Jessie backports on Jenkins.
  * Some fixes to build tools.

 -- Thomas Goirand <zigo@debian.org>  Wed, 29 Jul 2015 23:31:43 +0200

openstack-pkg-tools (32ubuntu1) wily; urgency=low

  [ Ubuntu Merge-o-Matic ]
  * Merge from Debian unstable.  Remaining changes:
    - debian/control: Drop madison-lite, pristine-tar, libxml-xpath-perl
      from Depends cause they are in universe.

 -- James Page <james.page@ubuntu.com>  Tue, 23 Jun 2015 12:07:14 +0100

openstack-pkg-tools (32) unstable; urgency=medium

  * Really using bzip2 when compressing as bz2.

 -- Thomas Goirand <zigo@debian.org>  Tue, 16 Jun 2015 13:29:54 +0000

openstack-pkg-tools (31) unstable; urgency=medium

  * Added bzip2 compression support for the orig.tar.

 -- Thomas Goirand <zigo@debian.org>  Tue, 16 Jun 2015 13:21:23 +0000

openstack-pkg-tools (30ubuntu1) wily; urgency=low

  * Merge from Debian unstable.  Remaining changes:
    - debian/control: Drop madison-lite, pristine-tar, libxml-xpath-perl
      from Depends cause they are in universe.

 -- James Page <james.page@ubuntu.com>  Tue, 16 Jun 2015 10:01:49 +0100

openstack-pkg-tools (30) unstable; urgency=medium

  * Fixed pkgos-alternative-bin removing wrong python version of alternative.

 -- Thomas Goirand <zigo@debian.org>  Mon, 15 Jun 2015 15:08:48 +0000

openstack-pkg-tools (29) unstable; urgency=medium

  * Builds an orig.tar.gz if debian/gbp.conf indicates gz and not xz.

 -- Thomas Goirand <zigo@debian.org>  Mon, 15 Jun 2015 10:31:56 +0200

openstack-pkg-tools (28) unstable; urgency=medium

  * Removes override_dh_builddeb from .PHONY (which was causing .debs to not be
    created at all).

 -- Thomas Goirand <zigo@debian.org>  Mon, 15 Jun 2015 10:21:01 +0200

openstack-pkg-tools (27) unstable; urgency=medium

  * Added pkgos-alternative-bin to make it easy to handle alternatives as
    /usr/bin/python{2,3}-something.
  * Added a new gen-orig-gz feature, so we can use that instead of xz which
    produces unpredictable results.
  * Removed overrides of dh_builddeb an default compression options (as xz is
    now the default, and others pointed out -9 is a bad idea).

 -- Thomas Goirand <zigo@debian.org>  Wed, 10 Jun 2015 15:13:42 +0200

openstack-pkg-tools (26) unstable; urgency=medium

  * build-tools/pkgos-setup-sbuild:
    - Using invoke-rc.d instead of service, as it honores /usr/sbin/policy-rc.d

 -- Thomas Goirand <zigo@debian.org>  Mon, 01 Jun 2015 17:33:57 +0200

openstack-pkg-tools (25) unstable; urgency=medium

  * /var/log/<PROJ> folders are now owned by the adm group (Closes: #781792).
  * Add "respawn limit" stanza to pkgos-gen-upstart-job script template.

 -- Thomas Goirand <zigo@debian.org>  Mon, 01 Jun 2015 12:14:43 +0200

openstack-pkg-tools (24ubuntu1) wily; urgency=medium

  * Sync from Debian unstable. Whole delta is already applied there.
  * debian/control: Drop madison-lite, pristine-tar, libxml-xpath-perl
    from Depends cause they are in universe. (LP: #1455985)

 -- Artur Rona <ari-tczew@ubuntu.com>  Mon, 18 May 2015 00:02:18 +0200

openstack-pkg-tools (24) unstable; urgency=medium

  * Added tooling for sbuild.
  * Uploading to unstable.

 -- Thomas Goirand <zigo@debian.org>  Fri, 17 Apr 2015 10:48:33 +0200

openstack-pkg-tools (23) experimental; urgency=medium

  * Reviewed long description.
  * Added build scripts and lots of utilities to automate building of OpenStack
    packages.

 -- Thomas Goirand <zigo@debian.org>  Wed, 25 Feb 2015 21:56:24 +0100

openstack-pkg-tools (22) unstable; urgency=medium

  * Calls dh_installinit after dh_systemd_enable so that systemd services are
    started at install time.

 -- Thomas Goirand <zigo@debian.org>  Thu, 08 Jan 2015 15:12:13 +0000

openstack-pkg-tools (21) unstable; urgency=medium

  * Fixed mix-up with SYSTEM_USER and SYSTEM_GROUP in pkgos-gen-upstart-job.
  * Fixed creation of /var/run/${PROJECT_NAME} if using sysv-rc.

 -- Thomas Goirand <zigo@debian.org>  Mon, 15 Dec 2014 15:53:43 +0800

openstack-pkg-tools (20) unstable; urgency=medium

  * Now using a forking daemon anymore when using systemd. Thanks to Mikaël
    Cluseau <mcluseau@isi.nc> for working on this cool feature. This also fixes
    the issue that /var/run/$PROJECT_NAME was not created at boot time, and
    then the daemon were not started.
  * Calling dh_systemd_enable correctly when a .service file is generated.

 -- Thomas Goirand <zigo@debian.org>  Fri, 12 Dec 2014 15:24:43 +0000

openstack-pkg-tools (19) unstable; urgency=medium

  * Using RuntimeDirectory=${PROJECT_NAME} as per advice in #debian-systemd.

 -- Thomas Goirand <zigo@debian.org>  Mon, 10 Nov 2014 17:28:47 +0000

openstack-pkg-tools (18) unstable; urgency=medium

  * Using /run and not /var/run.

 -- Thomas Goirand <zigo@debian.org>  Tue, 11 Nov 2014 01:23:13 +0800

openstack-pkg-tools (17) unstable; urgency=medium

  * Make it possible to have no --config-file= argument for the daemon.
  * Adds a RuntimeDirectory=/var/run/${PROJECT_NAME} in the systemd template,
    so that /var/run/${PROJECT_NAME} can be created on boot (Closes: #767711).

 -- Thomas Goirand <zigo@debian.org>  Wed, 29 Oct 2014 00:31:49 +0800

openstack-pkg-tools (16) unstable; urgency=medium

  * Fix some upstart job generation handling for murano-agent.

 -- Thomas Goirand <zigo@debian.org>  Tue, 07 Oct 2014 22:59:41 +0800

openstack-pkg-tools (15) unstable; urgency=medium

  * Uploading to unstable.

 -- Thomas Goirand <zigo@debian.org>  Tue, 07 Oct 2014 13:42:53 +0800

openstack-pkg-tools (14) experimental; urgency=medium

  * Adds the possibility to run daemons as root.

 -- Thomas Goirand <zigo@debian.org>  Sat, 04 Oct 2014 21:42:52 +0800

openstack-pkg-tools (13) experimental; urgency=medium

  * Added init script templating.
  * Uploading to experimental during the freeze.
  * Standards-Version is now 3.9.6.

 -- Thomas Goirand <zigo@debian.org>  Fri, 03 Oct 2014 01:07:53 +0800

openstack-pkg-tools (12) unstable; urgency=medium

  * Now setting-up database with ALTER DATABASE to use UTF8 instead of the dbc
    thing which didn't work.

 -- Thomas Goirand <zigo@debian.org>  Tue, 03 Jun 2014 14:48:40 +0800

openstack-pkg-tools (11) unstable; urgency=medium

  * Really fix dbc_{pg,my}sql_createdb_encoding="UTF8".

 -- Thomas Goirand <zigo@debian.org>  Tue, 03 Jun 2014 01:30:50 +0800

openstack-pkg-tools (10) unstable; urgency=medium

  * Now using dbc_{pg,my}sql_createdb_encoding="UTF8" when creating dbs.
  * Standards-Version: is now 3.9.5.

 -- Thomas Goirand <zigo@debian.org>  Wed, 02 Apr 2014 22:10:33 +0800

openstack-pkg-tools (9) unstable; urgency=medium

  * Fixed keystone endpoint registration for the new keystone command line
    syntax.

 -- Thomas Goirand <zigo@debian.org>  Fri, 14 Feb 2014 17:20:34 +0000

openstack-pkg-tools (8) unstable; urgency=low

  * Allow the upstart thing to also work with package.daemon.upstart.in
    (replaced the cut -d by a sed s/.upstart.in//).
  * Adds a git show in the gen-orig-xz, to check if the tag exists before
    creating the orig.tar.xz.
  * Added functions to automatically configure rabbit_* directives.

 -- Thomas Goirand <zigo@debian.org>  Fri, 28 Jun 2013 16:18:55 +0800

openstack-pkg-tools (7) unstable; urgency=low

  * Adds a pkgos_safesed function which doesn't put the (eventual) passwords
    visible using "ps", which makes it safe to use sed for passwords. Then
    pkgos_inifile uses that function now.
  * Added a function to remove a [SECTION] in a config file.

 -- Thomas Goirand <zigo@debian.org>  Tue, 11 Jun 2013 11:58:32 +0800

openstack-pkg-tools (6) unstable; urgency=low

  * Removed the -R flag when doing chown -R /var/lib/<package>.
  * Extracted the adduser / addgroup function from pkgos_var_user_group as a
    separate (callable) function.
  * Bumped standard-version to 3.9.4.

 -- Thomas Goirand <zigo@debian.org>  Thu, 30 May 2013 23:52:11 +0800

openstack-pkg-tools (5) unstable; urgency=low

  * Uploading to SID.
  * Split the get-vcs-source: into 3 targets:
    - fetch-upstream-remote:
    - gen-orig-xz:
    - +get-master-branch:

 -- Thomas Goirand <zigo@debian.org>  Fri, 10 May 2013 18:14:51 +0800

openstack-pkg-tools (4) experimental; urgency=low

  * Clean-ups of function parameter calling order.
  * Rewrite of the pkgos_* functions for parsing ini files.

 -- Thomas Goirand <zigo@debian.org>  Tue, 12 Mar 2013 00:43:02 +0800

openstack-pkg-tools (3) experimental; urgency=low

  [ Thomas Goirand ]
  * Don't attempt to read anything from the config file if it isn't
    installed in /etc (in the pkgos_read_admin_creds pkgos.make target).

  [ James Page ]
  * Fixup handling of d/*.upstart.in to fix build failures
    downstream in Ubuntu. 

 -- Thomas Goirand <zigo@debian.org>  Sat, 02 Feb 2013 11:30:43 +0000

openstack-pkg-tools (2) experimental; urgency=low

  * Now copying the orig.tar.xz in the build-area after creating it.
  * Now using the debian branch name defined in debian/gbp.conf for
    get-vcs-source.
  * Added code to handle auth_url instead of auth_host / auth_port /
    auth_proto.
  * Added a workround the fact that DPKG_MAINTSCRIPT_PACKAGE isn't always
    set (bug in debconf?)
  * Added a gen-author-list: target.
  * Sets various debconf questions with priority medium instead of high.
  * Added gen-upstream-changelog to generate a debian/CHANGELOG from
    upstream git log.

 -- Thomas Goirand <zigo@debian.org>  Thu, 20 Dec 2012 09:50:58 +0000

openstack-pkg-tools (1) experimental; urgency=low

  * Initial release.

 -- Thomas Goirand <zigo@debian.org>  Fri, 16 Nov 2012 14:29:41 +0000
