ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel-kernel@lists.altlinux.org
Subject: Re: [d-kernel] Q: как обновить модуль и шаблон для него?
Date: Sun, 23 Mar 2008 13:30:56 +0300
Message-ID: <20080323103056.GB4901@atlas.home> (raw)
In-Reply-To: <fa54e4a90803220952q39a27aa1n82cce303dae186f4@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1540 bytes --]

On Sat, Mar 22, 2008 at 06:52:07PM +0200, Igor Zubkov wrote:
> Ну и как обновить шаблон для этого модуля? Я себе от'git-clone'нил
> репозиорий с модулями от vsu@ но так и не понял что там надо делать.
> $ ls -la
> итого 12
> drwxr-xr-x 3 icesik icesik 4096 Мар 22 20:22 .
> drwxr-xr-x 6 icesik icesik 4096 Мар 22 20:29 ..
> drwxr-xr-x 8 icesik icesik 4096 Мар 22 20:29 .git
> $ git-tag -l
> $ git-branch -l

git clone копирует бранчи не в refs/heads/, а в refs/remotes/origin/
(вместо origin может быть указано другое имя; я в подобных
репозиториях обычно использую имя пользователя, которому принадлежит
аналогичной репозиторий на git.alt).

Чтобы получить все бранчи в обычном виде (что нужно, в частности, для
автоматической сборки всех модулей), можно выполнить команду

  git fetch origin 'refs/heads/*:refs/heads/*'

Либо вариант, совсем не обращающийся к удалённому репозиторию
(используются сохранённые ссылки):

  git fetch . 'refs/remotes/origin/*:refs/heads/*'

Можно получить и только нужный бранч:

  git checkout -b template/gspca/sisyphus origin/template/gspca/sisyphus

(эта команда делает чуть больше - см. man git-checkout на тему
--track, этот вариант сейчас используется по умолчанию).

На git.alt можно сделать либо

  ssh git.alt git-clone /people/vsu/packages/kernel-modules.git

и потом делать туда git push, либо создать пустой репозиторий, куда
потом выкладывать только бранчи для обновляемых модулей (чтобы было
понятно, что обновления других модулей там искать не нужно).

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2008-03-23 10:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-22 16:52 Igor Zubkov
2008-03-22 16:56 ` Michael Shigorin
2008-03-22 17:05   ` Igor Zubkov
2008-03-22 17:49 ` Igor Zubkov
2008-03-23 10:30 ` Sergey Vlasov [this message]

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=20080323103056.GB4901@atlas.home \
    --to=vsu@altlinux.ru \
    --cc=devel-kernel@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 kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git