xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.49k stars 515 forks source link

Onboard to source.dot.net #14895

Open jonathanpeppers opened 2 years ago

jonathanpeppers commented 2 years ago

See: https://github.com/dotnet/core-eng/issues/15641

There is a .yaml template we could use to get the sources for Microsoft.iOS.dll, etc. up on https://source.dot.net/.

It looks like we would probably also need a variable group setup in devdiv's AzDO instance.

rolfbjarne commented 2 years ago

Does source.dot.net support generated sources, or must all source code be checked in?

Ref: https://github.com/xamarin/xamarin-macios/issues/6507

jonathanpeppers commented 2 years ago

I think you give it a .binlog and it finds all the source files and zips them up:

https://github.com/dotnet/arcade/blob/0213f8ad31ac8c63ad41760f02a929998abf69bb/eng/common/templates/job/source-index-stage1.yml#L50-L51

The https://github.com/dotnet/core-eng/issues/15641 issue has a contact if we want to ask more questions.