make linaro-fetch-image more usable

Bug #891560 reported by Marcin Juszkiewicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Fetch Image
Won't Fix
Medium
Unassigned
linaro-image-tools (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I do not use Linaro releases too often so I do not know names of devboards, hwpacks, images. But I also do not like going to {snapshots,releases}.linaro.org and dig though them in search of images and hwpacks.

So I tried linaro-fetch-image-ui but it failed after ~hour or work. Maybe because udisks was not able to notice my sdcard reader but thats other bug.

I want to use linaro-fetch-image tool to fetch hwpack + image for me and I will play with linaro-media-create by my self (not that I like it but at least I know the tool). But there is this insane amount of switches which are required and no help for poor user like me.

Not to mention that finally I do not know how to name "i.mx53 quickstart" board - is it mx53loco or lt-mx5 or yet-another-name. Same goes for images names etc.

"./linaro-fetch-image -w mx53loco -a snapshot -i ubuntu-desktop -b latest -p lt-mx5-oneiric" is what I tried but it failed:
Traceback (most recent call last):
  File "./linaro-fetch-image", line 79, in <module>
    main()
  File "./linaro-fetch-image", line 64, in main
    image_url, hwpack_url = db.get_image_and_hwpack_urls(config.args)
  File "/home/hrw/HDD/devel/canonical/linaro-image-tools/linaro_image_tools/fetch_image.py", line 1455, in get_image_and_hwpack_urls
    args['image'], past_date, [args['hwpack']])
  File "/home/hrw/HDD/devel/canonical/linaro-image-tools/linaro_image_tools/fetch_image.py", line 1324, in get_binary_builds_on_day_from_db
    date = re.sub('-', '', date)
  File "/usr/lib/python2.7/re.py", line 151, in sub
    return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or buffer

Can we get something like "linaro-fetch-image --show-supported-devices --show-supported-images" options? I would love to do that and then type:

linaro-fetch-image --device mx53loco --image ubuntu-desktop --hwpack lt-mx53loco --release snapshot --build latest

or sth like that - but give me way to check which options are possible.

Revision history for this message
Guilherme Salgado (salgado) wrote : Re: [Bug 891560] [NEW] make linaro-fetch-image more usable

I think you can get the list of supported boards from
linaro-media-create --help, but this is indeed something we should fix
-- it should also show up when you run l-f-i --help.

 status triaged
 importance medium

Changed in linaro-image-tools:
status: New → Triaged
importance: Undecided → Medium
Fathi Boudra (fboudra)
Changed in linaro-image-tools (Ubuntu):
status: New → Triaged
affects: linaro-image-tools → linaro-fetch-image
Revision history for this message
Milo Casagrande (milo) wrote :

Due to the age of this issue, we are acknowledging that this issue will likely not be fixed, is no longer applicable, or was already fixed by an indirect change. If this issue is still important, please add details and reopen the issue.

Changed in linaro-fetch-image:
status: Triaged → Won't Fix
Changed in linaro-image-tools (Ubuntu):
status: Triaged → Invalid
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.