OctoView is a general copy of kingofzeal/GithubDashboard, with the intention of creating a more robust front-end than was originally planned.
The intention of this project is to create a website that is an alternative view of certain Github information. Specifically, instead of being repository-focused, this is branch/feature-focused.
- Users log into a website
- Users will see a list of branches attached to every repository as the primary grouping. a. Under each branch will be easy repository that branch is found in. b. If the branch has a Pull Request associated with it, it will show information about the PR, including reviews and merge status
This allows for an easier and automated view of projects that span multiple repositories.
- Users can customize which repositories are examined
- Users can manually associate/group branches (eg,
feature/featureAbcdefgandfeature/featureAbcdefare the same 'project' and thus get shown together) - Most information shown links to the Github source for that information (eg, PRs, reviews, branches, repos)
The application uses Github OAuth. To prevent the OAuth client and secret from being committed to the repository, the application supports User Secrets. To set them up:
- Right-click on the
OctoView.Webproject and selectManage User Secrets. This will open asecrets.jsonfile. - Populate the
secrets.jsonfile with the following:
{
"AppSettings": {
"GithubClientId": "",
"GithubClientSecret": ""
}
}- Adjust the values of the properties as appropriate. The
secrets.jsonfile is stored in your user profile folder, not the project directory, so cannot be commited. However, any values entered intosecrets.jsonwill override the respective values of theappsettings.jsonof the project. You can also use this to adjust the database connection string, if desired.