← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1505628] [NEW] versions directory containing migration script is not included in neutron build if building outside of git

 

Public bug reported:

distutils contains only python files
https://docs.python.org/2/distutils/sourcedist.html#manifest

neutron/db/migration/alembic_migrations/versions directory and its
subdirectories don't have __init__.py because it's not an actual python
package. When using "python setup.py egg_info", the SOURCE.txt file is
generated by pbr based on git data. If package is built from e.g.
tarball then pbr doesn't have access to git data and the whole versions
directory is not packaged.

** Affects: neutron
     Importance: Low
     Assignee: Jakub Libosvar (libosvar)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1505628

Title:
  versions directory containing migration script is not included in
  neutron build if building outside of git

Status in neutron:
  In Progress

Bug description:
  distutils contains only python files
  https://docs.python.org/2/distutils/sourcedist.html#manifest

  neutron/db/migration/alembic_migrations/versions directory and its
  subdirectories don't have __init__.py because it's not an actual
  python package. When using "python setup.py egg_info", the SOURCE.txt
  file is generated by pbr based on git data. If package is built from
  e.g. tarball then pbr doesn't have access to git data and the whole
  versions directory is not packaged.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1505628/+subscriptions


Follow ups