On Fri, 2013-11-01 at 13:30 +0200, Salvatore Iovene wrote:
> I don't know how much, if at all, bmaptool is related the directory
> structure at http://download.tizen.org.

It is an independent tool, so it has no knowledge about tizen.org.

>  But if there's any dependency,
> it would be cool if I didn't have to specify the URL of the .bmap and
> raw file at all: just the directory that contains them.

Hmm...

Currently it works like this.

1. You give it the image path as input.
2. It automatically discovers the corresponding bmap file, unless --bmap
option was used.
3. It starts writing.

I guess the following improvement could be made.

1. If the image path is a directory, then try to find an image and a
bmap file in it
2. If there is a single match, start writing.
3. Otherwise error out.

> E.g.:
> 
> # bmaptoo copy 
> http://download.tizen.org/releases/daily/tizen/ivi/ivi/tizen_20131031.3/images/ivi-mbr-i586/
> /dev/sdb

I guess then you could just used a fixed command for fetching the latest
stuff:

bmaptool copy http://blah/latest/

(without specifying the version at all)

Is this something you would like to have?

> After all, from that directory name it's possible to reconstract the
> name of the .bmap and raw file. And should they be not found, bmaptool
> can simply fail.

Yeah. The bmap file has size of the image file, and checksums of some
data.

> I take the opportunity to ask: what is the right place to report bugs
> on bmaptool? In the last few days I've noticed that it's failing to
> verify the checksum because it's been missing in the .bmap file.
> Instead of quitting with an exception, bmaptool should just skip the
> verification with a warning message.

Yeah, yesterday I've realized I sewed it a little bit, my apologies.
Check this e-mail please:

https://lists.tizen.org/pipermail/ivi/2013-October/001338.html

Thanks for feed-back!

-- 
Best Regards,
Artem Bityutskiy

_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to