]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add rules to generate quickly the manifest.in
authorMehdi Abaakouk <sileht@sileht.net>
Thu, 20 Sep 2012 08:50:11 +0000 (10:50 +0200)
committerMehdi Abaakouk <sileht@sileht.net>
Thu, 20 Sep 2012 08:50:11 +0000 (10:50 +0200)
Rewritten-From: 715979ce4e38c52e75c7b305f94b50de1a6e57cf

xenial/debian/patches/install-missing-files.patch
xenial/debian/rules

index 7fa2be86054e7a8bd65ccd4121ef6cd712cd2596..a235d4a7e67bf2c80d146ff0965da70c68cd213d 100644 (file)
@@ -1,13 +1,38 @@
 Description: Install some missing files
 Author: Mehdi Abaakouk <sileht@sileht.net>
 
---- 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
index a2f9aa2169f2c62f4a495a53d34c5ace6b157e4f..01f07a3b53df2205be87594d9227771057d5b200 100755 (executable)
@@ -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