OpenAEC Consultant training · week 3, day 11

What GitHub is

All OpenAEC software is on GitHub. Today you learn how that works, from commit and branch to pull request, issue and release. You look around and learn to read; building yourself comes on day 16.

TimeOne day: about 4 hours of reading and 2 hours of assignments
You learnHow version control works, how to read a repository, issue and pull request, and how to write a good issue.
You doYou create a GitHub account with two-factor authentication, explore two OpenAEC repositories, take apart an issue and a pull request and write an issue on paper.
AssessmentAfter each part a short check with the result straight away. At the end of the day the exam: multiple-choice questions and a few open questions, marked by an assessor. And the assignment of the day.
Level

Part 1 Why version control, and what GitHub is

About 50 minutes

1. Where you are today

The first two weeks of the training were about your client's world. In week 1 you learned how construction works: the parties, the phases and the documents. In week 2 you learned how those parties work together and how computers, files, the internet and the cloud work. Today week 3 begins. This week you get to know the tools you will work with as a consultant: GitHub, AI, how a construction company is run, ERPNext and the OpenAEC apps.

Important to know: this week is about getting acquainted. You learn how something works, you look around and you learn the words. You do not set anything up yet and you do not build anything yet. You do that in week 4. On day 16 you make a small app of your own with Claude, and you put it in your own repository on GitHub. There you do all the steps from this lesson yourself: a branch, a pull request, an issue. Today you first learn what those words mean and how to read them in a real project.

That is also how it goes in construction. A new work planner first learns to read drawings before he makes one himself. He learns what a revision cloud is, what the title block says and how a detail refers to a floor plan. Only when he can read a drawing does he start working on one himself. Today you learn to read GitHub.

On the left what you do today on day 11: account, reading repositories, explaining README and licence, taking apart issues and pull requests, an issue on paper; on the right what you do yourself on day 16: your own repository, an app in it, branch, pull request and issue
Figure 1. Two steps. On the left what you do today: getting acquainted and learning to read. On the right what you do yourself on day 16, in your own private repository. The dotted line on the right means: do not start on this yet.

2. The problem: tekening_def_def2.dwg

Anyone who has ever worked on a construction project knows this folder. It contains a file tekening.dwg ("drawing.dwg"). Next to it is tekening_def.dwg ("drawing_final.dwg"). Then a change comes and someone makes tekening_def_def2.dwg. A colleague carries on at home and emails back tekening_def2_JAN.dwg. And by the end of the week there is also tekening_DEFINITIEF_echt.dwg ("drawing_FINAL_really.dwg"). Nobody knows for sure any more which file is the right one.

That is not only awkward, it is also expensive. Suppose the contractor orders window frames based on the wrong version. Then the dimensions are wrong and everything has to be ordered again. Or the structural engineer calculates with a floor level that was changed long ago. In construction "which version is the right one?" is a question with real consequences.

Three steps: a wrong version is opened, the window frames are ordered at 1400 mm, but the opening is 1200 mm and everything has to be done again
Figure 2. What a wrong version costs. The work planner opens an old file and orders window frames of 1400 mm. On site the opening turns out to be 1200 mm by now. The frames do not fit and have to be ordered again, with weeks of delay.

The problem has three sides. First, you do not know which version is the latest. Second, you do not know what changed between two versions. Third, you do not know who changed it and why. With drawings, which you learned to read on day 7, construction partly solves this with revisions: the title block of a drawing says revision A, B, C, with a date and a short description. That is a good idea, but it is manual work. You have to remember to do it yourself, and old revisions often get lost.

Software makers had exactly the same problem, only worse. A program consists of hundreds or thousands of files, and sometimes dozens of people work on it at the same time. That is why they came up with version control: a system that automatically records every change, with name, date and reason. There is then only one file tekening.dwg, and behind it is the whole history. You can always go back to any earlier version.

On the left a folder full of copies such as tekening_def_def2.dwg, on the right one file with four versions that each have a name, date and reason
Figure 3. On the left the familiar folder full of copies: nobody knows which one is right. On the right version control: one file, with a history behind it. Each version has a short description, a name and a date.

3. Git and GitHub: two different things

Two words you will hear a lot today look alike but mean something different: Git and GitHub.

Git is the program that does the version control. It runs on your own computer. Git looks at a folder of files and keeps track of what changes in that folder. Every time you say "this is a good moment, record this", Git takes a kind of photo of the whole folder. Git is free and open source. It also works without internet.

GitHub is a website, an online platform. On GitHub you put a copy of your folder with the whole history. There others can look along, work along, report problems and suggest changes. So GitHub adds collaboration to Git: a place where the whole team can reach the same files and the same history. On day 9 you learned what the cloud is; GitHub is a cloud service for projects with version control.

On the left Git on your own computer with recorded versions, on the right GitHub as a shared place online with the team; push sends work to GitHub, pull fetches it
Figure 4. Git and GitHub side by side. On the left Git: a program on your own computer that keeps track of the versions of a folder, also without internet. On the right GitHub: a website where the whole team shares the same files and the same history. With push you send work to GitHub, with pull you fetch it.

A comparison from construction helps. Git is like the draughtsperson's revision system: at his own workplace he keeps careful track of which version is which. GitHub is like the shared project environment where all parties of the building team find the drawings, place comments and approve changes. You need one to work, the other to work together.

There are also other platforms that do the same as GitHub. But GitHub is by far the largest. Almost all the open-source software in the world is on it. That is why OpenAEC uses it too.

Tip Remember it like this: Git is the tool, GitHub is the workshop where you use the tool together with others.

4. Why OpenAEC has everything on GitHub

OpenAEC makes open-source software for construction. On day 1 you saw what that means: the source code, the "recipe" of the software, is readable for everyone. Anyone may use, view, improve and share the software, according to the rules of the licence. Most OpenAEC tools have the LGPL-3.0 licence; a few have another open licence.

On the left the source code as an open recipe, on the right four things you may do with it: use, view, improve and share
Figure 5. Open source in one picture. The source code is the recipe of the software, and that recipe is open. As a result anyone may use, view, improve and share the software, within the rules of the licence.

Open source only works if the code is public somewhere, with a way to contribute. GitHub is the place for that. The OpenAEC tools are in one organisation on GitHub: OpenAEC-Foundation. An organisation is a shared account under which several people manage repositories (project folders) together. On the organisation page you see the most popular tools, such as Open PDF Studio and Open Planner Studio, and the number of repositories.

For OpenAEC, GitHub has three big advantages. First, everything is transparent: a client can see for himself how actively a tool is being developed, how many reports have been solved and when the latest version came out. Second, anyone can contribute: an engineer in the Netherlands and a developer in Turkey work on the same code. Third, nothing is lost: even when an employee leaves, the whole history of his work is still there.

The organisation page of OpenAEC Foundation on GitHub with the most popular repositories such as open-pdf-studio, open-planner-studio and open-pointcloud-studio
Figure 6. The organisation page of OpenAEC Foundation on GitHub. At the top are the tabs, with the number of projects under Repositories. Below that the most popular repositories, each with the label Public, the programming language, the number of stars and the number of forks. On the right the most used programming languages. Source: github.com

As a consultant you will often deal with GitHub, even if you do not write code yourself. You look up what changed in a new version. You report a problem a client runs into. You follow whether a requested improvement has been made yet. And from day 16 you may make small changes or helpers yourself, together with Claude. Then you need to know how it works, and above all: how to behave properly in a shared environment.

An example from practice. A work planner at a contractor uses Open Planner Studio for his construction schedule. He calls you: "I read that you can now export a schedule to a spreadsheet. Is that right, and is it in my version?" Without GitHub you have to ask the developers. With GitHub you look for yourself: the releases say per version what is new, and in the issues you see whether there are still open reports about the export. Within five minutes you have an honest answer.

