reno does not support git submodule

Bug #1712069 reported by Thomas Morin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
reno
New
Wishlist
Unassigned

Bug Description

This report is for information only, and the reporter does not claim that it needs fixing.

reno does not seem to support git submodule ; here is the kind of error reported:

   Exception occurred:
   File "/home/jenkins/workspace/gate-networking-bagpipe-releasenotes/.tox/releasenotes/local/lib/python2.7/site-packages/dulwich/index.py", line 543, in blob_from_path_and_stat
     with open(fs_path, 'rb') as f:
   IOError: [Errno 21] Is a directory: [ path to a git submodule mount point ]

In the example below, reno fails on the 'bagpipe-bgp' subdirectory which is a mountpoint for a git submodule. Note that this happens on an older branch (stable/ocata) of an openstack project that has since moved away from the use of a git submodule.

2017-08-03 00:00:04.088767 | [reno.config] no configuration file in /home/jenkins/workspace/gate-networking-bagpipe-releasenotes/releasenotes/config.yaml
2017-08-03 00:00:04.088820 | [reno] scanning /home/jenkins/workspace/gate-networking-bagpipe-releasenotes/releasenotes/notes for origin/stable/newton release notes
2017-08-03 00:00:04.089299 | [reno.scanner] scanning /home/jenkins/workspace/gate-networking-bagpipe-releasenotes/releasenotes/notes (branch=origin/stable/newton earliest_version=None)
2017-08-03 00:00:04.253822 | [reno.scanner] earliest version to include is 5.0.0
2017-08-03 00:00:04.253902 | [reno.scanner] stopping scan at 4.0.0
2017-08-03 00:00:04.270696 | [reno.scanner] 000008 4cf3bcdc0f0d64e9b7cfdb6f79fe62b8af6aa187 updating current version to 5.0.0
2017-08-03 00:00:04.280517 | [reno.scanner] 000039 870d281eeb707fbb6c4de431d764cebb586f872e updating current version to 4.0.0
2017-08-03 00:00:04.280830 | [reno.scanner] reached end of branch after 39 commits at 870d281eeb707fbb6c4de431d764cebb586f872e with tags [u'4.0.0']
2017-08-03 00:00:04.280948 | [reno] got versions []
2017-08-03 00:00:04.283142 | reading sources... [100%] unreleased
2017-08-03 00:00:04.285801 | [reno.config] no configuration file in /home/jenkins/workspace/gate-networking-bagpipe-releasenotes/releasenotes/config.yaml
2017-08-03 00:00:04.285861 | [reno] scanning /home/jenkins/workspace/gate-networking-bagpipe-releasenotes/releasenotes/notes for current branch release notes
2017-08-03 00:00:04.285904 | [reno.scanner] scanning /home/jenkins/workspace/gate-networking-bagpipe-releasenotes/releasenotes/notes (branch=*current* earliest_version=None)
2017-08-03 00:00:04.377233 | [reno.scanner] earliest version to include is 6.0.0-5
2017-08-03 00:00:04.377271 | [reno.scanner] stopping scan at 6.0.0
2017-08-03 00:00:04.378496 |
2017-08-03 00:00:04.378566 | Exception occurred:
2017-08-03 00:00:04.380357 | File "/home/jenkins/workspace/gate-networking-bagpipe-releasenotes/.tox/releasenotes/local/lib/python2.7/site-packages/dulwich/index.py", line 543, in blob_from_path_and_stat
2017-08-03 00:00:04.380426 | with open(fs_path, 'rb') as f:
2017-08-03 00:00:04.380469 | IOError: [Errno 21] Is a directory: '/home/jenkins/workspace/gate-networking-bagpipe-releasenotes/bagpipe-bgp'
2017-08-03 00:00:04.382078 | The full traceback has been saved in /tmp/tmp.sQlXe9w61K/sphinx-err-qw_H9n.log, if you want to report the issue to the developers.

[1] http://logs.openstack.org/55/490255/1/check/gate-networking-bagpipe-releasenotes/8580a29/console.html.gz#_2017-08-03_00_00_04_380357

Changed in reno:
importance: Undecided → Wishlist
Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

We don't support submodules in most of the rest of the tools for OpenStack so I'm not all that interested in adding support to reno unless someone else wants to write it.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

The bug tracker for reno has moved to storyboard: https://storyboard.openstack.org/#!/project/933

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.