Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2017 06:21:52 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        Thomas Mueller <mueller6722@twc.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: How to get pkg to recognize local repository?
Message-ID:  <00364158-15A0-47FF-A292-608236E33059@adamw.org>
In-Reply-To: <9B.30.25786.4737D695@dnvrco-omsmta03>
References:  <CF.51.25924.DA64C695@dnvrco-omsmta02> <A5AC7C48-0736-4AAA-9C49-91A23DDBA74B@lastsummer.de> <20170717052106.GC2368@c720-r31425> <D5.B5.08177.DDC5C695@dnvrco-omsmta01> <053AE5F1-4FF1-40AB-B768-D43AD5B29D21@lastsummer.de> <bae5dfd0-b1f1-02bc-a028-37f7afd0013f@passap.ru> <9B.30.25786.4737D695@dnvrco-omsmta03>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 17 Jul, 2017, at 20:33, Thomas Mueller <mueller6722@twc.com> wrote:
>=20
> Excerpt from Adam Weinberger:
>=20
>> myfirstrepo: {
>>        url: file:///path/to/first/repo,
>>        priority: 99
>> },
>> mysecondrepo: {
>>        url: file:///path/to/second/repo,
>>        priority: 98
>> }

Hi Tom, sorry I completely missed your reply.

> I suppose priority 99 would take priority over priority 98?

Correct. 100 is highest priority, 0 is lowest. Take a look at the =
pkg.conf manage.

> In normal English usage, first priority or priority one is higher than =
priority two.
>=20
> Do you need the comma after the closing brace after myfirstrepo?

ucl is pretty forgiving.

> I suppose myfirst repo and mysecondrepo are both in the same .conf =
file?

They don't have to be. Personally I keep them in separate files.

/usr/local/etc/pkg/repos/universal.conf
  priority: 80
/usr/local/etc/pkg/repos/local.conf
  priority: 90

# Adam


--=20
Adam Weinberger
adamw@adamw.org
https://www.adamw.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00364158-15A0-47FF-A292-608236E33059>