A work planner asks whether an export is in his version; the consultant looks at the releases, the client's version and the issues, and answers within five minutes
Figure 7. Looking up a client question on GitHub. At the top the work planner's question. Below it the four steps you take as a consultant: check in the releases when the feature was added, compare that with the client's version, look at the open issues and then answer honestly. Without GitHub you have to wait for the developers.

5. Creating an account

To do anything on GitHub you need your own account. Reading is possible without an account, because public repositories are visible to everyone. But making a report, replying, or later creating your own repository is only possible with an account. You create the account today, so that you can start straight away on day 16.

You create an account on github.com with the Sign up button. You choose a username, an email address and a password. Think about your username for a moment. It is visible with everything you do and it appears in the addresses of your repositories. Choose something professional and recognisable, for example your first name and surname joined together. A funny nickname from years ago is less handy when you later write an issue on behalf of an implementation partner.

The free account is enough for this training. You can create unlimited public and private repositories with it.

The GitHub sign-in page with fields for username and password, buttons to continue with Google or Apple, the link Create an account and the link Sign in with a passkey
Figure 8. The GitHub sign-in page. If you do not have an account yet, choose Create an account at the bottom. Below that you also see Sign in with a passkey: signing in with a passkey, which you read about further on in the in-depth section. Source: github.com

6. Two-factor authentication: required, for you too

On day 9 you learned what two-factor authentication is. When signing in you need two things: something you know (your password) and something you have (your phone). It is often shortened to 2FA, from two-factor authentication. After your password GitHub asks for a six-digit code. That code is made by an app on your phone, a so-called authenticator app. The code changes every thirty seconds.

Why is that extra important with GitHub? Because a GitHub account gives access to code. Suppose someone steals your password and puts a malicious change into a tool. That change could then reach thousands of users through a new version. That is why GitHub increasingly makes two-factor authentication mandatory, and within the training it is a hard requirement.

You turn it on via your profile picture in the top right, then Settings, then Password and authentication. There you choose two-factor authentication and scan a QR code with your authenticator app. After that you get recovery codes. You need them if you lose your phone. Keep them in a safe place, for example in a password vault or printed out in a drawer. Not as a photo on the same phone.

Signing in with a password plus a six-digit code from an app on your phone; you keep recovery codes in a vault or drawer, not as a photo on the same phone
Figure 9. Two-factor authentication. At the top the two steps: something you know (your password) and something you have (the code from the app on your phone). Only with both do you get in. At the bottom where you do and do not keep the recovery codes.
Note Without recovery codes and without your phone you can no longer get into your account. GitHub can almost never help you then. So really keep the codes safe before you continue.

7. Your profile

Your profile is your business card on GitHub. At least fill in your real name, a clear profile picture and a short description, for example: "Consultant in training at OpenAEC, background in construction". When you later write an issue for an OpenAEC tool, the developer sees who you are. A recognisable profile makes him take your report more seriously than a report from an anonymous account without a photo.

Your email address does not need to be public. In the settings under Emails you can turn on that GitHub uses a shielded address. Then your real email address does not appear in the public history of the code. That is a good idea for your privacy. On day 9 you saw why you are careful with personal data; that applies to your own data too.

On the left a report from an anonymous account without a name, on the right the same report from a completed profile with name and description, which is taken more seriously
Figure 10. The same report twice. On the left from an account without name, photo or description: the developer does not know who it is. On the right from a completed profile (the name is made up): immediately clear who is reporting. Your email address does not need to be public for this.

In depth

Git is decentralised

With older version control systems the history was only on one central server. If that server was gone, the history was gone. With Git everyone who copies a repository has the whole history on their own computer. That is called decentralised. So you can also record versions, view old versions and compare them on the train without internet. Only when you are back online do you exchange your work with GitHub. It also means every copy is a full backup. If GitHub disappeared tomorrow, the history would still be on the computers of all the developers.

Git was made in 2005 by the creator of the Linux operating system, precisely because thousands of volunteers all over the world were working on the same code at the same time. So it was built from the start for collaboration over long distances.

On the left a central server that breaks, so the history is gone; on the right Git, where every computer and GitHub have the whole history
Figure 11. Central versus decentralised. On the left an older system: if the central server fails, the history is gone. On the right Git: every computer has the whole history, just like GitHub. So every copy is also a backup.

In depth

Passkeys and keys

Besides an authenticator app you can also use a passkey on GitHub. That is a digital key stored on your phone or computer that you unlock with your fingerprint, face or PIN. A passkey cannot be "phished" with a fake sign-in page, because it only works on the real website. That makes it even safer than a code. Preferably use a passkey and an authenticator app, so that you have a spare.

Check: part 1

See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.

1. What is the difference between Git and GitHub?
2. Which three things do you often not know without version control?
3. Where do you keep the recovery codes of your GitHub account?
4. Why does a consultant fill in his GitHub profile with name, photo and description?

Part 2 The repository

About 50 minutes

1. What a repository is

A repository, often shortened to repo, is a project folder with version control. It holds the files of one project, plus the complete history of all changes. On GitHub everything around it also belongs to a repository: the reports (issues), the proposals for changes (pull requests), the published versions (releases) and the automatic checks (Actions).

A folder open-pdf-studio with files and history, and around it issues, pull requests, releases and Actions
Figure 12. What belongs to a repository. The folder itself holds the files and the whole history. On GitHub the issues, pull requests, releases and Actions are added. Together it is a complete project file.

You can compare a repository with a project file in construction. The file holds the drawings, the calculations, the correspondence and the decisions. Anyone who later wants to know why the floor is 280 mm thick looks it up in the file. A repository works the same way: every change can be traced, with the reason.

At OpenAEC every tool has its own repository. Open PDF Studio has one, Open Planner Studio has one, and the website with this lesson has one too. The address of a repository is always made up of the owner and the name: github.com/OpenAEC-Foundation/open-pdf-studio. The repository you create yourself on day 16 gets an address like github.com/yourname/my-app.

The open-pdf-studio repository on GitHub with tabs, the branches button, the latest commit, a list of folders and on the right the About block with licence and releases
Figure 13. The Open PDF Studio repository. At the top the tabs: Code, Issues, Pull requests, Actions and more. Below them the main button (the main branch), the number of branches and tags and the latest commit with the total number of commits. In the list you see for each folder the message of the latest change and when it was. On the right the About block: short description, website, topics, the LGPL-3.0 licence and the releases. Source: github.com

Take a good look at figure 13. On this one page you see a lot about the health of a project. The number of commits shows how much work has gone into it. With the folders you see that most were changed yesterday or today: the project is alive. On the right you see how many people gave the project a star and how many releases there are. As a consultant you can judge in a minute how active a tool is. That helps when a client asks: "Is this actually still maintained?"

2. Public and private

Every repository is public or private. With a public repository anyone in the world can read and download the code and report issues. Only people the owner gives permission can change it. The OpenAEC tools you see on the website are in public repositories. That is part of open source.

A private repository is only visible to the owner and the people he invites. You put things there that should not be public (yet): half-finished work, practice work, or a project for one client. A few OpenAEC projects are private too, for example tools that are still at an early stage. On day 16 you create a private repository for your own app.

Two panels: public, open to everyone, and private, by invitation only, with below them the warning never to put passwords or client data in a repository
Figure 14. Public versus private. The OpenAEC tools are public: anyone can read along and make reports. The practice repository you create on day 16 will be private. The rule at the bottom applies to both.

A private repository can become public later. The other way round is possible too, but be careful: whatever has once been public may already have been copied by others. You never get it back completely.

Note Passwords, access keys or client data never belong in a repository, not even in a private one. The history remembers everything. Even if someone deletes the file later, it is still in an older version. So you must always treat a leaked key as lost and replace it.

3. README: the front of a project

