Git.alt: Difference between revisions

From ALT Linux Wiki
(First parts translated from Russian)
 
(Translated SSH access)
Line 18: Line 18:
SSH access to <tt>git.alt</tt> is only granted to persons who [[Join|joined]] ALT Linux Team.
SSH access to <tt>git.alt</tt> is only granted to persons who [[Join|joined]] ALT Linux Team.


<!--=== SSH-доступ ===
=== SSH access ===


<tt>git.alt</tt> доступен по SSH по адресу <tt>git.altlinux.org:222</tt>. Аккаунт для доступа — <tt>git_$USERNAME</tt>, где USERNAME — имя, присвоенное в процессе принятия в Team, с символами «-» заменёнными на «_».
You can use <tt>git.alt</tt> via SSH at <tt>git.altlinux.org:222</tt>. The login name is your ALT Linux Team username with _ (underscores) instead of - (hyphens), if there are any.


Пример <tt>~/.ssh/config</tt>:
Here is an example of an entry in your <tt>~/.ssh/config</tt> file:
  Host git.alt
  Host git.alt
   HostName git.altlinux.org
   HostName git.altlinux.org
Line 28: Line 28:
   User git_USERNAME
   User git_USERNAME


Для работы из-за прокси и в других сложных условиях SSH также доступен по адресу <tt>git.altlinux.org:443</tt>.
If your are behind a proxy, most ports are blocked etc., you can also access SSH with the address <tt>git.altlinux.org:443</tt>.


Список команд выдаётся при ssh-логине без команды или с командой <tt>help</tt>:
The list of available commands is displayed, when you login to SSH without commands or with <tt>help</tt> command:


  $ ssh git.alt help
  $ ssh git.alt help
Line 49: Line 49:
  $
  $


Во всех командах суффикс директорий репозиториев <tt>.git</tt> опционален и может быть опущен. В выводе команд <tt>.git</tt> присутствует всегда.
In all commands, the .git suffix for repositories is optional and may be omitted; but in the output of commands this suffix is always appended.


==== ls ====
<!--==== ls ====


  '''$ ssh git.alt ls [<directory>]'''
  '''$ ssh git.alt ls [<directory>]'''

Revision as of 12:38, 14 August 2008

Stub.png
Under construction.
This page is not finished yet and may lack substantial information.

What is git.alt?

git.alt is a hosting for git repositories. Git.alt is integrated with gear — the system of packages building and storage.

Services similar to Git.alt are github and gitorious. git.alt differs from them in its advanced SSH repositories management interface, e-mail notifications of many kinds and relatively simplistic web-interface.

How to use?

git.alt provides the following kinds of access to the repositories:

  • SSH. Special commands are provided: repos search, cloning, creation, deletion, build invocation and control, and some auxiliary ones.
  • ssh:, git:, http: provide immediate access to repositories. git: and http: allow for read-only operations, ssh: gives read-write access.
  • Web interface. It is located here: http://git.altlinux.org/ and provides repos navigation and gitweb for each individual repo.

SSH access to git.alt is only granted to persons who joined ALT Linux Team.

SSH access

You can use git.alt via SSH at git.altlinux.org:222. The login name is your ALT Linux Team username with _ (underscores) instead of - (hyphens), if there are any.

Here is an example of an entry in your ~/.ssh/config file:

Host git.alt
  HostName git.altlinux.org
  Port 222
  User git_USERNAME

If your are behind a proxy, most ports are blocked etc., you can also access SSH with the address git.altlinux.org:443.

The list of available commands is displayed, when you login to SSH without commands or with help command:

$ ssh git.alt help
Available commands:
help
git-receive-pack <directory>
git-upload-pack <directory>
charset <path to git repository> [<charset>]
clone <path to git repository> [<path to directory>]
find-package <pattern>
init-db <path to directory>
ls [<path to directory>]
mv-db <path to source directory> <path to destination directory>
quota
rm-db <path to git repository>
task {list|new|show|drop|add|run} ...
build <path to gear repository> <tag name> [<binary package repository name>] [<project name>]
$

In all commands, the .git suffix for repositories is optional and may be omitted; but in the output of commands this suffix is always appended.