jfrog / build-info-go

build-info-go is a Go library and a CLI, which allows generating build-info for a source code project.
https://www.buildinfo.org
Apache License 2.0
61 stars 34 forks source link

Unify populateRequestedByField logic #60

Open talarian1 opened 2 years ago

talarian1 commented 2 years ago

Is your feature request related to a problem? Please describe. Following https://github.com/jfrog/build-info-go/pull/59, it seems like the populateRequestedByField logic is duplicated, and can be found in the golang, NuGet, and python build-info creation.

Describe the solution you'd like to see I suggest adding a utility that will be used by all the above modules to prevent code duplication.

Describe alternatives you've considered

Additional context