changes coming soon

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

changes coming soon

Aaron Griffin
So I have a bunch of local changes that I should be committing soon.
Just wanted to give you all a "heads up".

1) "lazy caching" - default infolevel for pkgcache set to INFRQ_NONE,
added infolevel to the get_pkgcache function, to read only the files
needed.  This improved -Ss speed and -Su speed by *alot*

2) switch to libfetch - mostly internal changes to server.c
download_files_forreal

3) pm_dlcb format change (this is the big one).  Because the callback
was now in my hands (thanks libfetch) and not part of a library, I had
free reign on the format.  I really don't like the 10-or-so
library-level variables for the callback, so I removed those.  The new
callback signature is:
   (const char *filename, int xfered, int total)
Every single thing needed by the callback can be calculated from the
current and total bytes.  The callback is also called before download
starts with an xfered == 0.  This is useful to initialize   the start
time and things like that.
This is still up for interpretation - if someone sees a problem that I
do not, let me know.

4) I implemented the "ILoveCandy" progress on the secondary progress
bars.  I also slightly changed the format from "C*****" to "C  o  o  o
 o", just for kicks.

If any of these changes are problematic, let me know.... it's alot to
check in at once, but all this was due to libfetch integration.

Thanks,
Aaron

_______________________________________________
pacman-dev mailing list
[hidden email]
http://www.archlinux.org/mailman/listinfo/pacman-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: changes coming soon

Roman Kyrylych
2006/10/27, Aaron Griffin <[hidden email]>:
> So I have a bunch of local changes that I should be committing soon.
> Just wanted to give you all a "heads up".

Great news! :-)

About libfetch fork, can you please release it somewhere when it will
be stable, so other Linux programmers can get it not from pacman CVS?

--
Roman Kyrylych (Роман Кирилич)
_______________________________________________
pacman-dev mailing list
[hidden email]
http://www.archlinux.org/mailman/listinfo/pacman-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: changes coming soon

Aaron Griffin
On 10/27/06, Roman Kyrylych <[hidden email]> wrote:
> 2006/10/27, Aaron Griffin <[hidden email]>:
> > So I have a bunch of local changes that I should be committing soon.
> > Just wanted to give you all a "heads up".
>
> Great news! :-)
>
> About libfetch fork, can you please release it somewhere when it will
> be stable, so other Linux programmers can get it not from pacman CVS?
>

Yup, I just need to add a Makefile to it... of course BSD's doesn't
work, and i was just using gcc directly...

_______________________________________________
pacman-dev mailing list
[hidden email]
http://www.archlinux.org/mailman/listinfo/pacman-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: changes coming soon

Miklos Vajna
In reply to this post by Aaron Griffin
On Fri, Oct 27, 2006 at 01:43:55PM -0500, Aaron Griffin <[hidden email]> wrote:
> If any of these changes are problematic, let me know.... it's alot to
> check in at once, but all this was due to libfetch integration.

before that, could you please remove the doxygen-generated manpages?

thanks,
VMiklos

--
Developer of Frugalware Linux, to make things frugal - http://frugalware.org

_______________________________________________
pacman-dev mailing list
[hidden email]
http://www.archlinux.org/mailman/listinfo/pacman-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: changes coming soon

Aaron Griffin
On 10/27/06, VMiklos <[hidden email]> wrote:
> On Fri, Oct 27, 2006 at 01:43:55PM -0500, Aaron Griffin <[hidden email]> wrote:
> > If any of these changes are problematic, let me know.... it's alot to
> > check in at once, but all this was due to libfetch integration.
>
> before that, could you please remove the doxygen-generated manpages?

Done - sorry i didn't notice that before

_______________________________________________
pacman-dev mailing list
[hidden email]
http://www.archlinux.org/mailman/listinfo/pacman-dev
Loading...