Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

113 Commits

Repository files navigation

GithubUtils

Some code from our project that we use for working with git and Github.

Startup configuration sample:

usingKysect.GithubUtils.RepositoryDiscovering;usingKysect.GithubUtils.RepositorySync;usingSerilog;Log.Logger=newLoggerConfiguration().MinimumLevel.Debug().WriteTo.Console().CreateLogger();vardiscoveryService=newGitHubRepositoryDiscoveryService("github_token");varrepositoryFetchOptions=newRepositoryFetchOptions("github_username","github_token");varrepositoryFetcher=newRepositoryFetcher(repositoryFetchOptions);varorganizationFetcher=newOrganizationFetcher(discoveryService,repositoryFetcher,newUseRepoForFolderNameStrategy(@"root_dir_path"));varresult=organizationFetcher.Fetch("github_org_name");

Note:

Result in the line

varresult=organizationFetcher.Fetch("github_org_name");

stands only for cloned repositories infos, there is no action required to save something from this info to achieve repositories clones on your file system. Look for cloned repos by path specified as "root_dir_path".

About

NuGet package with wrappers for working with git and GitHub for .NET

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages