[MacPorts] #66537: Add a field to port information that specifies whether that port is distributed as a binary or requires a lengthy rebuild
MacPorts
noreply at macports.org
Thu Dec 29 15:32:51 UTC 2022
#66537: Add a field to port information that specifies whether that port is
distributed as a binary or requires a lengthy rebuild
--------------------------+--------------------
Reporter: esbugz | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.8.0
Resolution: | Keywords:
Port: |
--------------------------+--------------------
Comment (by esbugz):
Replying to [comment:6 ryandesign]:
> Any locally-stored information would be out-of-date.
> A binary could have been produced on the build servers between the time
that your local database was updated and the time that you asked whether a
binary archive of a port was available.
Nothing `selfupdate` couldn't fix
> And if one were to be created for this purpose, there is no server-side
source of information from which that database could be populated.
??? The list of prebuilt binaries located on the server is the source of
information
> Most users receive a PortIndex that was created on our servers.
Exactly, and your servers have information about what prebuilt binaries
they host, so they can add that information to the index synced with the
users' machines
> Yes, presumably a similar process could be used to perform http(s)
requests for each port for each OS version and architecture, periodically,
to see if a binary archive exists on the server
Why would you need to a gazillion of individual http requests instead of:
- (full rebuild) simply making the server produce a recursive list of
all the prebuilt binaries it hosts, and then refreshing the database
- on every upload/removal of a prebuilt binary to the server you could
get this log info and similarly update the database
--
Ticket URL: <https://trac.macports.org/ticket/66537#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list