#701 RFE: search for brew builds by git hash
Closed: Fixed 6 years ago Opened 6 years ago by dgregor.

Once https://pagure.io/koji/issue/550 is implemented, the git hash for brew builds will be stored in the metadata (when available). It would be useful to have an API that can query Brew for the list of builds that were built from a particular git hash.


Note that in #550, we will use the build.source field to record the adjusted source url that includes the git hash. We could add a text query on that field, but it may not be as clean a check as you may want.

Also, #550 will only affect builds going forward. It will not retroactively populate that field for earlier builds.

Not retroactively populating the field would be fine. This API would still be useful for builds going forward.

What might a text query on the field look like?

@dgregor query would be full git reference, e.g.: git://pkgs.fedoraproject.org/rpms/php-pecl-memcached?#73e973fe562a67d9333bf947fc792a4b7fe9a892

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.16

6 years ago

Metadata Update from @mikem:
- Issue tagged with: feature

6 years ago

Login to comment on this ticket.

Metadata