Date: Thu, 15 Apr 2021 10:22:49 +0200 From: Stefan Esser <se@freebsd.org> To: Carmel <carmel_ny@outlook.com> Cc: freebsd-ports@freebsd.org Subject: Re: Ports INDEX Message-ID: <9e8824b7-afe4-85dc-5e34-6370c352873b@freebsd.org> In-Reply-To: <PH0PR16MB4245E66CD292031D63ED187C804E9@PH0PR16MB4245.namprd16.prod.outlook.com> References: <PH0PR16MB4245E66CD292031D63ED187C804E9@PH0PR16MB4245.namprd16.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qCkhCV4pfwD3228ndOawDNVPHzEEXGQeA Content-Type: multipart/mixed; boundary="yvQ810x6FMMZojNjlnwuQVB40iMtihSUT"; protected-headers="v1" From: Stefan Esser <se@freebsd.org> To: Carmel <carmel_ny@outlook.com> Cc: freebsd-ports@freebsd.org Message-ID: <9e8824b7-afe4-85dc-5e34-6370c352873b@freebsd.org> Subject: Re: Ports INDEX References: <PH0PR16MB4245E66CD292031D63ED187C804E9@PH0PR16MB4245.namprd16.prod.outlook.com> In-Reply-To: <PH0PR16MB4245E66CD292031D63ED187C804E9@PH0PR16MB4245.namprd16.prod.outlook.com> --yvQ810x6FMMZojNjlnwuQVB40iMtihSUT Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 14.04.21 um 21:33 schrieb Carmel: > I just switched from using 'portsnap' to 'git'. I removed everything in= > the directory, then used 'git' to build it. That worked fine. I had to > manually recreate the 'distfiles' directory, but I expected to have to > do that. >=20 > Now, if I run a 'make search' in the directory, I receive an error > message that it needs the INDEX file. I ran "make index" and that > seems to work alright. My question is, is that the best way to handle > this? Couldn't 'git' download the INDEX file, too. I assume that > 'portsnap' was doing something like that. You do not want to bloat the ports repository with the INDEX file. It does not contain any useful "historical" information, only the current version is ever relevant. A mechanism that applies the relatively small deltas to the INDEX file instead of having to download the compressed file with "make fetchindex" could reduce the amount of data to transfer, though. A mechanism like CTM could provide that. Else "make fetchindex" is the fastest way to get the index, but only "make index" does also reflect dependencies affected by locally set non-default port options. --yvQ810x6FMMZojNjlnwuQVB40iMtihSUT-- --qCkhCV4pfwD3228ndOawDNVPHzEEXGQeA Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmB399kFAwAAAAAACgkQR+u171r99URP AAgAkIic//UcITgZG6etNd3iFmgfa03d1wpxQh2hXCthKxVYaiyvfA8/2wTjyHiuDPo5MD8aRJ4w pITN872/Z98OszsNxF+FmV5tUSnePsRkyE0LRK0dHwSHuH0ZuwoP5Q5a2r1soxTEOstfw6J+K//R bIjT3Xw24BGMnZUXXZCSUCulrXblowwfmKaeBudUbOPJwrMO85uvRc7YsYRee6mJ2F23YeJdoLM9 0xAlpmWwWN8/ApTQSsJpK88C5/Q4q43pKkBfcVAdet83P8e8L+iAy958lYmAqtxr+Wa7HHWiCDvA Lb8HLwt/hwW3h+NjWV11sM/hogNZYXLALO/+xqQ3FQ== =Qvsb -----END PGP SIGNATURE----- --qCkhCV4pfwD3228ndOawDNVPHzEEXGQeA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9e8824b7-afe4-85dc-5e34-6370c352873b>