[MacPorts] #56028: Buildbot: Save port version, variants and commit that the port being built belongs to
MacPorts
noreply at macports.org
Mon Mar 12 22:59:06 UTC 2018
#56028: Buildbot: Save port version, variants and commit that the port being built
belongs to
---------------------------+---------------------
Reporter: mojca | Owner: admin@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: buildbot/mpbb | Version:
Keywords: | Port:
---------------------------+---------------------
While trying to extract some statistics it turned out that it's somewhat
non-trivial to:
* extract the port version and variants of the current build (without
downloading and parsing tons of logs)
* figure out which commit the port actually belongs to (as well as which
commit was used for `portindex`)
* it can be that 10 commits were made at the same time and it would be
handy to have a link to git commit that was actually used (which one of
those 10 commits did it come from?); additionally it may be that the port
was modified by a later commit, so we probably need to execute something
like `git log <path/to/portdir>` and extract the commit info from there
`mpbb` would need to return that information and buildbot master should
probably store it in properties or somewhere else to make it easily
accessible.
--
Ticket URL: <https://trac.macports.org/ticket/56028>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list