[pacman-dev] [PATCH] support for mtime checking @ http database download
Hello list, I have done a small patch, which adds mtime checking for the database download on http archives... overview: - one new function called HttpGetMod() in ftplib.c - some new if's @ pacsync.c I think there may be a need for it ;) -- regards, TR
On Wed, Sep 06, 2006 at 07:25:27PM +0200, Tino Reichardt <list-pacman-dev@mcmilk.de> wrote:
- one new function called HttpGetMod() in ftplib.c - some new if's @ pacsync.c
I think there may be a need for it ;)
cmiiw, but this is already in the pacman-lib cvs: 2006-01-04 23:52 aurelien * lib/libftp/ftplib.c, lib/libftp/ftplib.h, * src/pacman/download.c, src/pacman/sync.c: added .lastudate support for HTTP protocol why not just backport it? udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org
Hello VMiklos, Where can i fetch the current source of pacman ? I want to see if i can help in something. Is there a todo list to a make a release ? TIA On 9/6/06, VMiklos <vmiklos@frugalware.org> wrote:
On Wed, Sep 06, 2006 at 07:25:27PM +0200, Tino Reichardt <list-pacman-dev@mcmilk.de> wrote:
- one new function called HttpGetMod() in ftplib.c - some new if's @ pacsync.c
I think there may be a need for it ;)
cmiiw, but this is already in the pacman-lib cvs:
2006-01-04 23:52 aurelien
* lib/libftp/ftplib.c, lib/libftp/ftplib.h, * src/pacman/download.c, src/pacman/sync.c: added .lastudate support for HTTP protocol
why not just backport it?
udv / greetings, VMiklos
-- Developer of Frugalware Linux, to make things frugal - http://frugalware.org
On Wed, Sep 06, 2006 at 05:34:20PM -0300, Douglas Andrade <dsandrade@gmail.com> wrote:
Where can i fetch the current source of pacman ? I want to see if i can help in something.
http://www.google.com/search?q=pacman+cvs <- use it! # export CVSROOT=:pserver:anonymous@cvs.archlinux.org:/home/cvs-pacman # touch ~/.cvspass # cvs login Logging in to :pserver:anonymous@cvs.archlinux.org:2401/home/cvs-pacman CVS password: anonymous # cvs -z3 co pacman-lib note: the cvs is not updated since 2006-07-14 (read: no real development is done in cvs) to get the Frugalware pacman tree: darcs get --partial http://darcs.frugalware.org/repos/pacman
Is there a todo list to a make a release ?
yes, Aurelien made one, but he discontinued the pacman development alternatively you can have a look at the variaous TODO.foo files in the source udv / greetings, VMiklos -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
* VMiklos <vmiklos@frugalware.org> wrote:
On Wed, Sep 06, 2006 at 07:25:27PM +0200, Tino Reichardt <list-pacman-dev@mcmilk.de> wrote:
- one new function called HttpGetMod() in ftplib.c - some new if's @ pacsync.c
I think there may be a need for it ;)
cmiiw, but this is already in the pacman-lib cvs:
2006-01-04 23:52 aurelien
* lib/libftp/ftplib.c, lib/libftp/ftplib.h, * src/pacman/download.c, src/pacman/sync.c: added .lastudate support for HTTP protocol
why not just backport it?
When it is there, why has nobody made a new release of pacman... I think the http mtime support is important! I will checkout the latest cvs in the evening. I will then go through the code and maybe add support for things like autentication @ proxies. What version will the cvs code get. Is it 3.0 ? -- regards, TR
On Thu, Sep 07, 2006 at 07:03:56AM +0200, Tino Reichardt <list-pacman-dev@mcmilk.de> wrote:
When it is there, why has nobody made a new release of pacman... I think the http mtime support is important!
that's something we (the Frugalware devs) can't control. the first Frugalware release that contained the code is 2.9.99.8, released on 07 Jan 2006
I will checkout the latest cvs in the evening. I will then go through the code and maybe add support for things like autentication @ proxies.
you're welcome :)
What version will the cvs code get. Is it 3.0 ?
you can call it whatever you want, 3.0-beta or so (it is not stable since there are a bunch or pending stabilization patches) udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org
* VMiklos <vmiklos@frugalware.org> wrote:
I will checkout the latest cvs in the evening. I will then go through the code and maybe add support for things like autentication @ proxies.
you're welcome :)
I had a look on the code... it is a different aproach, but does the same :) But if the code changes on this cvs branch are not stable... it would be easy to use my patch just for pacman-2.9.8 ... until the real pacman 2.9.9 or 3.0 or whatever comes.... from that cvs tree. -- regards, TR
On Thu, Sep 07, 2006 at 06:58:05PM +0200, Tino Reichardt <list-pacman-dev@mcmilk.de> wrote:
But if the code changes on this cvs branch are not stable... it would be easy to use my patch just for pacman-2.9.8 ... until the real pacman
yes. but the cvs of pacman2 is not public. mail Judd to open it udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org
* Tino Reichardt <list-pacman-dev@mcmilk.de> wrote:
Hello list,
I have done a small patch, which adds mtime checking for the database download on http archives...
overview: - one new function called HttpGetMod() in ftplib.c - some new if's @ pacsync.c
I think there may be a need for it ;)
Maybe this patch can be used for a pacman 2.9.9 release ? Just to have http mtime support in Arch Linux 0.8. There are some good points for including the patch: - http works much better than ftp with port cmd behind most firewalls - the http head command is a lot faster then the ftp stuff -> one http head vs. multiple ftp commands - most current mirror server admins would prefer http over ftp for security reasons -> I think, but I dont know this ;) Any comments. Judd / Aurelien / VMiklos ? -- regards, TR
On Sat, Sep 23, 2006 at 01:35:28PM +0200, Tino Reichardt <list-pacman-dev@mcmilk.de> wrote:
Maybe this patch can be used for a pacman 2.9.9 release ?
Just to have http mtime support in Arch Linux 0.8.
There are some good points for including the patch: - http works much better than ftp with port cmd behind most firewalls - the http head command is a lot faster then the ftp stuff -> one http head vs. multiple ftp commands - most current mirror server admins would prefer http over ftp for security reasons -> I think, but I dont know this ;)
i like the feature you provide in this patch, just i don't care about pacman-2.x anymore. i primarily develop pacman for Frugalware and of course i use this list to send the changes back to "upstream" (Judd). (and we use pacman-3.x in Frugalware for more than a year) anyway, basically it looks ok to me, but Judd is your man, really (Aurelien is not available for months) udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org
participants (3)
-
Douglas Andrade
-
Tino Reichardt
-
VMiklos