Infrastructure/Github Mirror: Difference between revisions

From KDE Community Wiki
m (Nicer quotes, minor style changes)
(Fix wrong duplicate page link)
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
=GitHubMirror=
{{Proposed_deletion|reason=This is a duplicate of https://community.kde.org/Infrastructure/Git/GitHub_Mirror and all missing info should be moved there. Also need to contact whoever is in charge of the KDE GitHub org and change that URL too.}}


KDE is managing a '''read-only''' <b>mirror</b> of [https://commits.kde.org our repos] on Github. It's located at https://github.com/KDE .
=GitHub Mirror=


We want to make KDE sources easy to find, share and build upon; and most importantly we want your contributions to count towards your github profile. :)
KDE is managing a '''read-only''' <b>mirror</b> of [https://commits.kde.org our repos] on GitHub. It's located at https://github.com/KDE .
 
We want to make KDE sources easy to find, share and build upon; and most importantly we want your contributions to count towards your GitHub profile. To make sure your contributions count, star the repositories you are committing too and they should show on your profile. Also ensure you have your commit e-mail associated with your GitHub account.


=FAQ=
=FAQ=
Line 12: Line 14:
If we start using multiple repositories and making developers look in two places that gets very complicated and unfair on the maintainers.
If we start using multiple repositories and making developers look in two places that gets very complicated and unfair on the maintainers.


Also as an open source project, it's very important for us to keep to using open source tools. Github does not meet that requirement.
Also as an open source project, it's very important for us to keep to using open source tools. GitHub does not meet that requirement.


==How do I submit “Pull Requests”?==
==How do I submit “Pull Requests”?==


* Fork and commit your changes in your fork as before
The process of using GitLab is very similar to using GitHub. You can find a detailed instruction [[Infrastructure/GitLab#Submitting_a_Merge_Request|here]], but basically it is this:
* Create an account on https://identity.kde.org
* Log in to [https://invent.kde.org/ KDE's GitLab]
* Run <code>git format-patch HEAD^</code> to create a diff
* Fork the repository of the project you want to work on
* Learn [https://community.kde.org/Infrastructure/Phabricator#Posting_a_Patch_using_the_website how to format and post a patch]
* Make a branch in your fork
* Head to https://phabricator.kde.org/differential/diff/create/ to upload the diff.
* Make changes, commit them to your branch, and push
 
* When you push you should be given a link to easily make a merge request. If not, navigate to your fork on GitLab and make a pull request from there
 
The maintainer for this software will then comment and merge your request.
 
Alternatively you can use the command <code>arc diff</code> to streamline the process. More details are available in the [https://community.kde.org/Infrastructure/Phabricator#Using_Arcanist_to_post_patches Phabricator] page.


==How do I submit “Issues”?==
==How do I submit “Issues”?==
Line 33: Line 31:
==Where can I find the “original sources”?==
==Where can I find the “original sources”?==


All KDE GIT repositories are available for browsing at https://cgit.kde.org/ with each repository including possible ''git clone'' URLs at the bottom of their respective summary pages. The general command format for cloning a repository being:
All KDE Git repositories are available for browsing at https://invent.kde.org/.
 
<code>git clone (https|git)://anongit.kde.org/<repository>.git</code>
 
Additionally to the top-level repositories mostly mirrored on GitHub so-called scratch and clone repositories exist for allowing KDE developers to publish repositories without jumping through organizational hurdles.


For details on KDE's GIT infrastructure see [https://community.kde.org/Infrastructure/Git the dedicated GIT infrastructure page].
For details on KDE's Git infrastructure see [https://community.kde.org/Infrastructure/Git the dedicated GIT infrastructure page].

Latest revision as of 22:47, 13 November 2023

Proposed for Deletion

This page has been proposed for deletion for the following reason:

This is a duplicate of https://community.kde.org/Infrastructure/Git/GitHub_Mirror and all missing info should be moved there. Also need to contact whoever is in charge of the KDE GitHub org and change that URL too.

Please use the discussion section of this page to voice your opinion on this.

GitHub Mirror

KDE is managing a read-only mirror of our repos on GitHub. It's located at https://github.com/KDE .

We want to make KDE sources easy to find, share and build upon; and most importantly we want your contributions to count towards your GitHub profile. To make sure your contributions count, star the repositories you are committing too and they should show on your profile. Also ensure you have your commit e-mail associated with your GitHub account.

FAQ

Why don't you enable pull requests?

Our central repositories are handled by our awesome sysadmins over on kde.org where we have full control and tighter integration within our services. If we start using multiple repositories and making developers look in two places that gets very complicated and unfair on the maintainers.

Also as an open source project, it's very important for us to keep to using open source tools. GitHub does not meet that requirement.

How do I submit “Pull Requests”?

The process of using GitLab is very similar to using GitHub. You can find a detailed instruction here, but basically it is this:

  • Log in to KDE's GitLab
  • Fork the repository of the project you want to work on
  • Make a branch in your fork
  • Make changes, commit them to your branch, and push
  • When you push you should be given a link to easily make a merge request. If not, navigate to your fork on GitLab and make a pull request from there

How do I submit “Issues”?

Please file a bug report or wish at https://bugs.kde.org/

Where can I find the “original sources”?

All KDE Git repositories are available for browsing at https://invent.kde.org/.

For details on KDE's Git infrastructure see the dedicated GIT infrastructure page.