Jump to content

Neon/Git: Difference between revisions

From KDE Community Wiki
Riddell (talk | contribs)
No edit summary
Riddell (talk | contribs)
No edit summary
Line 1: Line 1:
The Neon Git repositories are at http://git.edinburghlinux.co.uk
The Neon Git repositories are at http://packaging.neon.kde.org.uk


In the future all KDE contributors can commit to these on branches used by Neon and related projects.  It will reject commits on other branches.
All KDE contributors can commit to neon* branches or repositories under neon/ directory, it will reject commits to other branches.


They are clones of the repositories used by Debian pkg-kde team http://anonscm.debian.org/cgit/pkg-kde/.  Any commits made to a Debian pkg-kde repository will be pulled into Neon Git immediately.
They are clones of the repositories used by Debian pkg-kde team http://anonscm.debian.org/cgit/pkg-kde/.  Any commits made to a Debian pkg-kde repository will be pulled into Neon Git immediately.
Line 15: Line 15:
If you don't have a KDE account you can still clone the repo at
If you don't have a KDE account you can still clone the repo at
{{Input|1=<nowiki>git clone git://packaging.neon.kde.org.uk/plasma/khotkeys</nowiki>}}
{{Input|1=<nowiki>git clone git://packaging.neon.kde.org.uk/plasma/khotkeys</nowiki>}}


=== Admin ===
=== Admin ===


The repository <code>neon:gitolite-admin</code> has gitolite setup, hooks and hook server.
The repository <code>neon:gitolite-admin</code> has gitolite setup, hooks and hook server for those with admin rights (kde sysadmin does).


neon-hooks/pre-receive is a hook to check the branch can be committed to
neon-hooks/pre-receive is a hook to check the branch can be committed to
Line 25: Line 24:
debian-hooks/debian-to-neon-post-receive is a hook for debian pkg-kde git repos to call the neon server on updates
debian-hooks/debian-to-neon-post-receive is a hook for debian pkg-kde git repos to call the neon server on updates


server/server.py is an XML-RPC server run on the neon server which is called by the debian hook and fetches updates
server/neon-fetch-request-server.py is an XML-RPC server run on the neon server which is called by the debian hook and fetches updates


sync-repos-from-debian.py checks for all the repositories on in debian pkg-kde and adds any missing to neon.  This gets run nightly on Jonathan's server ''embra''.
sync-repos-from-debian.py checks for all the repositories on in debian pkg-kde and adds any missing to neon.  This gets run nightly on Jonathan's server ''embra''.


It uses gitolite3 on weegie.edinburghlinux.co.uk, a server used by Neon and Kubuntu and administrated by Jonathan Riddell
It uses gitolite3 on weegie.edinburghlinux.co.uk, a server used by Neon and Kubuntu and administrated by Jonathan Riddell and KDE sysadmin.


Web interface is cgit
Web interface is cgit.

Revision as of 09:44, 15 January 2016

The Neon Git repositories are at http://packaging.neon.kde.org.uk

All KDE contributors can commit to neon* branches or repositories under neon/ directory, it will reject commits to other branches.

They are clones of the repositories used by Debian pkg-kde team http://anonscm.debian.org/cgit/pkg-kde/. Any commits made to a Debian pkg-kde repository will be pulled into Neon Git immediately.

Add this to ~/.gitconfig

[url "[email protected]:"]
        insteadof = neon:

and clone with:

git clone neon:plasma/khotkeys

Anonymous Access

If you don't have a KDE account you can still clone the repo at

git clone git://packaging.neon.kde.org.uk/plasma/khotkeys

Admin

The repository neon:gitolite-admin has gitolite setup, hooks and hook server for those with admin rights (kde sysadmin does).

neon-hooks/pre-receive is a hook to check the branch can be committed to

debian-hooks/debian-to-neon-post-receive is a hook for debian pkg-kde git repos to call the neon server on updates

server/neon-fetch-request-server.py is an XML-RPC server run on the neon server which is called by the debian hook and fetches updates

sync-repos-from-debian.py checks for all the repositories on in debian pkg-kde and adds any missing to neon. This gets run nightly on Jonathan's server embra.

It uses gitolite3 on weegie.edinburghlinux.co.uk, a server used by Neon and Kubuntu and administrated by Jonathan Riddell and KDE sysadmin.

Web interface is cgit.