Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/credfeto/credfeto-dotnet-repo-tools
DotNet / C# repo bulk update tools
https://github.com/credfeto/credfeto-dotnet-repo-tools
code-cleanup dotnet dotnet-core package-management template-manager
Last synced: about 1 month ago
JSON representation
DotNet / C# repo bulk update tools
- Host: GitHub
- URL: https://github.com/credfeto/credfeto-dotnet-repo-tools
- Owner: credfeto
- License: mit
- Created: 2023-12-16T11:00:19.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T13:19:47.000Z (2 months ago)
- Last Synced: 2024-10-29T16:01:45.344Z (2 months ago)
- Topics: code-cleanup, dotnet, dotnet-core, package-management, template-manager
- Language: C#
- Homepage:
- Size: 2.01 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# credfeto-dotnet-repo-tools
Dotnet/C# repository tools
## Running (Package Update)
Updates all the packages specified in the ``packages.json`` file in the repositories in ``repos.txt``.
* ``release.json`` defines the configuration for generating releases when multiple packages have been updated
* the template repo specified by ``--template`` is excluded from ``repos.txt`` if it is present
```bash
dotnet updaterepo \
update-packages \
--repositories ~/work/personal/auto-update-config/personal/repos.lst \
--work ~/temp \
--tracking ~/temp/tracking.json \
--cache ~/temp/cache.json \
--packages ~/work/personal/auto-update-config/packages.json \
--template [email protected]:credfeto/cs-template.git \
--release ~/work/personal/auto-update-config/release.json
```## Running (Template Update)
Updates common files in a repository to match the files defined template repository specified by ``--template``.
```bash
dotnet updaterepo \
update-template \
--repositories ~/work/personal/auto-update-config/personal/repos.lst \
--work ~/temp \
--tracking ~/temp/tracking.json \
--packages ~/work/personal/auto-update-config/packages.json \
--template [email protected]:credfeto/cs-template.git \
--release ~/work/personal/auto-update-config/release.json
```## Running (Code Cleanup)
TODO - this is not yet implemented
```bash
dotnet updaterepo \
code-cleanup \
--repositories ~/work/personal/auto-update-config/personal/repos.lst \
--work ~/temp \
--tracking ~/temp/tracking.json
```## File formats
### repos.lst
One line per repo to process e.g:
```text
[email protected]:credfeto/repo1.git
[email protected]:credfeto/repo2.git
[email protected]:credfeto/repo3.git
```### tracking.json
This is generated by the tool
### cache.json
This is generated by the tool
### packages.json
```json
TODO
```### release.json
```json
TODO
```## Build Status
| Branch | Status |
|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| main | [![Build: Pre-Release](https://github.com/credfeto/credfeto-dotnet-repo-tools/actions/workflows/build-and-publish-pre-release.yml/badge.svg)](https://github.com/credfeto/credfeto-dotnet-repo-tools/actions/workflows/build-and-publish-pre-release.yml) |
| release | [![Build: Release](https://github.com/credfeto/credfeto-dotnet-repo-tools/actions/workflows/build-and-publish-release.yml/badge.svg)](https://github.com/credfeto/credfeto-dotnet-repo-tools/actions/workflows/build-and-publish-release.yml) |## Changelog
View [changelog](CHANGELOG.md)
## Contributors