Date: Fri, 12 Nov 2010 22:35:41 +0200 From: Marin Atanasov Nikolov <dnaeon@gmail.com> To: perryh@pluto.rain.com Cc: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Interactive tool for installing packages Message-ID: <AANLkTi=27H_LX6koq1pWLqPMf1V%2Bw2a0a%2BWuNZCD28YG@mail.gmail.com> In-Reply-To: <AANLkTikGackD22Nv%2Bw-xqj366bwv3xed788exWt2mkTD@mail.gmail.com> References: <AANLkTimCSkE5Ukc4DrVpMZ6ZxggP2u-HRKqeKWZT%2B%2BNO@mail.gmail.com> <4cda516f.CsCJyXi6dA77aINL%perryh@pluto.rain.com> <AANLkTikK4Qo_A=yFBhXFMkpK8saBU-1O42TZPm8XwJ2D@mail.gmail.com> <4cdb86a9.Y2mKBlO3rm15wF2D%perryh@pluto.rain.com> <AANLkTikGackD22Nv%2Bw-xqj366bwv3xed788exWt2mkTD@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 11, 2010 at 9:08 AM, Marin Atanasov Nikolov <dnaeon@gmail.com> wrote: > On Thu, Nov 11, 2010 at 8:01 AM, =A0<perryh@pluto.rain.com> wrote: >> Marin Atanasov Nikolov <dnaeon@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! =A0I'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. =A0It 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: > =A0- own-styled lists were replaced by queue(3) macros, so generally now > everything is dynamic and memory leak-free. > =A0- a lot of new functions dealing with packages, added a configuration = module > =A0- etc... :) > Hello again :) > One thing that can be improved is the recursion introduced by > DEPS_FULL_TREE=3Dtrue, 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/ > --=20 Marin Atanasov Nikolov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org http://www.unix-heaven.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=27H_LX6koq1pWLqPMf1V%2Bw2a0a%2BWuNZCD28YG>