Auto Update Methodologies

Hi,

I am looking for tips and tricks for allowing my users to update one
of my programs. I would like something that can just download the
changed files, but I'll take what I can get. Currently, I am looking
at the Whyteboard's project's way of doing it and I've also been
playing with the Esky project. The problem with the former is that it
doesn't do partial updates whereas the latter is a python wrapper
around various binary creators (like py2exe) and it keeps sticking
everything into one executable.

Any ideas are welcome. This is targeting Windows XP users right now.

Thanks,

···

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

I didn't look at the projects you mentioned, but if you don't pack
everything into the executable don't you end up with a zip file with
all your .pyc files in it? Couldn't you then replace one?

Mark

···

On Jul 8, 5:31 pm, Mike Driscoll <kyoso...@gmail.com> wrote:

Hi,

I am looking for tips and tricks for allowing my users to update one
of my programs. I would like something that can just download the
changed files, but I'll take what I can get. Currently, I am looking
at the Whyteboard's project's way of doing it and I've also been
playing with the Esky project. The problem with the former is that it
doesn't do partial updates whereas the latter is a python wrapper
around various binary creators (like py2exe) and it keeps sticking
everything into one executable.

Any ideas are welcome. This is targeting Windows XP users right now.

Thanks,

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

Hi Mark,

···

On Jul 31, 8:53 pm, Mark <markree...@gmail.com> wrote:

I didn't look at the projects you mentioned, but if you don't pack
everything into the executable don't you end up with a zip file with
all your .pyc files in it? Couldn't you then replace one?

Mark

I don't use the zipfile option, but maybe I should look into that. I
do bundle=3 which puts all the files into the dist folder. Thanks for
the tip,
-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

I use "skip_archive": 1 in the py2exe settings, this allows me to just
update the changed files (usually 200KB, instead of a 8MB zip file).
If you're sending out updates over the internet, that may help.

Sloppy code at: Google Code Archive - Long-term storage for Google Code Project Hosting.

···

On Aug 2, 9:48 am, Mike Driscoll <kyoso...@gmail.com> wrote:

I don't use the zipfile option, but maybe I should look into that. I
do bundle=3 which puts all the files into the dist folder. Thanks for
the tip,

Hi Mike,

Take a look at http://darcs.net. darcs is not your usual revision
control system, but I have been using it for a couple of months now
and am very impressed. It could provide an excellent solution to your
requirement.
Two (of many) independent over-views are http://agentultra.com/essays/darcs_presentation.html
and http://blog.interlinked.org/reviews/why_darcs.html.

Rob

···

On Jul 9, 9:31 am, Mike Driscoll <kyoso...@gmail.com> wrote:

I am looking for tips and tricks for allowing my users to update one
of my programs. I would like something that can just download the
changed files ....

Thanks for the code. I'll be taking a look. I already have some ideas
from Whyteboard too.

···

On Aug 2, 12:02 pm, Chris P <11y3y3y3...@gmail.com> wrote:

On Aug 2, 9:48 am, Mike Driscoll <kyoso...@gmail.com> wrote:

> I don't use the zipfile option, but maybe I should look into that. I
> do bundle=3 which puts all the files into the dist folder. Thanks for
> the tip,

I use "skip_archive": 1 in the py2exe settings, this allows me to just
update the changed files (usually 200KB, instead of a 8MB zip file).
If you're sending out updates over the internet, that may help.

Sloppy code at:Google Code Archive - Long-term storage for Google Code Project Hosting.

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

This sounds interesting and weird at the same time. I'll have to
research it a bit.

···

On Aug 2, 4:49 pm, RobS <r...@smartwork.co.nz> wrote:

On Jul 9, 9:31 am, Mike Driscoll <kyoso...@gmail.com> wrote:

> I am looking for tips and tricks for allowing my users to update one
> of my programs. I would like something that can just download the
> changed files ....

Hi Mike,

Take a look athttp://darcs.net. darcs is not your usual revision
control system, but I have been using it for a couple of months now
and am very impressed. It could provide an excellent solution to your
requirement.
Two (of many) independent over-views arehttp://agentultra.com/essays/darcs_presentation.html
andhttp://blog.interlinked.org/reviews/why_darcs.html.

Rob

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org