From: Mehdi Abaakouk Date: Thu, 20 Sep 2012 08:50:11 +0000 (+0200) Subject: Add rules to generate quickly the manifest.in X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=d2b8d5d0bd8ed0a3db6b175a7806188651a0bde6;p=openstack-build%2Fcinder-build.git Add rules to generate quickly the manifest.in Rewritten-From: 715979ce4e38c52e75c7b305f94b50de1a6e57cf --- diff --git a/xenial/debian/patches/install-missing-files.patch b/xenial/debian/patches/install-missing-files.patch index 7fa2be860..a235d4a7e 100644 --- a/xenial/debian/patches/install-missing-files.patch +++ b/xenial/debian/patches/install-missing-files.patch @@ -1,13 +1,38 @@ Description: Install some missing files Author: Mehdi Abaakouk ---- cinder-2012.2~f3.orig/MANIFEST.in -+++ cinder-2012.2~f3/MANIFEST.in -@@ -1,5 +1,7 @@ - include AUTHORS - include ChangeLog -+include cinder/db/sqlalchemy/migrate_repo/migrate.cfg -+include cinder/db/sqlalchemy/migrate_repo/versions/*.sql - exclude .gitignore +--- a/MANIFEST.in ++++ b/MANIFEST.in +@@ -4,3 +4,32 @@ exclude .gitreview + global-exclude *.pyc ++include cinder/api/openstack/volume/schemas/atom-link.rng ++include cinder/api/openstack/volume/schemas/v1.1/extension.rng ++include cinder/api/openstack/volume/schemas/v1.1/extensions.rng ++include cinder/api/openstack/volume/schemas/v1.1/metadata.rng ++include cinder/db/sqlalchemy/migrate_repo/README ++include cinder/db/sqlalchemy/migrate_repo/migrate.cfg ++include cinder/locale/bs/LC_MESSAGES/nova.po ++include cinder/locale/cs/LC_MESSAGES/nova.po ++include cinder/locale/da/LC_MESSAGES/nova.po ++include cinder/locale/de/LC_MESSAGES/nova.po ++include cinder/locale/en_AU/LC_MESSAGES/nova.po ++include cinder/locale/en_GB/LC_MESSAGES/nova.po ++include cinder/locale/es/LC_MESSAGES/nova.po ++include cinder/locale/fr/LC_MESSAGES/nova.po ++include cinder/locale/it/LC_MESSAGES/nova.po ++include cinder/locale/ja/LC_MESSAGES/nova.po ++include cinder/locale/ko/LC_MESSAGES/nova.po ++include cinder/locale/nova.pot ++include cinder/locale/pt_BR/LC_MESSAGES/nova.po ++include cinder/locale/ru/LC_MESSAGES/nova.po ++include cinder/locale/tl/LC_MESSAGES/nova.po ++include cinder/locale/tr/LC_MESSAGES/nova.po ++include cinder/locale/uk/LC_MESSAGES/nova.po ++include cinder/locale/zh_CN/LC_MESSAGES/nova.po ++include cinder/locale/zh_TW/LC_MESSAGES/nova.po ++include cinder/openstack/common/README ++include cinder/testing/README.rst ++include cinder/tests/policy.json ++include cinder/tests/test_migrations.conf diff --git a/xenial/debian/rules b/xenial/debian/rules index a2f9aa216..01f07a3b5 100755 --- a/xenial/debian/rules +++ b/xenial/debian/rules @@ -23,3 +23,12 @@ display-po-stats: call-for-po-trans: podebconf-report-po --call --withtranslators --languageteam + + +regen-manifest-patch: + quilt pop -a || true + quilt push install-missing-files.patch + git checkout MANIFEST.in + git ls-files --no-empty-directory --exclude-standard cinder | grep -v '.py$$' | sed -n 's/.*/include &/gp' >> MANIFEST.in + quilt refresh + quilt pop -a