Almost every repository has a file README.md. GitHub shows that file automatically under the list of folders. It is the first text a visitor reads. A good README tells you in a few paragraphs what the project is, who it is for, how to install it and how to use it. It often also contains screenshots, a list of the main features and a link to the website.

The README of Open PDF Studio on GitHub with the title, a short description, coloured badges for release, licence and MCP tools, links to try and download, a screenshot of a floor plan and an explanation
Figure 15. The README of Open PDF Studio, as GitHub shows it under the list of folders. At the top the tabs README, Contributing and LGPL-3.0 license. Then the title and one sentence about what the program is, coloured badges with the latest version and the licence, links to try or download it, a screenshot and an explanation in plain text. Source: github.com

The extension .md stands for Markdown. That is a simple way of writing formatting with ordinary characters. A line that starts with # becomes a heading. A word between two pairs of asterisks, **like this**, becomes bold. A line that starts with a dash becomes a bullet point. Markdown also works in issues and pull requests, so it is useful to know the basics. You do not need to write it today, but you will recognise it later.

On the left plain Markdown text with hashes, asterisks and dashes, on the right how GitHub shows that text: a heading, a bold word and a list
Figure 16. Markdown. On the left what someone types in README.md, with hashes, asterisks and dashes. On the right how GitHub shows it: a large heading, a bold word, a subheading and a list.

As a consultant the README is often your fastest way to understand a tool. Always read it first. Then ask yourself three questions. What does this tool do, in one sentence? Which party in construction is it meant for? And what does a user need to get started: an installation, an account, a particular operating system? If you can answer those three questions, you can explain the tool to a client.

4. Licence

A licence sets out what others may do with the code. Without a licence nobody may actually reuse the code, even if it is public. That is why every open-source repository has a LICENSE file. On the Open PDF Studio repository you see "LGPL-3.0 license" on the right.

The LICENSE.md file of open-pdf-studio on GitHub with at the top a summary of the GNU Lesser General Public License v3.0 in three columns: Permissions, Limitations and Conditions
Figure 17. The licence file of Open PDF Studio. GitHub recognises the licence and adds a summary at the top in three columns: what is allowed (Permissions, such as commercial use and modification), what the maker does not promise (Limitations, such as warranty) and which conditions you must follow (Conditions, such as keeping the same licence). Below that the full legal text. Source: github.com

Roughly speaking there are two families of open-source licences. The permissive licences (such as MIT) say: do what you like with it, as long as you keep the maker's name. The "copyleft" licences (such as the GPL family) say: you may use and modify it, but if you distribute a modified version, it must stay open too. LGPL sits in between: improvements to the tool itself must stay open, but you may combine the tool with other software.

Table with MIT, LGPL-3.0 and GPL-3.0: you may use and modify all three; combining with closed software and whether improvements must stay open differ
Figure 18. The three licences you come across at OpenAEC, side by side. Using and modifying is allowed with all three. The difference is in the bottom two rows: may you build the tool into closed software, and must improvements stay open? LGPL, the licence of most OpenAEC tools, sits between the permissive MIT and the strict GPL.

At OpenAEC most tools have LGPL-3.0. Open Paint Studio has MIT, and Open CAD Studio, a community project, has GPL-3.0. When a client asks whether he may modify an OpenAEC tool for his own use, or build it into his own program, you now know where to look: in the LICENSE file and in the About block. If you are unsure about a legal question, refer it to the maintainers; you do not give legal advice, but you do know where it is written.

5. .gitignore: what does not belong in it

Not everything in a project folder belongs in the repository. Think of temporary files, files that are made automatically when the app is built, or a file with personal settings and keys. That is what the .gitignore file is for. It lists, one per line, which files or folders Git should ignore. A line node_modules/, for example, says: never include this folder of downloaded components. A line .env says: never include the file with secret settings.

The dot at the start of the name means it is a hidden file. In File Explorer you only see such files if you show hidden files. On GitHub you simply see them in the list. Look at what is in it for an OpenAEC repository: you learn a lot from it about which files a project makes and which stay secret.

A project folder with six items; through the .gitignore filter src, README.md and app.js go into the repository and node_modules, .env and build stay local only
Figure 19. How .gitignore works. On the left everything in the project folder on the computer. The .gitignore file in the middle works like a sieve: whatever is named in it does not go along. Top right what does go into the repository, bottom right what stays only on your own computer.

6. Reading a repository in five minutes

Now that you know the parts, you can read a repository quickly. You do not need to understand any code for this. There are six places you look, always in the same order. Figure 20 shows them on a simplified page.

Schematic repository page with six numbered places: name, tabs, latest commit, README, licence and releases, with on the right what you read at each place
Figure 20. Reading a repository. On the left a simplified repository page with six numbered places, on the right what you learn at each place. With these six steps you know in five minutes what a project is, who may see it, what you may do with it and whether it is still alive.

You start at the top with the name and the label Public or Private: whose project is it, and who may see it? Then you look at the tabs. Issues and Pull requests often show a number: that many reports and proposals are open. A few dozen open issues is normal for a popular tool. It says that people use the tool and think along.

Then you look at the latest commit, the top line above the list of folders. It shows when something last changed. If that was today or last week, the project is alive. If it was two years ago, there is a good chance nobody works on it any more. Below that you read the README, with the three questions from section 3. On the right in the About block you look for the licence. And on the far right you find the releases, with the latest version and the date.

Three signals with a living and a dormant project side by side: latest commit, issues and releases
Figure 21. Is the project alive? Three signals you see on the repository page. On the left what a living project looks like, on the right a project nobody works on any more.

After these six steps you can say in a few sentences what the project is. For example: "Open PDF Studio is a public project of OpenAEC-Foundation with the LGPL-3.0 licence. It is a PDF program for construction drawings. It is updated every day, there are dozens of open issues and the latest release is from this week." That is exactly the kind of answer a client wants to hear.

7. The GitHub documentation

GitHub has an extensive manual at docs.github.com. It explains step by step how to do every action: create a repository, create a branch, open a pull request. The manual is in English and well organised. On the left is a menu of topics, on the right the steps with screenshots.

The page Creating a new repository in the GitHub documentation with tips and the first step: click the plus sign in the top right and choose New repository
Figure 22. The official GitHub manual on creating a repository. On the left the menu with all topics about repositories, such as cloning and deleting. On the right the steps, starting with the plus sign in the top right. On day 16 you follow these steps yourself. If you are unsure about a step, this documentation is the most reliable source. Source: docs.github.com

You do not need to make anything today. But do browse through this manual, so that you know where to look later. On day 16 you create a private repository yourself, and then this page is your guide.

Tip Feel free to let Claude translate or explain a page; tomorrow, on day 12, you learn how to do that well. But do the steps in GitHub yourself later. Then you also know where everything is when you have to show it to a client.

In depth

The standard files of a mature project

Besides README, LICENSE and .gitignore, large open-source projects often have more standard files. CONTRIBUTING.md explains how you can contribute: which style, which steps, which agreements. On the Open PDF Studio repository you see the link Contributing on the right. CHANGELOG.md or the release notes describe per version what has changed. SECURITY.md tells you how to report a security problem without making it public straight away. And the .github folder often holds templates for issues and the settings of the automatic checks. With a new project always read the README and the CONTRIBUTING first, before you report or propose anything.

Part of the file list of open-pdf-studio with among others .gitignore, CLAUDE.md, CONTRIBUTING.md, LICENSE.md, PRIVACY.md and README.md, each with the latest commit message and the date
Figure 23. The standard files at the bottom of the file list of Open PDF Studio. You see among others .gitignore, CONTRIBUTING.md, LICENSE.md, README.md and a Dutch README. There is also a CLAUDE.md: standing instructions for Claude, which you learn about tomorrow. Source: github.com

Check: part 2

See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.

