Lines Matching full:blob

50             - module: name of the module that contains this blob
51 - abspath: blob absolute path
53 - path: blob local path from <module>/zephyr/blobs/
54 - sha256: blob SHA256 hash in hex
55 - type: type of blob
57 - license_path: path to the license file for the blob
58 - uri: URI to the remote location of the blob
59 - description: blob text description
60 - doc-url: URL to the documentation for this blob
73 group = parser.add_argument_group('west blob list options')
75 help='''format string to use to list each blob;
104 for blob in blobs:
105 self.inf(fmt.format(**blob))
122 # to the digest in blob metadata, warn user if they differ.
123 def verify_blob(self, blob): argument
124 self.dbg('Verifying blob {module}: {abspath}'.format(**blob))
126 status = zephyr_module.get_blob_status(blob['abspath'], blob['sha256'])
131 in the blob metadata:
133 try running 'west blobs fetch {blob['module']}'
137 the corresponding blob metadata
139 Module: {blob['module']}
140 Blob: {blob['path']}
141 URL: {blob['url']}
142 Info: {blob['description']}'''))
146 for blob in blobs:
147 if blob['status'] == zephyr_module.BLOB_PRESENT:
148 self.dbg('Blob {module}: {abspath} is up to date'.format(**blob))
150 self.inf('Fetching blob {module}: {abspath}'.format(**blob))
151 self.fetch_blob(blob['url'], blob['abspath'])
152 self.verify_blob(blob)
156 for blob in blobs:
157 if blob['status'] == zephyr_module.BLOB_NOT_PRESENT:
158 self.dbg('Blob {module}: {abspath} not in filesystem'.format(**blob))
160 self.inf('Deleting blob {module}: {status} {abspath}'.format(**blob))
161 blob['abspath'].unlink()