Skip to content

Adding public API to all manual projects - #779

Merged
Perksey merged 12 commits into
mainfrom
feature/publicapis
Jan 16, 2022
Merged

Adding public API to all manual projects#779
Perksey merged 12 commits into
mainfrom
feature/publicapis

Conversation

@Perksey

@PerkseyPerksey commented Jan 15, 2022

Copy link
Copy Markdown
Member
  • Add PublicApiAnalyzers to all manual projects
  • Populate unshipped
  • Add a NUKE command to mark all APIs as shipped
  • Make a PR in a CD pipeline
  • Add a workflow for validating PR's usage of the public api files

Closes#265

@Perksey
Perksey marked this pull request as ready for review January 16, 2022 16:52
@Perksey
Perksey requested review from a team and HurricanKai as code ownersJanuary 16, 2022 16:52
@Perksey

Copy link
Copy Markdown
MemberAuthor

This is ready for review. The PR mechanism hasn't been tested fully but I have enough evidence that it should in theory work, but I'll follow up with a PR immediately after if not.

Comment thread.github/workflows/public-api.yml
Comment thread.editorconfig
Comment threadsrc/Core/Silk.NET.BuildTools/PublicAPI/net5.0/PublicAPI.Shipped.txt Outdated
@Perksey
Perksey enabled auto-merge (squash) January 16, 2022 18:02
@HurricanKai

Copy link
Copy Markdown
Member

In a follow-up, consider moving all existing APIs to shipped.

@Perksey

Copy link
Copy Markdown
MemberAuthor

All APIs are in shipped to my knowledge

@Perksey
Perksey merged commit 298285b into mainJan 16, 2022
@Perksey
Perksey deleted the feature/publicapis branch January 16, 2022 18:17
Perksey added a commit that referenced this pull request Mar 25, 2022
* Adding public API to all manual projects
* Add `nuke shipapi`, `nuke ensureapideclared`, and `nuke declareapi`
* Attempt to make GitHub talk to you
* Add some logging, fix a potential regex issue
* Actually pass the GitHub Token
* The code was correct the first time
* Fix basic logic
* Try give the token more permissions?
* PR target
* Let's hope this PR mechanism works? Can't test until merged now!
* Install workload as well
* Make BuildTools exempt from public API
@HurricanKaiHurricanKai mentioned this pull request Feb 12, 2023
Perksey added a commit that referenced this pull request Nov 20, 2023
* Adding public API to all manual projects
* Add `nuke shipapi`, `nuke ensureapideclared`, and `nuke declareapi`
* Attempt to make GitHub talk to you
* Add some logging, fix a potential regex issue
* Actually pass the GitHub Token
* The code was correct the first time
* Fix basic logic
* Try give the token more permissions?
* PR target
* Let's hope this PR mechanism works? Can't test until merged now!
* Install workload as well
* Make BuildTools exempt from public API
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API Tracking

2 participants

@Perksey@HurricanKai