You are not logged in.

#1 2009-05-10 21:33:07

z.s.tar.gz
Member
From: Rural Florida
Registered: 2008-12-12
Posts: 298

why doesnt pacman use .pac?

I'm just wordering, it seems like the logical thing would be to give pacman its own file extention. Not just .pac, anything. I'm not complaining, I just need a reason.


I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581

Offline

#2 2009-05-10 21:35:23

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: why doesnt pacman use .pac?

The reason is there is no need. Arch packages are gzipped tarballs, so the extension is tar.gz.

Offline

#3 2009-05-10 22:01:08

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: why doesnt pacman use .pac?

And it makes it obvious that you actually can unpack them like a regular tar.gz archive, should the need arise.

Offline

#4 2009-05-10 22:13:53

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: why doesnt pacman use .pac?

a pac file is a proxy auto configure file (use by browsers), by the way.
wink


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#5 2009-05-11 14:08:10

ash
Member
Registered: 2008-12-17
Posts: 134

Re: why doesnt pacman use .pac?

its allready .pkg.tar.gz

Offline

#6 2009-05-11 14:49:35

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: why doesnt pacman use .pac?

cactus wrote:

a pac file is a proxy auto configure file (use by browsers), by the way.
wink

you googled that tongue


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#7 2009-05-11 15:05:02

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: why doesnt pacman use .pac?

moljac024 wrote:
cactus wrote:

a pac file is a proxy auto configure file (use by browsers), by the way.
wink

you googled that tongue

I doubt it.

Offline

#8 2009-05-11 15:26:07

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: why doesnt pacman use .pac?

It's google that uses cactus, not the other way around.

Offline

#9 2009-05-11 16:01:19

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Offline

#10 2009-05-11 16:53:59

utore
Member
From: USA
Registered: 2008-01-27
Posts: 67
Website

Re: why doesnt pacman use .pac?

It wouldn't make any sense, frankly. Creating a whole new extension for something that is already handled well by another filetype. It makes things more complicated, honestly.


Something witty.

Offline

#11 2009-05-11 17:03:33

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: why doesnt pacman use .pac?

Also, it will make thing easier when we add support for lzma/xz in future versions.

Offline

#12 2009-05-11 22:40:46

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: why doesnt pacman use .pac?

Pierre wrote:

Also, it will make thing easier when we add support for lzma/xz in future versions.

So this is planned now?


neutral

Offline

#13 2009-05-11 23:37:53

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: why doesnt pacman use .pac?

Thanks to libarchive makepkg/pacman supports anything libarchive does. So once there is lzma support in libarchive it should be easy to build lzma compressed packages.

Offline

#14 2009-05-11 23:46:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,651
Website

Re: why doesnt pacman use .pac?

patches for makepkg welcome...

Offline

#15 2009-05-12 22:25:02

z.s.tar.gz
Member
From: Rural Florida
Registered: 2008-12-12
Posts: 298

Re: why doesnt pacman use .pac?

Alight. I guess that makes sense. Is there any way to create a sort of alias to where I can use .whatever on my system? I mainly just don't like typing *.pkg.* all the time.


I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581

Offline

#16 2009-05-13 00:48:07

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: why doesnt pacman use .pac?

I have that in my zshrc:

compctl -g '*.pkg.tar.gz' + -g '*' pacman -U

In effect shell completion only shows pkg.tar.gz files after I write "pacman -U".

Offline

#17 2009-05-13 01:27:03

z.s.tar.gz
Member
From: Rural Florida
Registered: 2008-12-12
Posts: 298

Re: why doesnt pacman use .pac?

is that for bash? now that I think of it, I can just do without.


I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581

Offline

#18 2009-05-13 01:32:09

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: why doesnt pacman use .pac?

That's for zsh. bash-completion package might provide something similar.

Offline

#19 2009-05-13 03:16:05

fumbles
Member
Registered: 2006-12-22
Posts: 246

Re: why doesnt pacman use .pac?

Since when does *nix care about what extention you give something?

Offline

#20 2009-05-13 03:25:32

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: why doesnt pacman use .pac?

fumbles wrote:

Since when does *nix care about what extention you give something?

Excellent point. You should know what files you are feeding pacman.

Last edited by sand_man (2009-05-13 03:25:44)


neutral

Offline

#21 2009-05-13 05:48:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: why doesnt pacman use .pac?

z.s.tar.gz wrote:

Alight. I guess that makes sense. Is there any way to create a sort of alias to where I can use .whatever on my system? I mainly just don't like typing *.pkg.* all the time.

+1 for shell completion. I don't think I've ever typed *.pkg.* since I started using Arch. smile

Offline

Board footer

Powered by FluxBB