[lxc-devel] [lxc/lxc] 33aa35: download: Fix download_sig logic

GitHub noreply at github.com
Tue Jan 14 20:58:13 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 33aa351ac13936fb2549403f18a44fed32b2edfb
      https://github.com/lxc/lxc/commit/33aa351ac13936fb2549403f18a44fed32b2edfb
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-01-14 (Tue, 14 Jan 2014)

  Changed paths:
    M templates/lxc-download.in

  Log Message:
  -----------
  download: Fix download_sig logic

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: fecf101cc4352e9bf60ed3477196146a65b5c4f6
      https://github.com/lxc/lxc/commit/fecf101cc4352e9bf60ed3477196146a65b5c4f6
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-01-14 (Tue, 14 Jan 2014)

  Changed paths:
    M templates/lxc-download.in

  Log Message:
  -----------
  download: Don't use an hardcoded exclude list

Instead of hardcoding --exclude=./dev/*, use a new metadata file
"excludes" which lists all the paths or patterns to exclude during
extraction (one per line).

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 10a5fab6f3ad5cab234b198da31633e41c8ee364
      https://github.com/lxc/lxc/commit/10a5fab6f3ad5cab234b198da31633e41c8ee364
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-01-14 (Tue, 14 Jan 2014)

  Changed paths:
    M templates/lxc-download.in

  Log Message:
  -----------
  download: Support listing available images

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 9accc2efea59a685942501c13e8eb7a21f74a5f6
      https://github.com/lxc/lxc/commit/9accc2efea59a685942501c13e8eb7a21f74a5f6
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-01-14 (Tue, 14 Jan 2014)

  Changed paths:
    M templates/lxc-download.in

  Log Message:
  -----------
  download: Improve cache handling

This adds a new --force-cache parameter which will force use of the
cache even for expired images.

An expired image is now only flushed from the cache once a new one is
successfuly downloaded (to avoid destroying the local cache when the
host doesn't have internet connectivity).

The ID of the build in cache is also tracked so that we don't
re-download something we already have (should only happen if we don't
have a new build published by the time the previous one expires).

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/83b4b1dca80a...9accc2efea59


More information about the lxc-devel mailing list