Page 1 of 1

role of the `def update_package` function in `setup.py` firefox

Published: August 28, 2015 - 9:33 PM
by markham
Hello,

I would like to know the role of the `def update_package` function in `setup.py`, for example, in the tis-firefox packages.

And how to use it when controlling WAPT from a server.

PS: Firefox has been updated to version 40.03, but the tis repositories are still at version 39. Is there a bug with version 40?
Can the `def update_package` function be used to update the system?

Thank you for your work.

Re: Role of the `def update_package` function in Firefox's `setup.py`

Published: August 29, 2015 - 1:34 PM
by sfonteneau
Hello,

the `update_package` function automatically updates the Firefox package to the latest available version.

You can run it in PyScript.

It automatically downloads the latest version of Firefox and updates the `control` file.

If you want to update the package, you can easily do so in one minute.

Picture

Re: Role of the `def update_package` function in Firefox's `setup.py`

Published: August 30, 2015 - 8:01 PM
by markham
Thank you for your response.

Could we consider integrating this into WaptServer to create a kind of special repository that would update automatically according to the publisher versions, rather than relying on volunteer work?

Or, even more simply, can we automate the package update and upload to the repository from a command line?

Re: Role of the `def update_package` function in Firefox's `setup.py`

Published: August 31, 2015 - 08:43
by sfonteneau
This might be something that's in the works at tranquil.it.

It could be interesting.

But it requires R&D.

What would be great is if publishers (at least open-source ones) offered a Wapt repository directly. ;)

Simon