FS#1024 - prepare for other architectures

Attached to Project: Pacman
Opened by Dale Blount (dale) - Wednesday, 23 June 2004, 21:07 GMT
Last edited by Judd Vinet (judd) - Saturday, 18 September 2004, 03:16 GMT
Task Type Feature Request
Category
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Very Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

now's probably as good as time as any to start preparing for other architectures... 64bit cpus will be commonplace soon, and we're still getting i586 and even ppc requests (I have both 586s and a ppc, and a 64bit soon hopefully for testing).

the current/release/stable symlinks would have to change to point to 0.x/os/ and pacman.conf would have to point to
ftp://ftp.archlinux.org/current/i686 for 686, etc.

we might even want to consider adding the arch in the pkg file name like other distos do so people don't go trying to install i686 packages on their ppc.
This task depends upon

Closed by  Judd Vinet (judd)
Tuesday, 30 November 2004, 03:31 GMT
Reason for closing:  Implemented
Comment by Dale Blount (dale) - Wednesday, 23 June 2004, 21:08 GMT
oh, and extra/* should be moved to extra/i686/ or something like that, I'm sure there's a ton more... especially thoughts on how the cvs repo will work and who's responsible for what. I think this is a good first step to be ready for the future of Arch.
Comment by Judd Vinet (judd) - Wednesday, 23 June 2004, 23:11 GMT
Good idea. I'd like to have this in place before we release 0.7. I'll probably add the dirs/symlinks and change the default pacman.conf sometime in the next couple weeks.
Comment by Dale Blount (dale) - Thursday, 24 June 2004, 02:13 GMT
Maybe we should change pacman.conf first and make more symlinks so that the current style pacman.conf and new style pacman.conf works until at least 0.7 is released so that people who don't upgrade their pacman for 3 months will still be able to via pacman. We should give at least 3 months where the current style works, I'd think.
Comment by Judd Vinet (judd) - Monday, 12 July 2004, 01:26 GMT
Symlinks are in place. I'll leave this bug open as a reminder to eventually remove the backwards compatibility.
Comment by arjan timmerman (blaasvis) - Friday, 16 July 2004, 10:20 GMT
what about the -i686 adding to a package, would be nice the have the same for alpha,ppc,i586 etc ;)
Comment by Judd Vinet (judd) - Friday, 16 July 2004, 16:50 GMT
Changing the naming scheme would be a big chunk of work, actually. There are a lot of scripts that expect to see the pkgname-pkgver-pkgrel.pkg.tar.gz format.

This was my main reason for adding the Architecture field to package meta-info. You can query a package's architecture by looking in the -Qi output.

# pacman -Qip pkgfile.pkg.tar.gz

It would be nice to have that info in the package name itself, but it will be a lot of work.
Comment by Judd Vinet (judd) - Tuesday, 30 November 2004, 03:31 GMT
FTP pathnames have been changed. Compatibility symlinks are removed.

Loading...