Monday, February 15, 2010

DXR Repo Update

Basically this week was just making sure any new releases coming into the dropoff directory were appropriately placed in the repo.

Boris Chao
released - dehydra-0.9-3.fc11.x86_64.rpm
dehydra-0.9-3.fc10.i386.rpm


Jonathan Deni
released - viewsource-1.1-2.fc11.noarch.rpm


I am still waiting on Adam Hilts for the matching source rpms.

Another major update/change to do with the repository was done by Jonathan Deni as he performed an audit on the repo rpm SPEC file to ensure it met Fedora Guidelines.

Check his blog post out.


Thats all for now!

Thursday, February 4, 2010

CALLING ALL DXR PACKAGERS!

ATTENTION DXR Project Packaging Team! As mentioned in my previous post Cleaning the DXR Repo, there are a lot of source rpms that are missing and required.

Here is the list of what I need!

cpp-4.3.0-9.src.rpm
dehydra-debuginfo-0.9-2.fc11.src.rpm
gcc-4.3.0-9.src.rpm
gcc-c++-4.3.0-9.src.rpm
gcc-debuginfo-4.3.0-9.src.rpm
gcc-gfortran-4.3.0-9.src.rpm
gcc-objc-4.3.0-9.src.rpm
gcc-objc++-4.3.0-9.src.rpm
libgcc-4.3.0-9.src.rpm
libgfortran-4.3.0-9.src.rpm
libgomp-4.3.0-9.src.rpm
libmudflap-4.3.0-9.src.rpm
libmudflap-devel-4.3.0-9.src.rpm
libobjc-4.3.0-9.src.rpm
libstdc++-4.3.0-9.src.rpm
libstdc++-devel-4.3.0-9.src.rpm


Please place the source packages into the dropofff directory under /DXR.

THANK YOU IN ADVANCE!

Cleaning the DXR Repo

Stage 1 (Throwing out the trash):

DXR Repository = Messier than a teenager's room. There were too many unnecessary old package versions in the DXR repository so I decided to just keep the newest ones. The platform directories are now a lot easier to look at and do not give me a headache. With an added bonus, it helped to save disk space :)

Stage 2 (Where oh where did all the source packages go?):

After the clean out, I soon realized that there were many source rpms missing. (I will be creating a separate post after this one, listing which source packages are needed).

Stage 3 (seLinux, let me in!):

I tried testing to see if yumdownloader would work, and as prior to my last post, it was quite the struggle.

Command: yumdownloader --source viewsource

Result: *PUKE* (just kidding)....

http://scotland.proximity.on.ca/DXR/source/repodata/repomd.xml: [Errno 14] HTTP Error 403: Forbidden

So, obviously a permission error. I tested out to see if it was a simple file permission (chmod) fix, but of course it wasn't (that would be way too easy right?) I soon learned that it could be seLinux. I messaged my buddy and viewsource packager Jonathan Deni for some assistance since I knew he had recently had some issues with seLinux as well....

So long story short, after comparing the security context between /repodata/repomd.xml and /DXR/index.html it was clear to see that they had different security TYPES.

One was home directory content, the other was httpd content and since seLinux policy prohibits home directory content from being served, voila!

restorecon -r /var/www/html = looked up types based on the location within the filesystem

Stage 4 (Making things pretty and easy):

Http://scotland.proximity.on.ca/DXR

Enough said.