On Thu, Nov 11, 2010 at 9:08 AM, Marin Atanasov Nikolov <dna...@gmail.com> wrote: > On Thu, Nov 11, 2010 at 8:01 AM, <per...@pluto.rain.com> wrote: >> Marin Atanasov Nikolov <dna...@gmail.com> wrote: >> >>> If you do not have git installed, you could still get the >>> latest snapshot of pkg_add_it via the Cgit repo. [1] >>> [1] http://git.unix-heaven.org/cgit.cgi/pkg_add_it/ >> >> Aha! I'm sure I looked at that page before posting, but did not see >> how to pull down a snapshot (vs browsing individual files) the first >> time. It seems to have been reorganized since 1.2, as well as having >> grown quite a bit :) >> > > Yep, quite a lot of changes went to 1.3, the program was completely > rewritten and introduced a lot of new features :) > > Most significant changes were: > - own-styled lists were replaced by queue(3) macros, so generally now > everything is dynamic and memory leak-free. > - a lot of new functions dealing with packages, added a configuration module > - etc... :) >
Hello again :) > One thing that can be improved is the recursion introduced by > DEPS_FULL_TREE=true, so that dependencies can be found easier and > faster from INDEX, but I'm looking into this already, since I think > that feature is very useful when you need to know the dependencies of > a package in a tree-view. > I spent some time today working on the algorithm for finding package dependencies from INDEX and managed to improve it a lot, so now dependencies are being found in times faster than before (!!) The previous algorithm was recursing over the INDEX file in order to find all dependencies to build a tree-view of the package dependencies, and now only 1 iteration is needed to accomplish this :) Now, only if there was a libpkg ready, then pkg_add_it(1) could be transformed into a standalone install tool, which does not need pkg_add(1) for it's job :) Regards, Marin > Regards, > Marin > > -- > Marin Atanasov Nikolov > > dnaeon AT gmail DOT com > daemon AT unix-heaven DOT org > http://www.unix-heaven.org/ > -- Marin Atanasov Nikolov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org http://www.unix-heaven.org/ _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"