https://github.com/jtone123/githubmassupdater
Console application to do a mass update on GitHub
https://github.com/jtone123/githubmassupdater
github nuget
Last synced: 4 months ago
JSON representation
Console application to do a mass update on GitHub
- Host: GitHub
- URL: https://github.com/jtone123/githubmassupdater
- Owner: JTOne123
- License: mit
- Created: 2020-06-23T16:01:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-15T06:55:37.000Z (over 2 years ago)
- Last Synced: 2025-10-10T18:18:21.513Z (4 months ago)
- Topics: github, nuget
- Language: C#
- Size: 59.6 KB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Github repo mass update console applications
==============================

# Motivation
To apply cool features globally
# Reason
No reason, just have a few free hours on a weekend
# Steps
1. Search for git repositories on the Nuget portal
2. Check if the repo needs to be fixed
3. Apply the patch and submit the pull request
# How to run
*More info about GitHub oauthToken [gitHubOauth](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line)*
Find all GitHub repos of Nuget packages
```
GitHubMassUpdater.NugetSearch.exe -o c:\temp\nugetsearch_0_10_1000\ -f 0 -l 10 -s 1000
```
Check the trunk branch if it contains a lack of correction
```
GitHubMassUpdater.GitHubSearch.exe -i c:\temp\nugetsearch_0_10_1000\ -o c:\temp\githubsearch_0_10_1000\ -a !gitHubOauth! -b master
```
Apply fix
```
GitHubMassUpdater.GitHubUpdate.exe -i c:\temp\githubsearch_0_10_1000\ -o c:\temp\prresults.txt -a !gitHubOauth! -b master -c "[COMMIT] The proj files have been updated to enable SourceLink" -p "[PR] The proj files have been updated to enable SourceLink" -d "C:\Git\GitHub\GitHubMassUpdater\SourceLinkPRMessageBody.md"
```
Looking for PR Body text? [Link](https://github.com/JTOne123/GitHubMassUpdater/blob/master/SourceLinkPRMessageBody.md)
# What's next?
Feel free to create a PR and make suggestions that we will update next
