refactor: reorganize project structure and workflows#11
Closed
DecSmith42 wants to merge 1 commit into
Closed
Conversation
- Moved `Invex.Tools.ArtifactClean` to `src/` folder. - Introduced new GitHub workflows: `Cleanup Prereleases` and `Dependabot Enable auto-merge`. - Updated `Validate.yml` and `Build.yml` workflows for improved configuration and compatibility. - Replaced outdated `DecSm.Atom` references with `Invex.Atom` package references. - Simplified `Directory.Build.props` inclusion paths. - Refactored `Invex.Tools.ArtifactClean` implementation for clearer, modularized code.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR restructures the repository (moving Invex.Tools.ArtifactClean under src/) and modernizes the Atom-driven build/workflow setup, including new automation for prerelease cleanup and Dependabot auto-merge, while migrating from DecSm.Atom to Invex.* Atom modules.
Changes:
- Added/refactored the
Invex.Tools.ArtifactClean.NET tool (new project undersrc/) and updated solution structure accordingly. - Reworked Atom build definition from class-based targets to an
IBuildinterface and updated package references toInvex.*. - Updated and added GitHub workflows (Build/Validate, Dependabot auto-merge, prerelease cleanup) plus refreshed Dependabot scheduling/config.
Reviewed changes
Copilot reviewed 12 out of 16 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Invex.Tools.ArtifactClean/Program.cs | New ConsoleAppFramework entry point wiring Commands. |
| src/Invex.Tools.ArtifactClean/Invex.Tools.ArtifactClean.csproj | New tool project definition with conditional TFMs/RIDs and AOT settings. |
| src/Invex.Tools.ArtifactClean/Commands.cs | Implements recursive bin/obj cleanup and dotnet clean/restore execution. |
| src/Invex.Tools.ArtifactClean/_usings.cs | Adds global usings for the tool project. |
| Invex.Tools.slnx | Updates solution structure to reference project under src/. |
| Directory.Build.props | Adjusts packed icon/readme inclusion paths for the reorganized structure. |
| .github/workflows/Validate.yml | Updates Validate workflow and adds Copilot review wait job. |
| .github/workflows/Dependabot Enable auto-merge.yml | New workflow to approve/auto-merge Dependabot PRs via Atom target. |
| .github/workflows/Cleanup Prereleases.yml | New manual workflow to unlist prerelease packages below a version. |
| .github/workflows/Build.yml | Updates Build workflow, artifact handling, and adds docs build/publish steps. |
| .github/dependabot.yml | Updates Dependabot schedule/grouping/registry configuration. |
| _atom/ITargets.cs | Removes old target interface (replaced by IBuild). |
| _atom/Build.cs | Removes old class-based build definition (replaced by IBuild). |
| _atom/IBuild.cs | Adds new interface-based build/workflow definition using Invex Atom modules. |
| _atom/_usings.cs | Removes DecSm.Atom.Module.Dotnet using after package migration. |
| _atom/_atom.csproj | Swaps Atom package references to Invex.* modules and adjusts packing items. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Invex.Tools.ArtifactCleantosrc/folder.Cleanup PrereleasesandDependabot Enable auto-merge.Validate.ymlandBuild.ymlworkflows for improved configuration and compatibility.DecSm.Atomreferences withInvex.Atompackage references.Directory.Build.propsinclusion paths.Invex.Tools.ArtifactCleanimplementation for clearer, modularized code.