On Fri, Jun 18, 2010 at 12:51 PM, Garrett Cooper <yaneg...@gmail.com> wrote: > Hi Yum folks, > I'm looking at adding yum to FreeBSD ports in order to do package > resolution at the Linux compat layer so we can have a more sane Linux > environment and one of the things that would need some work is the yum > tool (in particular: pathing, it needs a setup.py script for > completeness, etc). I was wondering if anyone was interested in this > work... at the worst folks with older versions of Fedora, Redhat, or > whatever could have a portable tool that installs into > ${PREFIX}/lib/python<version>/site-packages/yum so some of the code > that's in place that tells yum where to pick up files wouldn't be > needed anymore, or someone using a dev version of the tool could use > the tool without impacting a system copy by setting the appropriate > variables that are used via distutils, etc.
Sorry for having to respond without sufficient context, but unfortunately my subscription to yum-devel hadn't kicked in when some of the responses came through. The end-goal is of course to have the Linux compat layer be able to pull down packages to /compat/linux so that folks can install or query the yum repos for packages such that a) we can stay aware of updates in the project, and b) we don't have to go hunting for packages to download (like one had to do in the olde school Redhat days... bleh). As far as what Seth suggested, yes... I understand that it can be done by hacking yum and/or by adding the relevant bits to the CLI scripts to do stuff, but I'd rather have something repeatable and contributed back to you guys so that more folks other than just FreeBSD can benefit from the changes. Besides, installing to a fix ${PREFIX} is kind of nasty (like is implied today in the scripts), so I'd rather have something portable. Ideally the infrastructure would actually live in /compat/linux/usr to mimic an encapsulated Linux environment as the Linux compat stuff in FreeBSD does some interesting tricks in terms of pathing and execution in order to ensure that precedence between the Linux tools and FreeBSD native tools is maintained. Anyhow, I'll start my work because there does seem to be interest in receiving this, and I'll try to steer away from distutils (I can see a bit of a chicken and egg problem during a python minor-version upgrade if it lives in site-packages now that I think about it). Thanks! -Garrett _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel