question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE REQ] Add developer setting to generate API listings and update snippets on build

See original GitHub issue

Everybody always forgets to run https://github.com/Azure/azure-sdk-for-net/blob/master/eng/Export-API.ps1 and https://github.com/Azure/azure-sdk-for-net/blob/master/eng/Update-Snippets.ps1 before they submit their PRs. I’ve suggested git hooks as a workaround, but it would also be nice to add a setting that does both of these steps automatically when we build. It could be defaulted to an env var like AZURE_DEV_BUILD_ARTIFACTS so interested parties could amortize the time spent updating PRs with API listings across every single build they do from here on out.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
chidozieononiwucommented, Jul 28, 2020

Please see updated contributing docs for how to use these settings https://github.com/Azure/azure-sdk-for-net/blob/master/CONTRIBUTING.md#updating-source-on-build

1reaction
kasobol-msftcommented, Apr 3, 2020

Fast enough for me. I’ll take that instead of minutes of waiting at PR builds!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data API Code Snippets
The interactive code snippets tool lets you easily test API requests and generate code samples specific to those requests.
Read more >
Snippets API Overview
Learn how applications can integrate with the Snippets API to add custom functionality to Square Online sites.
Read more >
Build RESTful APIs with ASP.NET Web API
To do this, right-click ContactManager project, select Add | New Folder, name it Services. Creating Services folder. Right-click the Services ...
Read more >
Snippets API | GitLab
Snippets API. Snippets API operates on snippets. Related APIs exist for project snippets and moving snippets between storages.
Read more >
Generate Code for Your Front-end Apps
In the Generate code snippets modal, select the language or framework to update the generated code. Copy and paste the code into your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found