[Avocado-devel] Practical use of `expire` argument on Asset class

Amador Pahim amador at pahim.org
Mon Dec 9 18:43:51 UTC 2019


Hi Willian,

On Mon, Dec 9, 2019 at 6:08 PM Willian Rampazzo <wrampazz at redhat.com> wrote:
>
> Greetings,
>
> I was looking at the Asset class and could not think about a practical
> use of the `expire` argument. Does anyone have an example to make it
> clear for me?

The use-case that led to its implementation was the download of a
github repository as zip. E.g.
https://github.com/avocado-framework/avocado/archive/master.zip.
Users wanted to somehow control how frequently they would download
again from master.

Hope that's helpful.

Best,
--
apahim

>
> Thanks in advance,
>
> Willian
>
>





More information about the Avocado-devel mailing list