Re: Web update library in python?
- From: "A.T.Hofkamp" <hat@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 20 Nov 2007 11:01:30 +0100
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
.
- Follow-Ups:
- Re: Web update library in python?
- From: Jorgen Bodde
- Re: Web update library in python?
- References:
- Web update library in python?
- From: Jorgen Bodde
- Web update library in python?
- Prev by Date: Re: Web update library in python?
- Next by Date: Re: VB6 frontend GUI with Python
- Previous by thread: Re: Web update library in python?
- Next by thread: Re: Web update library in python?
- Index(es):
Relevant Pages
|