1. Who can read a public repository?
2. A colleague accidentally puts a password in a repository and later deletes the file. Is the problem solved?
3. What is the .gitignore file for?
4. Which signal shows fastest that a project is still alive?

Part 3 Commit, branch, merge and pull request

About 70 minutes

1. The commit: a photo of the project

The most important concept in Git is the commit. A commit is a recorded version of the whole project at one moment. You can see it as a photo. A developer works for a while, changes a few files, and when he is satisfied he says: record this. Git then stores exactly what has changed since the previous photo.

Every commit has a commit message: a short sentence that says what was done and why. Git also automatically stores who made the commit, when, and a unique code of forty characters. Usually you only see the first seven characters of that code, for example aa917fc. With that code you can find exactly that version again.

The comparison with construction is obvious. A commit is a revision of the drawing. The title block says: revision C, 12 November, "ground floor level changed to +0.15", drawn by Anna. The difference: with Git it happens for the whole project at once, automatically, and the old revisions are never lost.

Five commits on a timeline, each with a short code, a message, an author and a time; the last one is the current version
Figure 24. Commits as a timeline. Each dot is a photo of the whole project, with the short code above it and the message, the maker and the time below. The orange dot on the right is the current state. Note the third commit: Claude can make commits too, and that is then recorded neatly in the history.

2. A good commit message

You write a commit message for your colleague a year from now. Or for yourself, when you have long forgotten what you did. "changes" or "update" says nothing. "Corrected the unit of the line load from kN to kN/m" says exactly what happened. A few rules of thumb help you recognise good and bad messages.

A good message starts with a verb and describes what the commit does, not everything someone tried. The first line is short, under seventy characters. If there is more to explain, a few sentences about the why follow after a blank line. And small commits that do one thing are better than one big commit with ten different changes. Small commits are easier to understand, and if something goes wrong, you can undo exactly that one step.

On the left vague commit messages such as update and fix, on the right clear messages with a label such as fix, feat, docs and chore
Figure 25. Bad and good commit messages. On the left messages nobody gets anything from later. On the right messages that say what happened, with a label at the front: fix for a repair, feat for a new feature, docs for documentation and chore for maintenance.

At OpenAEC you often see commit messages in English that start with a kind of label, such as fix: for a repair, feat: for a new feature, docs: for documentation and chore: for maintenance. That is a widely used convention that makes the overview easier. When you read through the history of a tool, these labels let you quickly see what were repairs and what were new features.

The commit history of open-pdf-studio with a list of commits from one day, each with message, author, time, number of passed checks and the short code
Figure 26. The commit history of Open PDF Studio on one day. Each line is a commit, with the newest at the top. You see the message ("Let the extension pop-up be resized by its edges"), who made it, how long ago, how many automatic checks passed (30 of 30) and the short code on the right. With the <> button you view the whole project as it was at that moment. Source: github.com

You find this list by clicking the number of commits on the repository page, just above the list of folders on the right. Read through one day of it. You then see how a tool grows: a small repair here, a new button there, and an improved translation in between. That gives you a feel for the pace at which the OpenAEC tools change.

3. The branch: a workspace of your own

Suppose a developer wants to build a new feature, but does not yet know whether it will work. He does not want to break the working version. So he makes a branch. A branch is an offshoot of the history: a workspace of your own in which you make commits, while the main line carries on undisturbed.

The main line is almost always called main. Main holds the approved version, the version the releases come from. Nobody works directly on main unless they have to. A developer makes a branch with a clear name, such as fix/pdf-export-laatste-pagina ("last page") or wijziging/knop-kleur ("button colour"), and works in it.

A final floor plan is copied for an option with the stairs on the other side; if the option is good it is incorporated, otherwise thrown away, just like a branch next to main
Figure 27. A branch is a design option study. At the top: the final floor plan (main) is copied for an option with the stairs on the other side (the branch). If the option is good, it is incorporated; if not, it is thrown away. At the bottom the same as lines: main carries on, the branch splits off and joins again later.

In construction you know this as a design option study. The architect wants to know whether the staircase could also go on the other side. He makes a copy of the floor plan and draws the option there. Meanwhile the final drawing simply stays as it is, and the rest of the team keeps working on it. If the option is good, it is incorporated into the final set. If it is not good, you throw away the copy and nothing is lost.

The overview of branches in open-pdf-studio with main as the default branch and a list of active branches with date, check status, behind and ahead, and linked pull request
Figure 28. The branches of Open PDF Studio. At the top main, the default branch. Below it the active branches with names like fix/open-into-running-app. For each branch you see when it was updated, how many checks passed, how many commits it is behind main and how many it is ahead (its own commits), and whether there is a pull request for it. Source: github.com

The columns Behind and Ahead in figure 28 are useful to understand. "Ahead 1" means: this branch has one commit of its own that is not in main yet. "Behind 32" means: main has meanwhile got 32 new commits that this branch does not have yet. The longer a branch sits, the further behind it gets and the harder merging becomes. Good teams therefore keep branches short: create, work, merge, clean up.

4. Merge: joining together

When the work in a branch is finished and good, it is joined with main. That is called a merge. Git then looks at all the changes in the branch and applies them to main. After that the work is in the main version, and the branch can go.

A branch splits off from main, gets three commits of its own and is then joined back into main with a merge
Figure 29. Branch and merge. The black line is main. At "split off" the branch begins, with three commits of its own. Meanwhile main carries on too. At the orange dot they are merged. After that main continues with the work from the branch in it.

Usually merging happens by itself. Git is smart enough to see that Anna changed line 10 and Bas line 50. Those changes do not get in each other's way, so Git takes both.

5. Conflict: when two people change the same thing

Sometimes merging does not happen by itself. If Anna and Bas have both changed the same line, Git does not know which version is right. That is called a conflict (merge conflict). Git then stops and puts both versions in the file, between special markers: <<<<<<<, ======= and >>>>>>>. A person has to choose what it becomes, remove the markers and record the result with a new commit.

Anna changes the span to 6.5 metres and Bas to 7.2 metres; when merging Git shows both versions between markers and a person chooses the right one
Figure 30. A conflict. Main has a span of 6.0 m. Anna makes it 6.5 m in her branch, Bas 7.2 m in his. Git cannot guess who is right and shows both versions. After discussion someone chooses 7.2 m and records it.

This is exactly what happens in construction when two parties work on the same dimension at the same time. On day 6 you saw that collaboration on a project often goes wrong right there. The installer moves an opening, the structural engineer moves the beam in the same place. Someone has to decide. So a conflict is not a mistake by Git: it is Git honestly saying "you need to talk this through here". The best way to prevent conflicts is the same as in construction: short lines of communication, small changes and good agreement on who works on what.

6. The pull request: a change proposal

In a team you do not simply merge a branch into main yourself. You first make a proposal. On GitHub that is called a pull request, often shortened to PR. Literally: a request to "pull" the changes into main.

A pull request is a page on GitHub with three things. First, a description: what changes and why. Second, the list of commits from the branch. Third, an overview of all changed files, line by line: in green what is added, in red what is removed. Colleagues can put a comment on any line. At the same time automatic checks run. Only when everything is fine does someone click Merge.

The Files changed tab of a small pull request in open-pdf-studio: one file, one line removed in red and two lines added in green
Figure 31. A small pull request of Open PDF Studio, on the Files changed tab. One file has changed. The red line with a minus is removed, the two green lines with a plus are added. Top right the total: +2 and −1. At the top the purple status Merged and the direction: from the branch fix/clipboard-e2e-tolerance to main. Source: github.com

In construction this is the change proposal for approval. The draughtsperson adjusts the reinforcement and sends the drawing to the structural engineer with the question: is this right? The structural engineer puts his comments in red in the margin. The draughtsperson processes them and sends it again. Only after approval is the drawing released for construction. A pull request is exactly that, but digital, with everything kept.

