how to retrieve azure repo contributors to a web app page - azure-devops

I'm building a documentation site using jekyll in a azure web app. It is hosted here right now: documentation site I'm using the azure repo as a hosting. I would like to know how to retrieve the contributors to each page in the web app from the azure repo. It is the same as microsoft docs documentation is, but retrieving the information from azure repo
An example page:
Thank you in advance.

Related

What is the difference between a GitHub App and the REST API for GitHub?

What is the difference between a GitHub App and the REST API for GitHub? Why would you need a GitHub App if you can just use the REST API, without setting any environment up?
The REST API should just be a collection of endpoints that accept a POST along with access tokens. But the GitHub App requires cloning an entire repo written in Ruby, that has nothing to do with my app.
I am not looking for users to integrate with my repo, I want them to be able to connect their own repo to the application.
But the GitHub App requires cloning an entire repo written in Ruby, that has nothing to do with my app.
I don't believe this is true.
GitHub Apps make the process of integrating 3rd party tools into your GitHub repositories smoother.
GitHub Apps are installed by organizations and granted access to specific repositories via GitHub. For example, CodeClimate is a tool which performs checks on pull requests. Rather than granting them OAuth access to my repositories, I can install the CodeClimate GitHub App on my organization and configure which repositories they have access to. I can see all the apps installed and what their permissions are.
Note that "installing" a GitHub App does not install any code. "Installing" gives the app permissions for the service to access your organization and repos. A GitHub App is a wrapper around an existing service.
If you want users to connect their repos to your application, consider a GitHub App.
This is covered in About apps.
An OAuth App acts as a GitHub user, whereas a GitHub App uses its own identity when installed on an organization or on repositories within an organization.
GitHub Apps are the officially recommended way to integrate with GitHub because they offer much more granular permissions to access data, but GitHub supports both OAuth Apps and GitHub Apps.
GitHub Apps are first-class actors within GitHub. A GitHub App acts on its own behalf, taking actions via the API directly using its own identity, which means you don't need to maintain a bot or service account as a separate user.
GitHub Apps can be installed directly on organizations and user accounts and granted access to specific repositories. They come with built-in webhooks and narrow, specific permissions. When you set up your GitHub App, you can select the repositories you want it to access. For example, you can set up an app called MyGitHub that writes issues in the octocat repository and only the octocat repository. To install a GitHub App, you must be an organization owner or have admin permissions in a repository.
GitHub Apps are applications that need to be hosted somewhere. For step-by-step instructions that cover servers and hosting, see "Building Your First GitHub App."
Differences between GitHub Apps and OAuth Apps has a complete breakdown.

Show front-end UI from Azure Repos (Github Pages equivalent)

I was recently told by my IT department that I can't use Github as a code repository, so I'm using Azure Repos in Azure Devops.
I am primarily a designer, and my only usage for Github was to render HTML, CSS, and Javascript as a working prototype in Github Pages that can be shared to anyone with an internet connection.
I am not at all familiar with Azure DevOps or Azure Repos, is there any way to show my front end code as a generated page using Azure? Would I have to use something like Jekyll or Hugo?
Is there any way to show my front end code as a generated page using
Azure? Would I have to use something like Jekyll or Hugo?
Displaying the front-end UI directly in Azure Repos is still a not-supported scenario for now.
Azure Repos in Azure Devops Service supports Git and TFVC version control system to manage the code. But it doesn't mean it supports same functions like Github, at least Azure Repos itself doesn't have the feature to render HTML, CSS, and Javascript and display the front-end UI.
Also, I checked the Azure Devops extensions here and didn't find one extension that meet your needs. So I think what you want is now not supported for Azure Repos. You may use the Azure Repos to host the HTML, CSS, and Javascript files like what Github repos do, clone it locally and use third-party tool to display the UI when necessary.
Also, you may post a feature request with details about what you want with Azure Devops Repos here. If it gets enough votes, the team would consider it seriously! Hope all above helps :)

Gitlab to azure boards integration

Is it possible to integrate Azure Boards with gitlab. I would like link my tasks/stories in azure boards to commits in gitlab (hosted version). Documentation talks about Azure REpo and GitHub integration.
Is it possible to integrate Azure Boards with gitlab
For this issue, I am afraid it is currently unachievable in azure devops. Only extension that integrate gitlab with azure pipelines is currently provided.
When we click on the add link button in the Development of the work item, there is no gitlab option in the Link type drop-down list in the popup box.
You could add your request for this feature on our UserVoice site, which is our main forum for product suggestions. After suggest raised, you can comment and vote it there. Our PM and Product Group are reviewing these suggestion regularly and considering take it as plan.

Azure Site Extension from private feed

I want to install Azure Site Extension from Azure DevOps feed, and not nuget.org
I cannot find any instruction, except this link (5 years ago):
https://azure.microsoft.com/en-gb/blog/writing-a-site-extension-for-azure-websites/
Didn't work for me. Just stack on this screen:
Any suggestions how to achieve this?
Update 1
I browsed to kudu, and saw this:
Which gave me an idea to remove all previously installed site extensions. After doing this, I was able to see packages uploaded to myGet. So, now the main question. How to do this for Azure DevOps feed?
Update 2
I tried to set SCM_SITEEXTENSIONS_FEED_URL to my private feed in azure devops, but I get following error on kudu:
Failed to retrieve site extensions from Gallery - An error has occurred. - Kudu.Contracts.SiteExtensions.InvalidEndpointException - Invalid remote feed url: https://****.pkgs.visualstudio.com/_packaging/****/nuget/v3/index.json
It looks like kudu cannot connect to feed. I tried to edit nuget.config on target website, and add packageSourceCredentials. didn't help. However, manual install with nuget cli from kudu powershell was successful.
So, now the main question. How to do this for Azure DevOps feed?
If you're trying to publish your site extension to Devops feed and get the feed URL, you can follow this document to do that. Create a Devops feed in Azure Devops Artifacts and then=>Connect to Feed=>Nuget.exe, you can find the url of your Devops feed here:
The format is always https://pkgs.dev.azure.com/OrgName/ProjectName/_packaging/FeedName/nuget/v3/index.json. Maybe this is what you want.

Azure Github Integration with custom domain

I want to use github to deploy my webapp on Azure. I setup github on Azure as my deployment source. But since I have a custom domain instead of using the free azurewebsits.net, I think I am having issues seeing the website from github. The webhook on github shows azurewebsites.net.... same on azure. I can edit the webhook on github but can't on Azure. What is the best way to integrate github with azure with a custom domain?
You don't need to edit the webhook on github, let it stick with the default sitename.azurewebsites.net.
When you setup a custom domain name, your default domain name (sitename.azurewebsites.net) still keeps working. Github will use that to deploy to your site