1. 25 1月, 2019 2 次提交
  2. 24 1月, 2019 8 次提交
  3. 23 1月, 2019 4 次提交
  4. 22 1月, 2019 1 次提交
  5. 15 1月, 2019 3 次提交
    • C
      Asset fetcher: handle URL + hash use case · 831d54fb
      Cleber Rosa 提交于
      As a documented feature of the asset fetcher, a user may want to make
      sure, by the use of a hash, that the fetched asset is sound.  Also, by
      giving a name of the asset, allow it to be fetched from a different
      number of locations.
      
      But, there's a difference in intention when a name+hash is used, and
      when a specific location and hash (a URL+hash) is used.  In the later
      case, we don't want to cache the file by name, because different URLs
      can have completely different contents.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      831d54fb
    • C
      Asset fetcher: cache relative dir should be computed from name · 2dd080a1
      Cleber Rosa 提交于
      The name the user gives to the asset fetcher should be the primary
      controlling aspect of the cache location.  The possible locations
      where the asset might be found are just an aiding component to the
      asset retrieval.
      
      This is, besides a fix, also an opmization, given that
      _get_relative_dir() is now called only once, instead of once for each
      possible location.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      2dd080a1
    • C
      Asset fetcher: docstring improvement · 2677c555
      Cleber Rosa 提交于
      The definition of the locations parameter feels broken.  Let's improve it.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      2677c555
  6. 12 1月, 2019 3 次提交
  7. 08 1月, 2019 3 次提交
  8. 07 1月, 2019 1 次提交
  9. 04 1月, 2019 1 次提交
  10. 03 1月, 2019 1 次提交
  11. 02 1月, 2019 2 次提交
  12. 30 12月, 2018 1 次提交
  13. 29 12月, 2018 1 次提交
  14. 28 12月, 2018 2 次提交
  15. 18 12月, 2018 3 次提交
  16. 17 12月, 2018 4 次提交