Forge (software) explained

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.

For users, a forge is a repository of computer applications, a place where bugs can be reported, a channel to be informed of security issues, etc.

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.[1] 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[2] is "The complete developer platform to build, scale, and deliver secure software". The GitLab tagline[3] 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 sometime 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:

All these platforms provide similar tools helpful to software developers working in the hosted projects:

Some provide other features as well:

Interoperability

API and webhooks

In addition to the web user interface, it is common for a forge to provide a REST API with the a documentation (GitHub,[4] GitLab,[5] Gitea,[6] 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[7]).

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[8] or a commit is pushed[9]). Although native federation support is sometime discussed[10] or in progress[11] it is not yet available. Third party projects emerged to bridge the gap such as a plugin for the pagure forge[12] or a proxy supporting ActivityPub and translating it to REST API calls to the designated forge.[13]

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[14]). Some forges can act as an authentication provider (for instance Gitea is an OAuth2 provider[15] as well as GitLab[16]).

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[17] and is natively support by GitLab[18]).

Examples

Free software

Freemium software

Free online services

Freemium online services

Discontinued software

Discontinued online services

See also

Notes and References

  1. Web site: Maguire . James . October 17, 2007 . The SourceForge Story . https://web.archive.org/web/20110716044546/http://itmanagement.earthweb.com/cnews/article.php/3705731 . July 16, 2011 . April 12, 2012.
  2. Web site: Build software better, together . 2023-11-22 . GitHub . en.
  3. Web site: The DevSecOps Platform . 2023-11-22 . about.gitlab.com . en-us.
  4. Web site: GitHub REST API . 31 August 2021.
  5. Web site: GitLab REST API . 31 August 2021.
  6. Web site: Gitea REST API . 31 August 2021.
  7. Web site: Gitea webhook . 31 August 2021.
  8. Web site: forgefed issue . 31 August 2021.
  9. Web site: forgefed commit . 31 August 2021.
  10. Web site: Federated GitLab . 31 August 2021.
  11. Web site: Gitea federation theme . . 31 August 2021.
  12. Web site: Forgefed pagure plugin . 31 August 2021.
  13. Web site: Fedeproxy forge federation . 31 August 2021.
  14. Web site: GitLab sign-in with GitHub . 31 August 2021.
  15. Web site: Gitea OAuth2 provider . 31 August 2021.
  16. Web site: GitLab OAuth2 provider . 31 August 2021.
  17. Web site: GitHub Mattermost Plugin . . 31 August 2021.
  18. Web site: GitLab Mattermost . 31 August 2021.
  19. Web site: Forgejo - Beyond coding. We forge.. 2022-12-15. Forgejo.
  20. Web site: Launchpad Suite in Launchpad. launchpad.net.
  21. Web site: sourcehut - the hacker's forge. 2021-03-31.
  22. Web site: Product. GitLab.
  23. Web site: sourcehut - the hacker's forge. sourcehut.
  24. Web site: GitLab Pricing. GitLab.
  25. Web site: Pricing ยท Plans for every developer. GitHub.
  26. Web site: Bitbucket Pricing. Atlassian.
  27. Web site: Phacility is Winding Down Operations.
  28. Web site: The end of Gna? . 2016-11-20 . https://web.archive.org/web/20170505010209/https://mail.gna.org/public/project/2016-11/msg00001.html . 2017-05-05 . 2017-09-13 . dead.
  29. Web site: Tigris.org: Shut down on 1-July-2020 . https://web.archive.org/web/20200630133735/http://tigris.org/ . 2020-06-30 . 2022-03-02 . dead.