#2678 support modules and other btypes in download-build
Merged 3 years ago by tkopecek. Opened 3 years ago by mikem.

file modified
+3 -5
@@ -653,13 +653,11 @@ 

      elif archive['btype'] == 'image':

          url = os.path.join(pi.imagebuild(build), archive['filename'])

          path = archive['filename']

-     elif archive['btype'] == 'remote-sources':

-         directory = pi.typedir(build, 'remote-sources')

+     else:

+         # non-legacy types are more systematic

+         directory = pi.typedir(build, archive['btype'])

          url = os.path.join(directory, archive['filename'])

          path = archive['filename']

-     else:

-         # TODO: cover module/operator-manifests/remote-sources

-         raise NotImplementedError(archive['btype'])

  

      download_file(url, path, quiet=quiet, noprogress=noprogress, filesize=archive['size'])

  

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

3 years ago

Commit cd34c41 fixes this pull-request

Pull-Request has been merged by tkopecek

3 years ago
Metadata