Avoid mirroring a distfile

Jeremy Lavergne jeremy at lavergne.gotdns.org
Thu Feb 2 16:27:34 PST 2012


> I'm not sure how `port list` handles subports. 

Hope this helps shed some high level light.

`port list` goes through everything in the PortIndex. The PortIndex is comprised of the results of parsing each Portfile, including multiple passes on a single Portfile to generate each subport as well. Subports really just save maintainer programming time and they don't really impact much else. Here's an example of all the py*-requests packages, which are all generated from a single Portfile:

py-requests                    @0.8.4          python/py-requests
py26-requests                  @0.8.4          python/py-requests
py27-requests                  @0.8.4          python/py-requests

As you can see, each port that's computed from the subports in a Portfile comes from the same $portpath (which is impacted by the per-commit mirroring you mentioned). Subports from the same Portfile also share the same Portfile and sometimes the same distfile, but otherwise they're considered different ports.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120202/7e3dcce2/attachment.bin>


More information about the macports-dev mailing list