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.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.
OpenPGP_signature
Description: OpenPGP digital signature