From: Stas <stas.grumbler@gmail.com>
To: devel-newbies@lists.altlinux.org
Subject: [newbies] Как правильно брать конкретную версию из апстрима в git?
Date: Fri, 15 Apr 2016 11:23:27 +0500
Message-ID: <571088DF.20306@gmail.com> (raw)
Приветствую!
Вопросы по переносу исходников из апстримовского git в gitery.alt
В git-репозитарии апстрима есть одна ветка MASTER и каждая версия-релиз
помечена тэгом без бранчей.
Как в таком случае правильно брать исходники в свой репозитарий:
- слить всё дерево исходников с тэгами и создать ветку из точки,
помеченной тэгом, для пакетирования использовать эту свою ветку; И как
правильно сливать - git clone или git fetch?
- слить срез исходников в точке тэга (git fetch source tag:tag) и
создать у себя ветку?
В дальнейшем как при выходе нового релиза в апстриме проводить
обновление в своём репозитарии.
В Wiki это не описано явно, есть только рекомендация брать исходники с
историей изменений.
--
Станислав Дёгтев
Служба "Ваш админ"
Мои контакты:
- jabber: grumbler@grumbler.org
- email: stas.grumbler@gmail.com и stas@vashadmin.su
- телефоны в Е-бурге +79045430461 и +79222112259
next reply other threads:[~2016-04-15 6:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 6:23 Stas [this message]
2016-04-15 12:41 ` Michael Shigorin
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=571088DF.20306@gmail.com \
--to=stas.grumbler@gmail.com \
--cc=devel-newbies@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
devel@ where you _can_ ask
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
public-inbox-index devel-newbies
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git