You are not logged in.

#1 2011-07-05 18:31:46

pocm
Member
Registered: 2010-08-02
Posts: 15

per-repository XferCommand?

Is it legal to do something like this?

[options]
HoldPkg     = pacman glibc
SyncFirst   = pacman
[core]
Include = /etc/pacman.d/mirrorlist
[custom-server]
XferCommand = /usr/bin/wget --user=foo --password=bar -c %u
Server = http://example.com/

Note the XferCommand used for a custom directory.

Offline

#2 2011-07-05 18:51:03

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: per-repository XferCommand?

No, XferCommand is a global setting. If you need to specify a user/password for http basic auth, just specify it in the URL:

http://foo:bar@machine.domain.tld/request/uri

Offline

#3 2011-07-05 19:18:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: per-repository XferCommand?

What would happen if OP used different pacman configs for different repos?


BTW, removal of XferCommand has been proposed https://bugs.archlinux.org/task/24737

Offline

Board footer

Powered by FluxBB