← Back to team overview

linaro-release team mailing list archive

[Bug 891560] Re: make linaro-fetch-image more usable

 

** Also affects: linaro-image-tools
   Importance: Undecided
       Status: New

** Changed in: linaro-image-tools
       Status: New => Triaged

** Changed in: linaro-image-tools
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of linaro-
infrastructure-drivers, which is the registrant for Linaro Image Tools.
https://bugs.launchpad.net/bugs/891560

Title:
  make linaro-fetch-image more usable

Status in Linaro Image Tools:
  Triaged
Status in “linaro-image-tools” package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-image-tools/+bug/891560/+subscriptions