new files added in horizon does not get installed

Bug #1483468 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
anvil
In Progress
Undecided
Lin Hua Cheng

Bug Description

When there is a patch file that adds a python or html template, it does not get installed on the generated rpm

In the log I found an interesting entry "[pbr] Reusing existing SOURCES.txt"

I suspect an old SOURCES.txt is re-used, leaving out the new file added by the patches.

Changed in anvil:
assignee: nobody → Lin Hua Cheng (lin-hua-cheng)
Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :

Tried forcing the SOURCES.txt to be re-created so that new file will be included, however pbr does not include all the source code because it relies on checking if files are tracked by git to be included in the SOURCES.txt

An option would be for patch files adding new files:
1. add support for apply patches using "git am "
https://review.openstack.org/211797
2.. Use a .git.patch option and move those patch file into the "download" directory so that the new files will be available before sdist is invoked.

description: updated
Changed in anvil:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.