Skip to content

development workflow

João Catalão edited this page Jan 3, 2023 · 13 revisions

This is a guide to develop and make changes to Assimbly.

Development

For more detailed information about how to set up Assimbly for development, see:

Development workflow

In order to automate some of the most time-consuming tasks, we created a workflow that runs GitHub actions in the background. For all those automations to work properly, we need to follow some steps as we develop Assimbly.

See the diagram below to have an overview of the development workflow:

Workflow Diagram

Note: This workflow should be used for any changes that should be referred in the release notes.

Development steps

  1. Open a new issue:

    1. Go to the repository you need change and on the Issues tab choose "New issue".

    2. Add the Assignee and one of the following labels:

      • feature / enhancement
      • fix / bugfix / bug
      • chore / wip
    3. This will automatically create a branch for the issue as well as a matching draft PR based on the labels set.

  2. Make changes:

    1. Checkout to the newly created branch locally:
    2. Make the changes you want on that issue branch, and when you’re happy with the results, commit and push it.
    3. Every commit will be pushed to the draft PR created by the automation.
    4. When all changes are done mark the PR as OK and request a review
  3. Review:

    1. When approved the reviewer will merge the PR.

Use this same procedure to any changes you want to do.

How to add a new feature (Step-by-step example)

  1. Create an issue called “Adding a new feature” with the “feature” label

Step 1

  1. The workflow will then automatically create a branch called “feature/issue-x/adding-a-new-feature” based on the develop branch, as well as a matching PR from that branch to develop.

Step 2 Step 2.1

  1. Locally pull and checkout to that newly created branch and add your new feature there

Step 3

  1. Commit and push the changes, which will show up in the PR created by the workflow

Step 4 Step 4.1

  1. After all changes are done and pushed, you can merge it and delete that branch

Step 5

  1. After merging and deleting the branch, you can now close the issue

Step 6

Clone this wiki locally