ArticleslgStudy

computer science

Forge (software)

Forge (software) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Forge (software) rather than just read about it. In short: In free and open-source software (FOSS) development communities, a forge is a web-based collaborative software platform for both developing and sharing computer applications. For software developers it is an online service to host the tools they need to work and communicate with their coworkers.

Forge (software) — main illustration
Forge (software) — illustration

Key takeaways

  • Forge (software) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Forge (software) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Forge (software) from memory before moving on to harder problems.

Reference excerpt

In free and open-source software (FOSS) development communities, a forge is a web-based collaborative software platform for both developing and sharing computer applications. For software developers it is an online service to host the tools they need to work and communicate with their coworkers. It provides a workflow to propose modifications and engage in discussions. The goal is to reach an agreement that will allow these modifications to be merged into the software repository. The source code itself is stored in a revision control system and linked to a wide range of services such as a code review, bug database, continuous integration, etc. When a development community forks, it duplicates the content of the forge and is then able to modify it without asking permission. A community may rely on services scattered on multiple forges: they are not necessarily hosted under the same domain.

History The term forge refers to a common prefix or suffix adopted by various platforms created after the example of SourceForge in 2001. This usage of the word stems from the metalworking forge, used for shaping metal parts. In 2023 the two most widely used collaborative development platforms are not advertised as being forges.

The GitHub tagline is "The complete developer platform to build, scale, and deliver secure software". The GitLab tagline is "the most comprehensive AI-powered DevSecOps Platform". Although they share all the technical aspects of what constitutes a forge, the documentation and marketing material does not make use of the term forges. However, in FOSS development communities, and since the inception of the first SourceForge fork in 2001, the term forge is still commonly used to designate online collaborative software platforms.

Similar online services for developers Some online services do not qualify as a forge, even when they share some of its essential aspects. For instance a standalone code review service such as Gerrit is sometimes integrated in a forge that lacks integrated code review but cannot be used to distribute the software to end users. Similarly, online services that focus on project management or issue tracking such as Trac, Redmine or OpenProject do not provide a workflow to be used by software developers to discuss the changes they propose and merge the outcome in the software repository. These services may include limited integration with a range of version control system, for visualization and citing code it contains, but that alone is more of a feature than a workflow a developer can use.

Technology Two different kinds of concepts are commonly referred to by the term forge:

a service offered on a Web platform to host software development projects; an integrated set of software elements which produce such platforms, ready for deployment. All these platforms provide similar tools helpful to software developers working in the hosted projects:

source code management systems mailing-lists or forums wikis download services bug tracking system Some provide other features as well, such as code review.

Interoperability

API and webhooks In addition to the web user interface, it is common for a forge to provide a REST API with documentation (GitHub, GitLab, Gitea, etc.) to enable interoperability with other products. Forge users can also install webhooks to notify a third party online service when an event happens on their software project (for instance the webhook can be called when a new issue is created).

Federation Federation and the associated protocol ActivityPub (introduced in 2018) allows forges to communicate with each other about their activities (for instance when issues are created or a commit is pushed). Although native federation support is sometime discussed or in progress it is not yet available. Third party projects emerged to bridge the gap such as a plugin for the pagure forge or a proxy supporting ActivityPub and translating it to REST API calls to the designated forge.

Authentication There is no SSO that applications and users could rely on to authenticate with all forges. Instead it is common for a forge to support a number of authentication providers: if a user already has an account they can use it to authenticate on the forge and do not need to create a new account (for instance GitLab supports OAuth2 providers such as GitHub). Some forges can act as an authentication provider (for instance Gitea is an OAuth2 provider as well as GitLab).

Integration To improve the user and the system administrator experience when using multiple online services, some forges are integrated with popular third-party software and services such as online chat (for instance Mattermost has a plugin for GitHub and is natively support by GitLab).

Examples

Free software Allura Forgejo FusionForge Fossil GitBucket (GitHub compatible) Gogs Kallithea Launchpad Suite Phorge (Phabricator fork/continuation) RhodeCode SourceHut Tangled Tuleap

Open-core software GitLab (Community Edition and Enterprise Edition) Gitea

Freemium software GForge Advanced Server

Free online services Codeberg OSDN (Open Source Development Network) SourceForge GNU Savannah

Freemium online services GitLab GitHub Bitbucket SourceHut

Discontinued software Phabricator Savane (software) GForge Community Edition (last release April 23, 2010), not to be confused with the proprietary GForge first released October 1, 2018.

Discontinued online services BerliOS (It was disbanded in 2014, some projects have been moved to Joinup collaboration platform.) CodePlex (Shut down on December 15, 2017) Gitorious (deprecated, superseded by GitLab) Gna.org Google Code Open Source Assistive Technology Software (OATS) Project Kenai (created by Sun Microsystems but shut down by Oracle) Tigris.org (Shut down on July 1, 2020)

See also Collaborative development environment (CDE) Project management software (PMS) Software project management Comparison of source-code-hosting facilities List of free software project directories Application lifecycle management (ALM)

References

Illustrations

Forge (software): A screenshot of a git repository displayed by Gitea
A screenshot of a git repository displayed by Gitea

Worked examples

Example 1 — a first encounter with Forge (software)

Start with the simplest possible case. Write down what Forge (software) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Forge (software) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Forge (software) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Forge (software)

In research
Forge (software) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Forge (software) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Forge (software) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Project hosting websites, so understanding it makes those chapters shorter.
In everyday life
Look for Forge (software) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Forge (software)” →

How to study Forge (software) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Forge (software) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Forge (software) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Forge (software) in simple terms?

In free and open-source software (FOSS) development communities, a forge is a web-based collaborative software platform for both developing and sharing computer applications. For software developers it is an online service to host the tools they need to work and communicate with their coworkers.

Why does Forge (software) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Forge (software)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Forge (software).

Tags

  • Project hosting websites

Keep exploring