From 715979ce4e38c52e75c7b305f94b50de1a6e57cf Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Thu, 20 Sep 2012 10:50:11 +0200 Subject: [PATCH] Add rules to generate quickly the manifest.in --- debian/patches/install-missing-files.patch | 41 +++++++++++++++++----- debian/rules | 9 +++++ 2 files changed, 42 insertions(+), 8 deletions(-) diff --git a/debian/patches/install-missing-files.patch b/debian/patches/install-missing-files.patch index 7fa2be860..a235d4a7e 100644 --- a/debian/patches/install-missing-files.patch +++ b/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/debian/rules b/debian/rules index a2f9aa216..01f07a3b5 100755 --- a/debian/rules +++ b/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 -- 2.45.2