From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: [devel] I: git.altlinux.org: people/*/packages/ developers howto Date: Tue, 12 Sep 2006 21:40:13 +0400 Message-ID: <20060912174012.GE28258@nomad.office.altlinux.org> (raw) [-- Attachment #1: Type: text/plain, Size: 2894 bytes --] Hi, Итак, общие инструкции по эксплуатации: $ cat ~/.ssh/config Host git.alt HostName git.altlinux.org Port 222 User git_USER - где USER есть идентификатор @altlinux.org, совпадающий с тем, который определён в вашем gpg-ключе, с одним отличем: символ "-" заменён на "_". Нестандартный порт выбран для минимизации спама в логах от тупых переборщиков паролей на сервере где отключена авторизация по паролю. По всем вопросам, связанным с этой частью инструкции, пишите на join@. Проверка связи, она же памятка: $ ssh git.alt help Available commands: help git-receive-pack <directory> git-upload-pack <directory> git-init-db <directory> git-mv-db <source-directory> <dest-directory> git-rm-db <directory> git-clone <repository> [<directory>] ls [<directory>] (вывод может меняться время от времени) Перечень своих репозиториев изнутри: $ ssh git.alt ls total 0 Перечень своих каталогов изнутри: $ ssh git.alt ls /people/USER/ total 8 drwxr-x--- 3 4096 Sep 11 03:01 etc drwxr-sr-x 6 4096 Sep 12 12:34 packages Посчитать, сколько у меня git-репозиториев на данный момент: $ ssh git.alt ls /people/ldv/packages/ |grep -c ^d 265 Создать новый git-репозиторий, полюбоваться на него снаружи, удалить и снова посмотреть: $ ssh git.alt git-init-db foobar $ rsync git.altlinux.org::people/USER/packages/ Welcome to ALT Linux Team public GIT archive! drwxr-sr-x 4096 2006/09/12 01:23:45 . drwxr-sr-x 4096 2006/09/12 01:23:45 foobar.git $ ssh git.alt git-rm-db foobar $ rsync git.altlinux.org::people/USER/packages/ Welcome to ALT Linux Team public GIT archive! drwxr-sr-x 4096 2006/09/12 01:23:45 . Клонировать в свой каталог packages внутренний репозиторий: $ ssh git.alt git-clone /people/ldv/packages/vitmp.git remote: Generating pack... remote: Done counting 12 objects. Deltifying 12 objects. 100% (remote: 12/12) done Total 12, written 12 (delta 2), reused 12 (delta 2) Клонировать в свой каталог packages внешний репозиторий: $ ssh git.alt git-clone rsync://git.altlinux.org/people/ldv/packages/vitmp.git Welcome to ALT Linux Team public rsync archive! receiving file list ... done ./ pack/ pack/pack-a54ac6c3e16e68ac9cf1b45218ae536a21da52ee.idx pack/pack-a54ac6c3e16e68ac9cf1b45218ae536a21da52ee.pack sent 175 bytes received 4944 bytes 98765.43 bytes/sec total size is 4629 speedup is 0.90 Клонировать к себе свой репозиторий с git.altlinux.org: $ git-clone git.alt:packages/vitmp.git remote: Generating pack... remote: Done counting 12 objects. remote: Deltifying 12 objects. remote: 100% (12/12) done remote: Total 12, written 12 (delta 2), reused 12 (delta 2) Клонировать к себе чужой репозиторий с git.altlinux.org: $ git-clone git.alt:/people/ldv/packages/vitmp.git Инструкции по эксплуатации etc/packages.git следуют отдельным письмом. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2006-09-12 17:40 UTC|newest] Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-09-12 17:40 Dmitry V. Levin [this message] 2006-09-12 17:50 ` Alexey Gladkov 2006-09-12 20:46 ` Dmitry V. Levin 2006-09-13 0:10 ` Alexey Gladkov 2006-09-13 0:21 ` Dmitry V. Levin 2006-09-13 5:31 ` Kirill Maslinsky 2006-09-13 12:37 ` Dmitry V. Levin 2006-09-13 23:18 ` Kirill Maslinsky 2006-09-13 20:44 ` Dmitry V. Levin 2006-09-13 7:31 ` Stanislav Ievlev 2006-09-13 7:31 ` Alexey Gladkov 2006-09-12 17:58 ` Alexey Tourbin 2006-09-12 20:21 ` Igor Zubkov 2006-09-12 20:52 ` Dmitry V. Levin 2006-09-12 20:47 ` Dmitry V. Levin 2006-09-12 19:09 ` Alexey Tourbin 2006-09-12 20:49 ` Dmitry V. Levin 2006-09-12 22:41 ` Alexey Tourbin 2006-09-12 23:54 ` Dmitry V. Levin 2006-09-13 0:14 ` Alexey Tourbin 2006-09-13 0:16 ` Alexey Tourbin 2006-09-13 0:30 ` Dmitry V. Levin 2006-09-13 0:24 ` Dmitry V. Levin 2006-09-13 3:10 ` Денис Смирнов 2006-09-13 2:03 ` [devel] sync with non-git repos Alexey Tourbin 2006-09-13 6:21 ` Alexey I. Froloff 2006-09-13 6:22 ` Alexey I. Froloff 2006-09-13 7:04 ` Alexey I. Froloff 2006-09-15 10:32 ` [devel] I: git.altlinux.org: people/*/packages/ developers howto Alexey Borovskoy 2006-09-15 11:48 ` Dmitry V. Levin 2006-09-24 20:11 ` Dmitry V. Levin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20060912174012.GE28258@nomad.office.altlinux.org \ --to=ldv@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git