Two rows of four steps: in construction adjusting the drawing, sending it for approval, comments and release; on GitHub branch, pull request, review and merge
Figure 32. The change proposal in construction and on GitHub. At the top the route of a drawing, from adjusting to releasing. Below it the same route on GitHub: branch, pull request, review and merge. The difference: on GitHub every comment and every version is kept.
A merged pull request in open-pdf-studio with the status Merged, 13 commits, 30 checks and 225 changed files, the description and the reviewer on the right
Figure 33. A pull request of Open PDF Studio. The purple Merged button says it has been merged: 13 commits from the branch integratie/ronde31 ("integration/round31") to main. The tabs show the conversation, the commits, the 30 automatic checks (Checks) and the 225 changed files. Top right the total: over 4,600 lines added, 820 removed. On the right is who did the review. Source: github.com

7. Review: checking before it goes in

The review is the moment when someone else checks the changes. The reviewer reads the description, looks at the changed lines, possibly tries it out himself and then gives one of three verdicts: approved (Approve), changes needed (Request changes) or just a comment (Comment). With "changes needed" the maker makes new commits in the same branch. They are added to the pull request automatically. So no new pull request is needed.

Three cards: Approve means approved, Request changes means changes needed in the same branch, Comment is just a comment
Figure 34. The three verdicts of a reviewer. Green: approved. Orange: something has to change, and the maker does that with new commits in the same branch. White: just a comment or question.

Review is not distrust. It is the four-eyes principle, just like a structural calculation that is always checked by a second person. Four eyes see more than two, and the reviewer also learns from someone else's work. In large OpenAEC repositories a review is required before anything may go into main; in the list of pull requests you then see Review required.

