Re: Web update library in python?



On 2007-11-20, Jorgen Bodde <jorgen.maillist@xxxxxxxxx> wrote:
Hi all,

I want to provide my users the ability to download a repository from
the web, and after that check for updates. I thought of a mechanism
that could do that, but since there is patch and diff readily
available I wondered if there is a python solution that allows me to
download a file, and let the patch be applied locally. In the patch
there are binaries and sources I am not sure if patch can handle them
both though.

there is difflib


I want to have a solution that is very easy for the user, so point and
click kind of work. Is there a tool / library around that can provide
me a base for this problem?

However, from your description, it looks like you are trying to achieve what
many modern SCM tools do already out-of-the-box, so why are you trying to
re-invent the wheel?

For example, SVN handles anonymous download of working copies with HTTP,
distributed SCM tools (bzr, git, mercurial, to name a few) allow you to copy
complete repositories over the internet, and merge/update them (as well as
sending patches back by eg email).

Such a solution reduces your problem mostly to a one line script like 'svn
update'. You may want to add a nice GUI front-end around it (although given the
fact you are offering them a repository with sources (which, presumably is more
advanced than point-and-click), I don't really see the need for a
point-and-click solution).



Albert
.



Relevant Pages

  • Computer Security Rule to live by
    ... If asked to download a file if not sure what it does, ... Patch your computer's operating system ... Get a firewall use it and then check for patches and updates for it. ... Computer Security is more about what you do or don't do. ...
    (microsoft.public.security)
  • Re: Cant create mail or open address book
    ... Download this patch also. ... It is due to come out as part of a Cumulative Patch in the future, but it is available now and may help you out. ... "Craig" wrote in message ... and install all updates as they are offered. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: WINDOWS UPDATE
    ... Let's see what the new Microsoft Update Catalog has: ... In most instances I have always been able to download the new patch from a broadband connection, save it to a disc so I can install the updates to my machine. ...
    (microsoft.public.windowsxp.general)
  • Re: Web update library in python?
    ... I want to provide my users the ability to download a repository from ... and after that check for updates. ... and let the patch be applied locally. ...
    (comp.lang.python)
  • Re: Cant create mail or open address book
    ... This patch will backup your e-mail when you compact. ... I wasn't aware of a warning to backup your system prior to the download. ... and install all updates as they are offered. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)