From: Michael Shigorin <mike@osdn.org.ua>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Куда класть *.spec?
Date: Fri, 13 Nov 2009 10:46:22 +0200
Message-ID: <20091113084622.GZ13476@osdn.org.ua> (raw)
In-Reply-To: <hda9nv$rep$1@ger.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1235 bytes --]
On Tue, Nov 10, 2009 at 01:49:07AM +0200, Андрей Ковтун wrote:
> > А Вы посмотрите в хашере в каталоге, который он указывает -
> > как называется полученный тарбол? Судя по всему - у Вас в
> > рулесе не правильно обозваны сырцы.
> Да, действительно, я импортировал сырцы из tar.gz
> Сырцы склонировал из git загнал в тарбол и назвал произвольно.
Уйй...
> Получается, что не все равно откуда импортировать, и какое
> должно быть название файла?
Разумеется, см. тж. man gear-rules около "tar:"
и .gear/rules в понравившихся репозиториях.
PS: я попробую описать схему, которую позаимствовал у led@
-- с чистыми исходниками в бранче upstream и спеком (плюс-
минус специфические ресурсы -- картинки или инитскрипты --
в бранче master, да патчи в отдельных topic branches).
_Гораздо_ красивее и внятней, чем то, что сейчас обычно
можно наблюдать на git.alt. Если буду тормозить --
напомните личной почтой, всё равно понадобится.
См., например,
http://git.altlinux.org/people/mike/packages/?p=darcs-to-git.git
(скрипт git-empty-branch прилагается, ещё из (возможно)
неочевидного -- git merge -s ours upstream перед
gear-update-tag -avc).
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #2: git-empty-branch --]
[-- Type: text/plain, Size: 816 bytes --]
#!/bin/sh
Usage()
{
cat <<__USAGE__
Usage: git-empty-branch -h|--help
git-empty-branch [-m|--message "<message>"] branch ...
__USAGE__
}
MESSAGE="Empty branch"
if [ $# -eq 0 ]; then
Usage >&2
exit 1
fi
BRANCHES=
NOCOMMIT=
while [ $# -ne 0 ]; do
case $1 in
--)
shift
BRANCHES="$BRANCHES $@"
;;
-h|--help)
Usage
exit 0
;;
-m|--message)
MESSAGE=$2
shift 2
;;
-n|--no-commit)
NOCOMMIT=1
shift
;;
*)
BRANCHES="$BRANCHES $1"
shift
;;
esac
done
for B in $BRANCHES; do
if [ -d .git/refs/heads/$B ]; then
echo "branch $B already exists!" >&2
else
git stash
git symbolic-ref HEAD refs/heads/$B
rm .git/index
git clean -f -d
[ -z "$NOCOMMIT" ] || exit 0
git commit --allow-empty -m "$MESSAGE"
fi
done
next prev parent reply other threads:[~2009-11-13 8:46 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-08 5:14 Андрей Ковтун
2009-11-08 7:06 ` Motsyo Gennadi aka Drool
2009-11-08 9:54 ` Андрей Ковтун
2009-11-08 10:25 ` Motsyo Gennadi aka Drool
2009-11-08 10:58 ` Андрей Ковтун
2009-11-08 11:23 ` Michael A. Kangin
2009-11-08 11:28 ` Motsyo Gennadi aka Drool
2009-11-08 11:29 ` Андрей Ковтун
2009-11-08 11:34 ` Slava Semushin
2009-11-08 11:45 ` Андрей Ковтун
2009-11-08 11:52 ` Serg Borovikov
2009-11-08 12:07 ` Андрей Ковтун
2009-11-08 12:11 ` Serg Borovikov
2009-11-08 12:18 ` Андрей Ковтун
2009-11-08 12:16 ` Motsyo Gennadi aka Drool
2009-11-08 12:17 ` Андрей Ковтун
2009-11-09 17:38 ` Андрей Ковтун
2009-11-09 19:01 ` Motsyo Gennadi aka Drool
2009-11-09 23:49 ` Андрей Ковтун
2009-11-10 0:33 ` Motsyo Gennadi aka Drool
2009-11-13 8:46 ` Michael Shigorin [this message]
2009-11-14 20:16 ` Max Ivanov
2009-11-14 20:39 ` Michael Shigorin
2009-11-16 5:56 ` Alexey Novikov
2009-11-16 8:35 ` Alexey Gladkov
2009-11-16 8:56 ` Alexey Novikov
2009-11-19 8:56 ` Ildar Mulyukov
2009-12-10 11:23 ` Michael Shigorin
2009-12-10 12:06 ` Ildar Mulyukov
2009-11-08 23:40 ` Денис Смирнов
2009-11-08 11:36 ` Michael A. Kangin
2009-11-08 23:39 ` Денис Смирнов
2009-11-09 8:34 ` Andrey Rahmatullin
2009-11-10 13:36 ` Денис Смирнов
2009-11-08 11:25 ` Motsyo Gennadi aka Drool
2009-11-08 14:41 ` Grigory Batalov
2009-11-08 8:49 ` Grigory Batalov
2009-11-08 9:06 ` Anton Farygin
2009-11-08 9:51 ` Андрей Ковтун
2009-11-08 9:56 ` Anton Farygin
2009-11-08 14:38 ` Grigory Batalov
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=20091113084622.GZ13476@osdn.org.ua \
--to=mike@osdn.org.ua \
--cc=shigorin@gmail.com \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git