A repository (on GitHub, for example) holds a software project with all its files, its documentation and the revision history of every file.
The easiest way to picture a repository, says the GitHub glossary, is as a project's folder. A remote repository, in the glossary's terms, belongs to the same project but is stored elsewhere. Git's own documentation says a repository is typically created in one of two ways: by turning a local directory into a Git repository or by cloning an existing one.
GitHub calls a personal copy of another user's repository a fork Fork A fork is an independent line of development of a piece of software, started from a copy of its source code and maintained separately from the original project. : changes can be made in it without affecting the original. Seen from a fork or a branch, the primary branch of the original repository is often called the upstream, since that is where most changes come from. The branch or fork being worked on is then the downstream.
Our own plugins Plugin A plugin is an add-on that extends software such as a shop system with additional features and can be installed separately from it. Read in the glossary → for Shopware 5 Shopware Shopware is e-commerce software from shopware AG in Schöppingen, Germany; the vendor says its current product, Shopware 6, is a complete redevelopment of Shopware 5. Read in the glossary → shops are kept, with their history, in the shop repository. We keep track of Shopware 5's maintenance status through its official repository on GitHub. We take the packages we update from the upstream repositories, not from a fork.
For Composer Composer Composer is a tool for dependency management in PHP: a project declares the libraries it depends on, and Composer installs and updates them. Read in the glossary → , a repository is a package source: a list of packages and versions that Composer consults to find what a project needs. By default, only one is registered: Packagist.org. In a shop project, the word can therefore mean either the place where the code is kept or the source of the packages.
Where the term appears
See also
-
Composer
Composer is a tool for dependency management in PHP: a project declares the libraries it depends on, and Composer installs and updates them.
E-commerce
-
Software release
A software release is a published, deployable version of a piece of software, made available under a fixed version number for download and installation.
E-commerce
-
Lock file
A lock file records the exact versions of all packages installed in a project, so that every installation ends up in the same state; with Composer it is composer.lock.
E-commerce
Sources
-
GitHub-Glossar (deutsche Fassung) (opens in a new tab)
GitHub Docs (docs.github.com) accessed
-
Pro Git (2. Auflage, deutsche Übersetzung), 2.1 Git Grundlagen: Ein Git-Repository anlegen (opens in a new tab)
Git Project (git-scm.com) accessed
-
Composer Documentation: Repositories (opens in a new tab)
Composer (getcomposer.org) accessed