Skip to content

Contributing

  • Test the latest changes to A$PECT UTILS by running a pre-release and reporting any issues you encounter.

Download the newest pre-release from GitHub Releases, then run the downloaded script from an elevated PowerShell session:

Terminal window
.\AspectUtils.ps1
  • If you encounter any problems, submit them via the Issues tab on the GitHub repository. Filling out the provided template with specific details helps maintainers and contributors address bugs and consider feature requests.
  • Pull requests are now handled directly on the MAIN branch. This was done since we can now select specific releases to launch via releases in GitHub.

  • If you’re doing code changes, then you can submit a PR to the main branch.

  • When creating pull requests, it is essential to thoroughly document all changes made. This includes, but is not limited to, documenting any additions made to the tweaks section and corresponding undo tweak, so users are able to remove the newly added tweaks if necessary, and comprehensive documentation is required for all code changes. Document your changes and briefly explain why you made your changes in your Pull Request Description. Failure to adhere to this format may result in the denial of the pull request. Additionally, any code lacking sufficient documentation may also be denied.

  • By following these guidelines, we can maintain a high standard of quality and ensure that the codebase remains organized and well-documented.

%%{init: {"flowchart": {"curve": "cardinal"}} }%%
graph TD
A[Fork Project] --> B[Clone Repository];
B --> C[Create New Branch];
C --> D[Make Changes];
D --> G[Test Changes];
G --> H{Tests Passed?};
H -->|Yes| E[Commit Changes];
H -->|No| J[Fix Issues];
J --> G;
E --> F[Push Branch];
F --> K[Create Pull Request];
K --> L[Fill out PR template];
classDef default stroke:#333,stroke-width:4px,font-size:12pt;
  • Fork the A$PECT UTILS repository here to create a copy that will be available in your repository list.

Fork Image

  • Install GitHub Desktop if it is not already installed.

  • Log in using the same GitHub account you used to fork A$PECT UTILS.

  • Choose the fork under “Your Repositories” and press “clone {repo name}”

  • Create a new branch and name it something relatable to your changes.

  • Now you can modify A$PECT UTILS to your liking using your preferred text editor.

  • To test to see if your changes work as intended, run the following commands in a PowerShell terminal as admin:

  • Change the directory where you are running the commands to the forked project.

  • cd {path to the folder with the compile.ps1}

  • Run the following command to compile and run the PowerShell app:

  • .\Compile.ps1 -Run

  • To build the desktop app:

  • dotnet build desktop/AspectUtils.Desktop.csproj -c Debug

Compile

  • After seeing that your changes work properly, feel free to commit the changes to the repository and make a PR. For help on that, follow the documentation below.
  • Before committing your changes, please discard changes made to the generated AspectUtils.ps1 file, like the following:

Push Commit Image

  • Now, commit your changes once you are happy with the result.

Commit Image

  • Push the changes to upload them to your fork on GitHub.

Push Commit Image

  • To make a PR on your repo under a new branch linking to the main branch, a button will show and say Preview and Create pull request. Click that button and fill in all the information that is provided on the template. Once all the information is filled in correctly, check your PR to make sure there is no AspectUtils.ps1 file attached to the PR. Once everything is good, make the PR and wait for a maintainer to review it.
  • Approved changes can be published as a pre-release before they reach the stable release, so they can be tested before going fully public.
  • Congratulations! You just submitted your first PR. Thank you for contributing to A$PECT UTILS.