The list of merged pull requests of open-pdf-studio with titles, numbers, makers, the note Review required and the number of passed checks
Figure 35. Merged pull requests of Open PDF Studio. Each line has a title, a number (such as #1344), the maker, when it was merged, the note Review required and the number of passed checks. A green tick means all checks passed, a red cross that one or more failed. On the right is how many issues are linked to it. Source: github.com

On day 16 you work only in your own repository. Then you do the review on yourself. That seems unnecessary, but it is useful: by looking at your own changes line by line on GitHub, you see things you missed before. A forgotten test line, a wrong file name, a password that does not belong there.

8. Taking apart a pull request

At first sight a pull request can look complicated, with tabs, numbers and code. But you can read it the way you read a change proposal in construction: from top to bottom. Figure 36 shows the seven parts.

Schematic pull request with seven numbered parts: title, status and branches, tabs, description with Fixes, checks, changed lines and review
Figure 36. The parts of a pull request, simplified. At the top the title and the number, below that the status and the direction from branch to main. The description says which issue is solved. The checks show whether the automatic checks passed, and under Files changed you see per line what is removed (red) and what is added (green). On the right who approved it and which issue is linked to it.

Start with the title and the number: what is it about? Then look at the status. Open means the proposal is still being discussed. Merged means it has been merged and is therefore in main. Closed without a merge means the proposal was rejected or replaced. Next to the status is the direction: from which branch to main. Then read the description: what changes and why? Often it also contains a reference to an issue, such as Fixes #1290.

The Conversation tab of a small merged pull request in open-pdf-studio with title and number, the purple status Merged, the direction from branch to main, a description with Summary and Testing, and on the right Reviewers and Development
Figure 37. A real, small pull request of Open PDF Studio, on the Conversation tab. At the top the title with number #1309 and the status Merged: one commit from the branch fix/clipboard-e2e-tolerance to main. Below that the description with a summary (Summary) and how it was tested (Testing), and the timeline: review requested, merged after 18 passed checks, branch cleaned up. On the right the reviewer (name blurred) and Development for linked issues. Source: github.com

Then the checks: have all automatic checks passed? A green tick is good news. Under Files changed you see what really changed. You do not need to understand the code, but you do see how big the change is: four lines or four thousand. Finally you look at the review on the right: who approved it? After these seven steps you can say in your own words what the pull request did. That is exactly what you will practise in today's assignment.

9. Local and online

So far you have only looked at the GitHub website. But a developer really works on an app on his own computer: that is where he runs the app and tests it. So a project exists in two places: on your own computer (local) and on GitHub (online, also called remote). Three words handle the traffic between the two.

Clone is copying for the first time: the whole repository with all its history goes from GitHub to a folder on the computer. Pull is fetching: if others have changed something on GitHub in the meantime, you bring in those new commits with pull. Push is sending: after recording, your own commits are at first only on your own computer, and with push you send them to GitHub. Only then can the team see them, and only then are they safely stored outside the laptop.

Your computer with a local repository and GitHub with the same repository online; clone and pull fetch, push sends
Figure 38. Local and online. On the left the computer with the folder of an app and Git. On the right the same repository on GitHub, private. Clone and pull fetch from GitHub, push sends commits there. A commit without a push is only on your own computer. On day 16 you do this yourself.

In construction you can compare this with drawing at your own workplace and uploading to the shared project environment. As long as the draughtsperson does not upload, the rest of the building team works with the old drawing. A common beginner's mistake is therefore: committing, but not pushing. You think the work is saved, but it is only on the laptop.

There are different tools for these actions. There is a free program with buttons, GitHub Desktop. There are typed commands in the terminal, such as git push. And Claude Code, which you get to know tomorrow, can also do it for you if you ask in plain language. On day 16 you choose one and do it yourself. Today it is enough that you know the three words and understand why a commit is only visible after a push.

10. The whole route in one picture

Now that you know all the parts, you can follow the whole route. It starts with an issue: someone reports a problem or a wish, and it gets a number. A developer makes a branch. He makes a few commits and pushes them. Then he opens a pull request and writes "Fixes #12" in the description. The review and the automatic checks follow. After approval comes the merge. And because the pull request says "Fixes #12", GitHub closes issue 12 automatically.

Six steps: issue, branch, commits, pull request, review and merge, with a loop back from review to commits when there are comments
Figure 39. The route of an improvement, from report to merge. The dotted line shows what happens with a comment in the review: another commit in the same branch, and then another look. Today you trace this route in a real OpenAEC tool; on day 16 you walk it yourself, in your own repository.

In depth

Three ways of merging

When merging a pull request GitHub offers three buttons. Create a merge commit takes over all commits of the branch and adds an extra "merge" commit; the history then shows exactly that there was a branch. Squash and merge squeezes all commits of the branch into one commit on main; handy if the branch had lots of small intermediate steps, such as "typo" and "another try". Rebase and merge puts the commits of the branch one by one after main, as if there had never been a branch. Which one a team uses is an agreement. When you read the history of an OpenAEC tool, you can sometimes see which way was used.

In depth

Integration rounds at OpenAEC

In figures 33 and 35 you see titles like "Integration round 31". With a tool where a lot happens at the same time, improvements are sometimes first brought together in a collecting branch, tested, and then put into main in one go with a pull request. That is why such a pull request has many commits and hundreds of changed files. For small, separate improvements a small pull request of its own is the normal way. The smaller a pull request, the faster and better the review.

Expert

Who wrote this line, and why?

GitHub can show for every line in a file in which commit it was last changed. That is called Blame (literally "blaming", but it is meant as "who knows more about this?"). Open the file README.md in an OpenAEC repository. Click Blame at the top right of the file. To the left of each group of lines you now see the commit, the maker and the date. Pick a sentence you find interesting and click the commit message next to it. You then get to that commit, and often to the pull request it was part of. Write down in three sentences: when did this sentence go in, by whom, and why? Then click History at the top of the file and count how often the README changed in the last month. Discuss with your mentor what that says about how active the project is.

The Blame view of README.md in open-pdf-studio: on the left for each group of lines how long ago and in which commit they changed, on the right the lines themselves with their number
Figure 40. The Blame view of the README of Open PDF Studio. On the left, for each group of lines, how long ago they changed and with which commit message; the orange bar is darker the newer the change. On the right the lines themselves, in Markdown. At the top the History button. Names of contributors are blurred here. Source: github.com

Check: part 3

See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.

1. Which comparison from construction fits a branch best?
2. Anna and Bas each change the same line differently in their own branch. What happens when merging?
3. A reviewer chooses ‘Request changes’. What does the maker do then?
4. You have made a commit, but your colleague does not see it on GitHub. What did you forget?

Part 4 Issues, releases and the OpenAEC repositories

About 70 minutes

1. What an issue is

An issue is a report in a repository. It can be a fault (a bug), a wish for a new feature, a question or an idea. Every issue gets a number, a title and a description, and anyone can reply under it. An issue is open as long as it has not been solved, and is closed when it is done.

In construction an issue is like an item on the snagging list or a report in a quality system: "bathroom 2.04, cracked tile". The item has a number, someone picks it up, and when it is fixed it is ticked off. That way nothing is left lying around and you can still see later what happened.

The list of open issues of open-pdf-studio with titles, labels such as bug and feedback, numbers and makers
Figure 41. The issue list of Open PDF Studio. At the top the number of open (62) and closed (794) issues. Each line has a title, sometimes a coloured label such as bug or feedback, a number, the maker and the time. With the Labels and Assignees buttons you can filter. Top right the green New issue button. Source: github.com

Look at the ratio in figure 41: 62 open and 794 closed. That says a lot. A lot is reported, and most of it is also solved. Also look at the makers. Some of the issues were made by openaec-feedback. Those are reports users made with the Feedback button on the website or in an app. That button automatically puts the report as an issue into the right repository. So that is also a route to the developers. As a consultant you can point clients to that button; you yourself preferably write reports directly on GitHub later, so that you can reply if the developer asks something.

2. Writing a good issue

A developer reading an issue is not sitting next to the person reporting it. He does not see the screen, does not know which file was open and does not know which version was running. So he can do nothing with a report like "PDF export doesn't work". He has to ask back, the reporter has to answer, and days are lost. A good issue immediately gives everything needed to reproduce the problem. What you can reproduce, you can fix.

On the left a vague report that leads to asking back and waiting, on the right a report with steps, expectation, outcome and version with which the developer can start straight away
Figure 42. A vague report versus a report you can reproduce. On the left "PDF export doesn't work" leads to asking back and waiting. On the right are the steps, the expectation, the outcome and the version: the developer can get to work straight away.

A good issue answers five questions. What did you do? Describe the steps, numbered, so precisely that someone else can repeat them. What did you expect? What should have happened? What happened? What really happened, with numbers if possible: "11 pages instead of 12", not "something was missing". What does it look like? A screenshot or a short video often says more than a paragraph. Which version? The version number of the app and the operating system, for example "2026.49.1 on Windows 11". You find the version number in the app, usually under Help or About.

A good issue also has a title that sums up the problem. Not "Problem" or "Help!", but "Export to PDF skips the last page". And a good issue is about one thing. If there are three problems, they become three issues. Then each problem can be picked up and closed separately.

An example of a good issue with title, labels, steps, expectation, outcome, screenshot and version, with an explanation per part
Figure 43. The anatomy of a good issue. On the left the issue itself, on the right why each part is in it. Note the last line: a test file helps enormously, but first remove all client data from it.

An example from practice makes the difference clear. A draughtsperson at an engineering firm emails: "Measuring doesn't work properly." That is not an issue, that is a feeling. As a consultant you ask further. Which drawing? Which scale was set? What did you measure, and what came out? After five minutes on the phone you have: "I open a drawing at scale 1:100, set the scale with the dimension line, and measure a wall of 5.40 m. The app gives 54.0 m. Version 2026.48.2 on Windows 11." That is an issue a developer can get to work on straight away.

3. Taking apart an existing issue

Now look at a real issue in figure 44. The reporter filled in the repository's template: what goes wrong, the steps to reproduce it, a place for an example or screenshot, and the environment with operating system and version. The steps are clear and numbered, and the version is there.

A bug report in open-pdf-studio about pasting an image with the headings What's wrong, Steps to reproduce, Sample screenshots and Environment, and on the right the assignee and the label bug
Figure 44. A real bug report for Open PDF Studio: pasting an image with Ctrl+V does not work. The issue follows the repository's template: what is wrong, four steps to reproduce it, a place for screenshots (empty here) and the environment: Windows 11, version 2026.49.1. On the right the label bug, the assigned developer and under Development the linked pull request later on. Source: github.com

When you take apart an issue, you put it next to the five questions. Are the steps in it? Yes, four numbered steps. Is the expectation in it? Yes: the image should have been pasted. Is the outcome in it? Yes: nothing happens. Is there a screenshot? No, under Sample / screenshots it says "No response". Is the version in it? Yes, 2026.49.1 on Windows 11. The reporter also writes that he does not know in which version it still worked. That is honest, and it is useful information.

Five rows with the questions of a good issue: steps, expectation, outcome and version are present, the screenshot is missing
Figure 45. The issue from the previous figure next to the five questions. Four questions are answered, only the screenshot is missing. That is how you take apart every issue: question by question, with a tick or a cross.

Then you look at what the maintainers did with it. On the right is the label bug: the maintainer agrees it is a fault. Someone has been assigned: it is being picked up. Under Development the pull request that solves it will appear. And at the bottom of the issue is the conversation, with any questions from the developer and the reporter's answers. Your conclusion: a usable issue, which would have been even better with a screenshot.

This taking apart is a skill you will often need as a consultant. You read issues to know whether your client's problem is already known. You read them to see how quickly the maintainers respond. And you learn from them how to write a good issue yourself.

4. Labels and assigning

With labels you give issues a coloured tag. Commonly used labels are bug (something does not work as intended), enhancement (an improvement or new feature), documentation (the explanation is wrong or missing), question (a question) and good first issue (a job suitable for a new contributor). With labels you can filter: show only the bugs, or only what is about the export.

The Labels page of open-pdf-studio with coloured labels such as accessibility, bug, documentation, enhancement, extern, feedback and good first issue, each with a short description and the number of open issues
Figure 46. The labels of Open PDF Studio. Each label has a colour and a short description, such as bug ("Something isn't working") and good first issue ("Good for newcomers"). On the right is how many open issues have that label. There is also a Dutch label extern ("external"), for reports from outside the organisation. Source: github.com

With assignees you assign an issue to a person. Then it is clear who picks it up. In a public OpenAEC repository you usually cannot set labels or assign people yourself as an outsider; the maintainers do that. In your own repository you will later do everything yourself.

5. Linking an issue to a pull request

An issue and a pull request belong together: the issue says what is wrong, the pull request fixes it. You link them by putting a keyword with the issue number in the description of the pull request: Fixes #12, Closes #12 or Resolves #12. GitHub then makes a link between the two. On the issue you see under Development which pull request is working on it. And as soon as the pull request is merged into main, GitHub closes the issue automatically.

An issue 12, a pull request with Fixes #12 in the description and after the merge an automatically closed issue; without a keyword only a reference
Figure 47. Linking an issue. At the top: the pull request says Fixes #12; after the merge GitHub closes issue 12 by itself. At the bottom: if there is only a reference to #12, the issue stays open. That is handy when a problem has only been half solved.

If it only says #12 without a keyword, GitHub does make a reference, but does not close the issue by itself. That is handy when a pull request only half solves a problem. So when you come across a closed issue, you can often click through to the pull request that solved it, and from there to the release it was in. On day 16 you make this link yourself.

6. Releases and tags: how OpenAEC apps come out

A user does not install separate commits. He wants a version: an installation file with a number. That is what tags and releases are for.

A tag is a fixed label on one particular commit, for example v2026.49.1. A branch moves along with every new commit, a tag always stays in the same place. That way you can still find exactly which code was in version 2026.49.1 a year from now. The Open PDF Studio repository has more than a hundred tags.

A row of commits with two fixed labels, the tags v2026.48.30 and v2026.49.1, and the label main that moves along with every new commit
Figure 48. Tag and branch. The tags are fixed to one commit and stay there. The label main moves to the right with every new commit. That is why a tag always lets you go back to exactly that version.

A release is a tag with a page: a title, a description of what is new (the release notes) and the installation files to download, for Windows, macOS and Linux. You find a repository's releases on the right in the Releases block (see figure 13). The download buttons on the OpenAEC website take their files directly from those releases.

The release page of open-pdf-studio with at the top version v2026.49.1 with the label Latest, the release notes per topic and at the bottom the list of downloadable files under Assets
Figure 49. The latest release of Open PDF Studio. At the top the name with the green label Latest, the tag and the commit. Below that the release notes, divided into topics such as the OpenAEC account, navigation, annotations and repairs (Fixes). At the bottom under Assets the files to download. On the left the list of earlier versions. Source: github.com

The version number of the OpenAEC apps says something about the date. In 2026.49.1, 2026 is the year, 49 the week number and the last number a sequence number within that week. With a tool where a lot is happening, several versions sometimes come out in one week. If you see version 2026.38.0 at a client, you immediately know it is over two months old and that there is probably a newer version.

A timeline with commits, green and red checks from Actions, two tags and the release with installers that belongs to the last tag
Figure 50. From commit to installation file. Under each commit the result of the automatic checks; with the red one something has to be repaired first. Two commits have a tag, a fixed version label. The last tag has a release with installers and release notes. Bottom left how to read the version number.

Release notes are worth their weight in gold to a consultant. A client asks: "What has changed since the version we have?" You open the releases, scroll back to his version and read everything that has been added since. That way you can tell him which bugs have been fixed and which new features he gets if he updates. These release notes are also on the product pages of the OpenAEC website, under the heading with the latest changes.

7. Actions: automatic checks

GitHub Actions is a system that automatically carries out tasks when something happens in a repository. For example: build the app and run all tests with every new commit. Or: make the installation files and prepare a release with every new tag. The tasks are described in files in the .github/workflows folder.

An event such as a push or pull request starts a workflow file that builds and tests the app on Windows, macOS and Linux; the outcome is a green tick or red cross
Figure 51. How Actions works. On the left the event that starts something. In the middle the workflow file that says when it runs, on which systems and which steps. On the right the outcome per operating system: here the check passed on Windows and macOS, and failed on Linux.

You see the outcome everywhere as green ticks and red crosses. In figure 26 you saw "30 / 30": all thirty checks passed. In figure 28 main had "27 / 29": two checks failed. A red cross does not always mean the app is broken, but it does mean someone needs to look. With a pull request the checks are a second reviewer who never gets tired. He checks things a person easily misses, such as whether the app still builds on all three operating systems.

The Actions tab of open-pdf-studio with on the left the list of workflows and on the right the latest runs with green ticks and red crosses
Figure 52. The Actions tab of Open PDF Studio. On the left all workflows, from Build and Release to all kinds of checks. On the right the latest runs: each line is one time a workflow ran, with a green tick or a red cross. Some workflows do something other than testing, such as automatically assigning a new issue. Source: github.com

In construction you can compare it with the automatic check in a model checking program: every time the model changes, the system checks whether there are clashes and whether the required properties are filled in. The person then judges what needs to be done.

8. How the OpenAEC repositories fit together

The OpenAEC repositories are under the organisation OpenAEC-Foundation. There are a few kinds. Most are tools: one repository per app, such as open-pdf-studio and open-planner-studio. There are also shared components and agreements the tools use together. One example is the Blueprint, which holds the shared standards, such as the OpenAEC account you sign in with in every tool; in figure 33 you see the pull request refers to it. There are also repositories for standards and formats, such as IFCX, and for the website itself. This lesson is in a repository too.

The organisation OpenAEC-Foundation with four kinds of repositories: tools, shared components such as the Blueprint, standards such as IFCX and the website; below them community projects with their own maintainer
Figure 53. The OpenAEC repositories as a map. Under the organisation hang four kinds: tools (one per app), shared components such as the Blueprint and the OpenAEC account, standards such as IFCX, and the website. At the bottom the community projects with their own maintainer.

There are also community projects: tools maintained by their own maintainer, such as Open CAD Studio. These are sometimes under that maintainer's account instead of under the organisation. Each maintainer is responsible for his own project. You also see that in the topics on the organisation page, such as maintainer-jochem.

The list of repositories of OpenAEC Foundation on GitHub, sorted by last updated, with per repository the description, programming language, licence, forks, stars, issues, pull requests and an activity line
Figure 54. All repositories of the organisation, with the most recently updated at the top. For each repository you see the description, the programming language, the licence and the number of forks, stars, open issues and open pull requests. The green line on the right shows recent activity. The website repository is among them too. Source: github.com

Want to know where to go for a particular tool? Every product page on the OpenAEC website has a link to the GitHub repository. And the About block of the repository links back to the product page. On day 15 you get to know all the OpenAEC apps and the SuperCloud better; today it is enough that you know the way to their repositories.

9. Contributing and etiquette

You can contribute to open source in many ways, and writing code is only one of them. A good issue is also a contribution, perhaps the most valuable one you can make as a consultant. You see how clients work with the tools; the developer does not. Other ways: reporting a mistake in the documentation, improving a translation, answering someone else's question, or testing whether a reported problem also occurs for you.

Anyone who wants to contribute code to a repository where he has no write access first makes a fork: his own copy of the repository under his own account. In it he makes a branch and commits, and then he opens a pull request from his fork to the original repository. The maintainers assess it. On day 1 this word briefly came up; now you understand how it works.

Five steps: the original repository, your own copy as a fork, a branch with commits, a pull request back to the original and the assessment by the maintainers
Figure 55. Contributing through a fork. You make your own copy of the repository, work in it in a branch and send a pull request back to the original. The maintainers decide whether it goes in.

A few simple rules apply to etiquette. They seem obvious, but they make the difference between a report that is picked up quickly and a report that is left lying.

Search first. Before you create an issue, check whether the same problem has already been reported. Use the search bar above the issue list, and also look at the closed issues. If it is already there, reply to that issue with your own addition ("same here, in version 2026.49.1 on macOS"), instead of creating a new issue. A thumbs-up on the first message shows that more people have the problem.

Be friendly and businesslike. The people behind the tools are often volunteers or small teams. They owe you nothing. A report with capital letters and exclamation marks helps nobody. Thank people who help you.

Five cards with rules: search first, be friendly, write in English, put no data in it and follow your own issue
Figure 56. The five etiquette rules in a row. You read the first two above, the other three below. Together they make the difference between a report that is picked up quickly and a report that is left lying.

Write in English in the public OpenAEC repositories, because the contributors come from different countries. You may use an AI assistant to translate your text; do read it through.

Protect data. A public issue can be read by the whole world. Never put client names, addresses, project numbers or confidential drawings in it. Make a test file without client data, or describe the problem without the file. Never report a security problem in a public issue, but through the route given in SECURITY.md or via info@open-aec.com.

Follow your own issue. If the developer asks a question, answer quickly. And when it is solved, test it and let them know it works.

Note Within this training there is a fixed working agreement. You never create practice issues, test pull requests or "experiments" in an OpenAEC repository. Only real contributions go there. Today you write an issue only on paper or in a text file; you do not submit it yet. On day 16 you practise everything in your own private repository. You only submit a real issue for an OpenAEC tool once your mentor has read your text.
On the left the OpenAEC repository where only real contributions belong, on the right your own private repository where you may practise everything from day 16
Figure 57. Where you do and do not practise. Only real, checked contributions go into an OpenAEC repository (left). In your own private repository (right) you may try out everything from day 16, including making mistakes.

In depth

Issue or discussion?

Besides Issues a repository sometimes has a Discussions tab. That is a forum. An issue is meant for something that needs to be done: fixing a fault or building a feature. A discussion is meant for an open conversation: "How do you use the schedule for phasing?" or "Would it be an idea to…?". Not sure whether something is a fault or whether you are using it wrongly? Then start with a question in Discussions or on the OpenAEC forum. If it is a clear fault, create an issue.

In depth

Issue templates

The issue in figure 44 followed a fixed template with headings. The maintainer makes such a template in the .github/ISSUE_TEMPLATE folder. When you click New issue, you first choose the kind of report, for example "Bug report" or "Feature request", and you get a form with the questions the maintainer considers important. Fill in every field. A field you skip is a question that will be asked later anyway. In the assignment, check which templates the repositories you look at have.

Expert

Reading a workflow file

Open the .github/workflows folder in the repository of an OpenAEC tool. Choose one file and read it. You do not need to understand everything; look for three things. First: when does this workflow start? That is at the top under on:, for example with every push, with every pull request or with a new tag. Second: on which operating systems does it run? Look for runs-on. Third: which steps does it take? They are under steps:, each with a name. Then go to the Actions tab of the same repository and find a run of this workflow. Was it green or red? Write half a page in your own words for a client: "What does this tool check automatically with every change, and what does the user gain from that?"

The .github/workflows folder of open-pdf-studio with a list of workflow files such as auto-assign-issues.yml, ci.yml and nightly.yml, each with the latest commit message and the date
Figure 58. The .github/workflows folder of Open PDF Studio. Each file with the extension .yml is one workflow, such as ci.yml for the checks with every change and nightly.yml for a daily test version. On the left you also see the ISSUE_TEMPLATE folder with the issue templates. Source: github.com

Check: part 4

See whether you have grasped the core of this part. The check does not count towards your exam; you can take it as often as you like.

1. Which title fits a good issue best?
2. What does the version number 2026.49.1 of an OpenAEC app tell you?
3. What is the difference between a tag and a branch?
4. You found a bug in an OpenAEC tool. What do you do according to the working agreement of the training?

Assignment Looking around at OpenAEC and writing an issue

Do it yourself

Today you get acquainted with GitHub. You create a secure account, explore two OpenAEC repositories, take apart an issue and a pull request and write an issue yourself, but on paper or in a text file. You do not submit anything and you do not create a repository of your own yet: you do that on day 16. Allow about two hours. Make a document dag11-github.txt (or a Word document) in which you put all your answers.

  1. Account and security. Create a GitHub account with a professional username. Turn on two-factor authentication with an authenticator app (and preferably a passkey too). Keep the recovery codes in a safe place away from your phone. Fill in your profile: name, photo and a short description. Under Emails, turn on keeping your email address private.
  2. The organisation. Go to github.com/OpenAEC-Foundation. Note how many repositories there are and which three are the most popular. Choose two tools you find interesting, for example Open PDF Studio and Open Planner Studio.
  3. Reading two repositories. For each of the two tools, go through the six steps from part 2 (figure 20). For each tool write down: the name and whether it is public, the number of open issues and open pull requests, when the latest commit was, in three sentences what the README says (what, for whom, how do you start), the licence and what it means, and the latest release with its date.
  4. Release notes. For one of the two tools, open the last three releases. Write down in plain language for a client what is new or fixed in those three versions. Explain what the version number says about the date.
  5. Maintained or not? For both tools, answer the client question in five sentences: "Is this still actively maintained?" Support your answer with what you saw: commits, issues, pull requests and releases.
  6. Taking apart an issue. In one of the two repositories, choose a closed issue with the label bug. Put it next to the five questions from part 4: which are in it, which are missing? Look at who picked it up, whether a pull request is linked to it and how long it took from report to closure. Write down what you would advise the reporter.
  7. Taking apart a pull request. Choose a merged pull request, preferably a small one. Go through the seven parts from figure 36: title and number, status and branches, the description, linked issue, checks, the number of changed files and lines, and who did the review. Sum up in three sentences what this pull request did and why.
  8. Using a tool. Install an OpenAEC tool that suits your interest and use it for at least half an hour for a real small task, for example adding comments to a drawing or making a small schedule. Use only your own or made-up files, no client files. Note what you ran into.
  9. Writing an issue, on paper. Choose something you ran into that really could be better: a fault, something unclear or a feature a construction company is missing. First search the open and closed issues to see whether it has already been reported, and note what you found. Then write a complete issue in your document: a good title, the steps, what you expected, what happened, which screenshot you would add and the version with operating system. Write it first in Dutch and then in English. Do not put any client data in it. Do not submit it.
  10. Hand it in. Send your document to your mentor. Discuss your issue together. If it is good enough and has not been reported yet, you can really submit it on day 16.

Terms Glossary

Version control
A system that records every change in a project, with who, when and why, so that you can always go back to an earlier version.
Git
The free program on your own computer that does the version control. Also works without internet.
GitHub
An online platform where you keep Git repositories and work on them with others, with issues, pull requests and releases.
Two-factor authentication (2FA)
Signing in with something you know (password) and something you have (phone or key). Required in the training.
Recovery codes
Spare codes to get into your account if you lose your phone. Keep them safe, not on the same phone.
Organisation
A shared GitHub account under which several people manage repositories together, such as OpenAEC-Foundation.
Repository (repo)
A project folder with version control: the files plus the complete history, and on GitHub also the issues, pull requests and releases.
Public / private
Public: anyone can read along. Private: only the owner and the people he invites.
README
The file (README.md) that explains what a project is and how to use it. GitHub shows it on the front page of the repository.
Markdown
A simple way of writing formatting with ordinary characters, such as # for a heading. Used in READMEs, issues and pull requests.
Licence
The file that says what others may do with the code. Most OpenAEC tools use LGPL-3.0.
.gitignore
A list of files and folders Git should ignore, such as temporary files and files with secret settings.
Commit
A recorded version of the whole project at one moment, with a message, a maker, a time and a unique code.
Commit message
The short sentence with a commit that says what changed and why.
Branch
An offshoot of the history: a workspace of your own in which you make changes without touching main.
main
The main branch with the approved version, which the releases come from.
Merge
Joining the changes from one branch into another branch, usually main.
Conflict
A situation in which two branches have changed the same line differently. A person has to choose what it becomes.
Pull request (PR)
A proposal on GitHub to merge the changes from a branch into main, with description, commits, changed files and checks.
Review
The check of a pull request by someone else (or by yourself): approving, requesting changes or giving a comment.
Clone
Copying a repository from GitHub to your own computer for the first time, with the whole history.
Pull
Fetching new commits from GitHub to your computer.
Push
Sending your own commits from your computer to GitHub. Only then does the team see them.
Issue
A numbered report in a repository: a fault, a wish or a question. Open until it is solved, then closed.
Label
A coloured tag on an issue or pull request, such as bug or enhancement, to sort and filter.
Fixes #12
Text in a pull request that links it to issue 12. After the merge GitHub closes the issue automatically.
Tag
A fixed label on one commit, usually a version number such as v2026.49.1.
Release
A published version: a tag with release notes and installation files to download.
Release notes
The description with a release of what is new or fixed in that version.
GitHub Actions
Automatic tasks that run on an event in the repository, such as checks with every commit or building installers on a tag.
Fork
Your own copy of someone else's repository, to make changes in it and propose them as a pull request.
Maintainer
The person who manages a repository and decides on issues and pull requests.

Exam What GitHub is

Take the exam at the end of the day, once you have done all parts and the checks. The exam is on a page of its own, without the lesson. You need 75% of the multiple-choice questions right; an assessor marks the open questions.

Not done yet.

Go to the exam