Detect what's already installed and only request download of needed packages.
The UT instructions say to get the new packages and extract them where needed. We should detect that the user already has say, 3.2 installed, and only do the 3.3 and 3.4.
I'm sure portage would need to be updated or worked arround to have a single ebuld providing multiple versions of the product... Maybe just have the ebulid #, and have it only be trivially associated with the UT version, (say Q3-UrbanTerror-Manager-188.8.131.52 -- where 3.4 is the UT version that is supported up to.
Also, The ebuild should install 3, if only the 3 package is there, then upgrade... These files are BIG, and it should go as far as it can and say that it is 3.2, if it only upgraded to 3.2..
My system is out of disk space, Well, I have enough diskspace to have two of these, and two of them extracted, but not more than that. They will most certainly be deleted after they are installed... and I will have to redownload them again later! at great expense to everyone involved.
Gentoo has the compressed packages, the work/expanded source, and the compiled binaries, and the destination. That's generally more than twice the diskspace of other distros...
Then with an ebuild that requires one to download 5!!!! giant files!!! When I already have 3 of them installed? I only need to get 33 and 34 and overwrite a few files.. according to the instructions on the UT website...
* Please goto http://www.urbanterror.net/
* and download urbanterror3.zip UrbanTerror31.zip UrbanTerror32.zip UrbanTe
33.zip UrbanTerror34.zip into /usr/portage/distfiles
Our install has to work from an installation of Quake3 and *nothing* else. Unfortunately, our best answer is "Don't delete the previous versions from your distfiles" right now.
I really cannot think of any way to verify that the version installed locally has all of the proper files and is actually at the correct version *without* verifying against the actual files, which would negate the possibility of saving space.
This is the nature of the beast when working with games such as this that are packaged a certain way. If there were still a download for the 3.4 full, we would use that instead to install from and remove the need for any version prior to the 3.4 version, but the UT team has pulled the full version from distribution, hence the need for the multiple downloads.
If in the future, the UT team re-release the single "full install" download, then I would either file a bug then or reopen this one to have it changed. Otherwise, there really isn't anything we can do without breaking the ebuild.
GLEP 25 takes care of this