* [newbies] Путь пакета в бранч
@ 2010-01-31 12:22 Anton A. Vinogradov
2010-01-31 13:25 ` Anton A. Vinogradov
0 siblings, 1 reply; 16+ messages in thread
From: Anton A. Vinogradov @ 2010-01-31 12:22 UTC (permalink / raw)
To: devel-newbies
Итак, пошли:
git checkout -b M51
mcedit scratch-plugins.spec
add_changelog -e '- build for 5.1 branch' scratch-plugins.spec
gear-commit
git push --tags
ssh git.alt build -b 5.1 packages/scratch-plugins.git 1.4-alt0.3.M51.1
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-01-31 12:22 [newbies] Путь пакета в бранч Anton A. Vinogradov
@ 2010-01-31 13:25 ` Anton A. Vinogradov
2010-02-14 12:45 ` Anton A. Vinogradov
0 siblings, 1 reply; 16+ messages in thread
From: Anton A. Vinogradov @ 2010-01-31 13:25 UTC (permalink / raw)
To: devel-newbies
31.01.2010 15:22, Anton A. Vinogradov пишет:
> Итак, пошли:
> git checkout -b M51
> mcedit scratch-plugins.spec
> add_changelog -e '- build for 5.1 branch' scratch-plugins.spec
> gear-commit
> git push --tags
> ssh git.alt build -b 5.1 packages/scratch-plugins.git 1.4-alt0.3.M51.1
2010-Jan-31 16:15:09 :: version check OK
2010-Jan-31 16:15:44 :: created test repo
i586: NEW unmet dependencies detected:
scratch#1.4-alt0.6.M51.1 scratch-plugins = 1.4
x86_64: NEW unmet dependencies detected:
scratch#1.4-alt0.6.M51.1 scratch-plugins = 1.4
Надо собирать в правильной последовательности.
task.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-01-31 13:25 ` Anton A. Vinogradov
@ 2010-02-14 12:45 ` Anton A. Vinogradov
2010-02-14 17:47 ` Anton A. Vinogradov
0 siblings, 1 reply; 16+ messages in thread
From: Anton A. Vinogradov @ 2010-02-14 12:45 UTC (permalink / raw)
To: devel-newbies
31.01.2010 16:25, Anton A. Vinogradov пишет:
> 31.01.2010 15:22, Anton A. Vinogradov пишет:
>> Итак, пошли:
>> git checkout -b M51
>> mcedit scratch-plugins.spec
>> add_changelog -e '- build for 5.1 branch' scratch-plugins.spec
>> gear-commit
>> git push --tags
>> ssh git.alt build -b 5.1 packages/scratch-plugins.git 1.4-alt0.3.M51.1
>
> 2010-Jan-31 16:15:09 :: version check OK
> 2010-Jan-31 16:15:44 :: created test repo
> i586: NEW unmet dependencies detected:
> scratch#1.4-alt0.6.M51.1 scratch-plugins = 1.4
> x86_64: NEW unmet dependencies detected:
> scratch#1.4-alt0.6.M51.1 scratch-plugins = 1.4
>
> Надо собирать в правильной последовательности.
> task.
Для новой версии.
Не забываем вернуться назад в основной бранч
git checkout master
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-02-14 12:45 ` Anton A. Vinogradov
@ 2010-02-14 17:47 ` Anton A. Vinogradov
2010-02-14 17:56 ` Andrey Rahmatullin
2010-02-14 18:42 ` Michael Shigorin
0 siblings, 2 replies; 16+ messages in thread
From: Anton A. Vinogradov @ 2010-02-14 17:47 UTC (permalink / raw)
To: devel-newbies
14.02.2010 15:45, Anton A. Vinogradov пишет:
> 31.01.2010 16:25, Anton A. Vinogradov пишет:
>> 31.01.2010 15:22, Anton A. Vinogradov пишет:
>>> Итак, пошли:
>>> git checkout -b M51
>>> mcedit scratch-plugins.spec
>>> add_changelog -e '- build for 5.1 branch' scratch-plugins.spec
>>> gear-commit
>>> git push --tags
>>> ssh git.alt build -b 5.1 packages/scratch-plugins.git 1.4-alt0.3.M51.1
>>
>> 2010-Jan-31 16:15:09 :: version check OK
>> 2010-Jan-31 16:15:44 :: created test repo
>> i586: NEW unmet dependencies detected:
>> scratch#1.4-alt0.6.M51.1 scratch-plugins = 1.4
>> x86_64: NEW unmet dependencies detected:
>> scratch#1.4-alt0.6.M51.1 scratch-plugins = 1.4
>>
>> Надо собирать в правильной последовательности.
>> task.
> Для новой версии.
> Не забываем вернуться назад в основной бранч
> git checkout master
Удалить бранч
git branch -D M51
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-02-14 17:47 ` Anton A. Vinogradov
@ 2010-02-14 17:56 ` Andrey Rahmatullin
2010-02-14 18:24 ` Anton A. Vinogradov
2010-02-14 18:42 ` Michael Shigorin
1 sibling, 1 reply; 16+ messages in thread
From: Andrey Rahmatullin @ 2010-02-14 17:56 UTC (permalink / raw)
To: devel-newbies
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
On Sun, Feb 14, 2010 at 08:47:07PM +0300, Anton A. Vinogradov wrote:
> Удалить бранч
> git branch -D M51
Зачем его удалять?
--
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):
<raorn> dottedmag, wRAR, rossMoHaX: мне насрать сколько будет питонов если оно
не будет выносить мне пол системы
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-02-14 17:47 ` Anton A. Vinogradov
2010-02-14 17:56 ` Andrey Rahmatullin
@ 2010-02-14 18:42 ` Michael Shigorin
2010-03-26 18:26 ` Anton A. Vinogradov
1 sibling, 1 reply; 16+ messages in thread
From: Michael Shigorin @ 2010-02-14 18:42 UTC (permalink / raw)
To: devel-newbies
On Sun, Feb 14, 2010 at 08:47:07PM +0300, Anton A. Vinogradov wrote:
> Удалить бранч git branch -D M51
1) _запоротый_ бранч -- если он нормальный, удалять его
совершенно ни к чему, потом придётся тащить с git.alt
(ради наследования);
2) лучше в качестве привычки взять -d -- проверит смерженность
бранча в текущий, а про -D подскажет.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-02-14 18:42 ` Michael Shigorin
@ 2010-03-26 18:26 ` Anton A. Vinogradov
2010-03-27 13:26 ` Michael Shigorin
0 siblings, 1 reply; 16+ messages in thread
From: Anton A. Vinogradov @ 2010-03-26 18:26 UTC (permalink / raw)
To: devel@ where you _can_ ask
14.02.2010 21:42, Michael Shigorin пишет:
> On Sun, Feb 14, 2010 at 08:47:07PM +0300, Anton A. Vinogradov wrote:
>> Удалить бранч git branch -D M51
>
> 1) _запоротый_ бранч -- если он нормальный, удалять его
> совершенно ни к чему, потом придётся тащить с git.alt
> (ради наследования);
> 2) лучше в качестве привычки взять -d -- проверит смерженность
> бранча в текущий, а про -D подскажет.
>
похоже где-то я его таки удалил.
.......
2010-Mar-26 21:15:26 :: error: psi-plus.git tag
`0.15-alt0.r2024.0.M51.1' is not inherited from /gears/p/psi-plus.git
branch `5.1'
.......
http://git.altlinux.org/tasks/22413/task/log
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-03-26 18:26 ` Anton A. Vinogradov
@ 2010-03-27 13:26 ` Michael Shigorin
2010-03-27 18:55 ` Anton A. Vinogradov
0 siblings, 1 reply; 16+ messages in thread
From: Michael Shigorin @ 2010-03-27 13:26 UTC (permalink / raw)
To: devel@ where you _can_ ask
On Fri, Mar 26, 2010 at 09:26:57PM +0300, Anton A. Vinogradov wrote:
> >>Удалить бранч git branch -D M51
> >1) _запоротый_ бранч -- если он нормальный, удалять его
> > совершенно ни к чему, потом придётся тащить с git.alt
> > (ради наследования);
> >2) лучше в качестве привычки взять -d -- проверит смерженность
> > бранча в текущий, а про -D подскажет.
> похоже где-то я его таки удалил.
> .......
> 2010-Mar-26 21:15:26 :: error: psi-plus.git tag
> `0.15-alt0.r2024.0.M51.1' is not inherited from /gears/p/psi-plus.git
> branch `5.1'
> .......
> http://git.altlinux.org/tasks/22413/task/log
Ну можно из gears и дёрнуть. :)
git remote add origin git.alt:/gears/p/psi-plus.git
git remote update
git remote show
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-03-27 13:26 ` Michael Shigorin
@ 2010-03-27 18:55 ` Anton A. Vinogradov
2010-03-30 14:37 ` Evgeny Sinelnikov
2010-03-30 20:54 ` Michael Shigorin
0 siblings, 2 replies; 16+ messages in thread
From: Anton A. Vinogradov @ 2010-03-27 18:55 UTC (permalink / raw)
To: devel@ where you _can_ ask
27.03.2010 16:26, Michael Shigorin пишет:
> On Fri, Mar 26, 2010 at 09:26:57PM +0300, Anton A. Vinogradov wrote:
>>>> Удалить бранч git branch -D M51
>>> 1) _запоротый_ бранч -- если он нормальный, удалять его
>>> совершенно ни к чему, потом придётся тащить с git.alt
>>> (ради наследования);
>>> 2) лучше в качестве привычки взять -d -- проверит смерженность
>>> бранча в текущий, а про -D подскажет.
>> похоже где-то я его таки удалил.
>> .......
>> 2010-Mar-26 21:15:26 :: error: psi-plus.git tag
>> `0.15-alt0.r2024.0.M51.1' is not inherited from /gears/p/psi-plus.git
>> branch `5.1'
>> .......
>> http://git.altlinux.org/tasks/22413/task/log
>
> Ну можно из gears и дёрнуть. :)
>
> git remote add origin git.alt:/gears/p/psi-plus.git
> git remote update
> git remote show
>
собезьянил
arc@arc-laptop ~/Documents/ALTLinux/devel/psi-plus $ git remote add
origin git.alt:/gears/p/psi-plus.git
fatal: remote origin already exists.
arc@arc-laptop ~/Documents/ALTLinux/devel/psi-plus $ git remote update
Fetching origin
arc@arc-laptop ~/Documents/ALTLinux/devel/psi-plus $ git remote show
origin
не помогло.
пока буду думать -- не видать 51 нового пси :)
с вебкитом и анимированными смайлами.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-03-27 18:55 ` Anton A. Vinogradov
@ 2010-03-30 14:37 ` Evgeny Sinelnikov
2010-03-30 14:47 ` Anton A. Vinogradov
2010-03-30 20:54 ` Michael Shigorin
1 sibling, 1 reply; 16+ messages in thread
From: Evgeny Sinelnikov @ 2010-03-30 14:37 UTC (permalink / raw)
To: devel@ where you _can_ ask
27 марта 2010 г. 21:55 пользователь Anton A. Vinogradov
<vinogradov.mail@gmail.com> написал:
> 27.03.2010 16:26, Michael Shigorin пишет:
>>
>> On Fri, Mar 26, 2010 at 09:26:57PM +0300, Anton A. Vinogradov wrote:
>>>>>
>>>>> Удалить бранч git branch -D M51
>>>>
>>>> 1) _запоротый_ бранч -- если он нормальный, удалять его
>>>> совершенно ни к чему, потом придётся тащить с git.alt
>>>> (ради наследования);
>>>> 2) лучше в качестве привычки взять -d -- проверит смерженность
>>>> бранча в текущий, а про -D подскажет.
>>>
>>> похоже где-то я его таки удалил.
>>> .......
>>> 2010-Mar-26 21:15:26 :: error: psi-plus.git tag
>>> `0.15-alt0.r2024.0.M51.1' is not inherited from /gears/p/psi-plus.git
>>> branch `5.1'
>>> .......
>>> http://git.altlinux.org/tasks/22413/task/log
>>
>> Ну можно из gears и дёрнуть. :)
>>
>> git remote add origin git.alt:/gears/p/psi-plus.git
>> git remote update
>> git remote show
>>
> собезьянил
> arc@arc-laptop ~/Documents/ALTLinux/devel/psi-plus $ git remote add origin
> git.alt:/gears/p/psi-plus.git
> fatal: remote origin already exists.
> arc@arc-laptop ~/Documents/ALTLinux/devel/psi-plus $ git remote update
> Fetching origin
> arc@arc-laptop ~/Documents/ALTLinux/devel/psi-plus $ git remote show
> origin
>
нужно смотреть так:
$ git remote show origin
должно быть также:
$ git remote show git://git.altlinux.org/gears/p/psi-plus.git
* remote git://git.altlinux.org/gears/p/psi-plus.git
Fetch URL: git://git.altlinux.org/gears/p/psi-plus.git
Push URL: git://git.altlinux.org/gears/p/psi-plus.git
HEAD branch: sisyphus
> не помогло.
>
> пока буду думать -- не видать 51 нового пси :)
> с вебкитом и анимированными смайлами.
Я не понял в чём проблема...
Судя по всему в этом:
$ ssh git.alt task show 22413
id=22413 locked=no shared=no test_only=no repo=5.1 owner=arc seq=2 rc=1
1:dir=/people/arc/packages/psi-plus.git
1:tag_name=0.15-alt0.r2024.0.M51.1
1:tag_id=9f71a52a939367e5e92b109a90df71710ded9e4d
1:tag_author=Anton A. Vinogradov (for altlinux.org) <arc@altlinux.org>
1:userid=arc
Наверное, #22626 счас пролезет.
--
Sin (Sinelnikov Evgeny)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-03-30 14:37 ` Evgeny Sinelnikov
@ 2010-03-30 14:47 ` Anton A. Vinogradov
2010-03-30 14:56 ` Evgeny Sinelnikov
0 siblings, 1 reply; 16+ messages in thread
From: Anton A. Vinogradov @ 2010-03-30 14:47 UTC (permalink / raw)
To: devel@ where you _can_ ask
> Наверное, #22626 счас пролезет.
>
нет. не пролезло.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-03-30 14:47 ` Anton A. Vinogradov
@ 2010-03-30 14:56 ` Evgeny Sinelnikov
2010-03-30 15:07 ` Anton A. Vinogradov
0 siblings, 1 reply; 16+ messages in thread
From: Evgeny Sinelnikov @ 2010-03-30 14:56 UTC (permalink / raw)
To: devel@ where you _can_ ask
30 марта 2010 г. 18:47 пользователь Anton A. Vinogradov
<vinogradov.mail@gmail.com> написал:
>
>> Наверное, #22626 счас пролезет.
>>
> нет. не пролезло.
>
Я заметил там-таки ветку 5.1
вам нужно
- подключить git://git.altlinux.org/gears/p/psi-plus.git
- вытянуть ветку 5.1
- продолжить историю от этой ветки
например так:
$ git remote add gears git://git.altlinux.org/gears/p/psi-plus.git
$ git fetch gears 5.1:5.1
$ git checkout 5.1
$ git merge master
если будут конфликты, советую установить kdiff3 и выполнить, указав
kdiff3 вместо vimdiff:
$ git mergetool
$ git commit
Вообще, я не совсем понимаю, как вы ведёте работу для разных бранчей в
одной ветке master.
--
Sin (Sinelnikov Evgeny)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-03-30 14:56 ` Evgeny Sinelnikov
@ 2010-03-30 15:07 ` Anton A. Vinogradov
2010-03-30 15:24 ` Evgeny Sinelnikov
0 siblings, 1 reply; 16+ messages in thread
From: Anton A. Vinogradov @ 2010-03-30 15:07 UTC (permalink / raw)
To: devel@ where you _can_ ask
30.03.2010 18:56, Evgeny Sinelnikov пишет:
> Вообще, я не совсем понимаю, как вы ведёте работу для разных бранчей в
> одной ветке master.
Проблема в том, что я сам не очень понимаю.
Локально у меня два бранча. master и M51.
Раньше обходился тегами, и всё у меня проходило. До недавнего момента.
Один тег пушну из одного, другой из другого.
пока с пси обстоит так:
изменяю локальный мастер
отправляю на сборку.
git checkout M51
заправляю его аналогичным содержимым (тупо копирую)
меняю релиз на ..M51.. add_changelog
отправляю на сборку
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-03-30 15:07 ` Anton A. Vinogradov
@ 2010-03-30 15:24 ` Evgeny Sinelnikov
0 siblings, 0 replies; 16+ messages in thread
From: Evgeny Sinelnikov @ 2010-03-30 15:24 UTC (permalink / raw)
To: devel@ where you _can_ ask
30 марта 2010 г. 19:07 пользователь Anton A. Vinogradov
<vinogradov.mail@gmail.com> написал:
> 30.03.2010 18:56, Evgeny Sinelnikov пишет:
>
>> Вообще, я не совсем понимаю, как вы ведёте работу для разных бранчей в
>> одной ветке master.
>
> Проблема в том, что я сам не очень понимаю.
> Локально у меня два бранча. master и M51.
$ git push origin M51
если origin - это ваше git.alt
> Раньше обходился тегами, и всё у меня проходило. До недавнего момента.
> Один тег пушну из одного, другой из другого.
>
> пока с пси обстоит так:
> изменяю локальный мастер
> отправляю на сборку.
> git checkout M51
> заправляю его аналогичным содержимым (тупо копирую)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Здесь самый важный момент.
Куда из вашего M51 пропали коммиты с тегами вида 0.15-alt0.r1817.M51.1 ?
Вы их отправили в 5.1 а потом продолжили с другого места (более старого).
> меняю релиз на ..M51.. add_changelog
> отправляю на сборку
--
Sin (Sinelnikov Evgeny)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [newbies] Путь пакета в бранч
2010-03-27 18:55 ` Anton A. Vinogradov
2010-03-30 14:37 ` Evgeny Sinelnikov
@ 2010-03-30 20:54 ` Michael Shigorin
1 sibling, 0 replies; 16+ messages in thread
From: Michael Shigorin @ 2010-03-30 20:54 UTC (permalink / raw)
To: devel@ where you _can_ ask
On Sat, Mar 27, 2010 at 09:55:05PM +0300, Anton A. Vinogradov wrote:
> >>>>Удалить бранч git branch -D M51
> >>>1) _запоротый_ бранч -- если он нормальный, удалять его
> >>> совершенно ни к чему, потом придётся тащить с git.alt
> >>> (ради наследования);
^^^^^^^^^^^^^^^^^^ !
> >Ну можно из gears и дёрнуть. :)
> >git remote add origin git.alt:/gears/p/psi-plus.git
Это я глупость сморозил, потом простой git push попытается
туда и затолкать -- и обломится. Лучше не "origin" обозвать
такой remote, а "gears".
То есть целиком:
git remote add gears git.alt:/gears/p/psi-plus.git
git remote show
git remote update
и если нужно смержить историю e.g. гитового бранча 5.1 оттуда, то
git log gears/5.1
git merge gears/5.1
а если есть теги -- то можно смержить отдельный тег
(неважно, "из какого бранча", поскольку всё одно
тег ставится на конкретный коммит):
git merge 0.15-alt0.r1817.M51.1
либо коммит:
git merge 63d41372171f8a4bdc1b3389525f303baa0c229c
> собезьянил
> arc@arc-laptop ~/Documents/ALTLinux/devel/psi-plus $ git remote add
> origin git.alt:/gears/p/psi-plus.git
> fatal: remote origin already exists.
Если репо произошёл посредством git clone, то прописан тот,
откуда склонировано.
А заклинило меня на вот какой строчке, с которой содрал:
git remote add origin git.alt:packages/psi-plus.git
То есть чтоб источником был свой же git.alt repo.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2010-03-30 20:54 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-31 12:22 [newbies] Путь пакета в бранч Anton A. Vinogradov
2010-01-31 13:25 ` Anton A. Vinogradov
2010-02-14 12:45 ` Anton A. Vinogradov
2010-02-14 17:47 ` Anton A. Vinogradov
2010-02-14 17:56 ` Andrey Rahmatullin
2010-02-14 18:24 ` Anton A. Vinogradov
2010-02-14 18:42 ` Michael Shigorin
2010-03-26 18:26 ` Anton A. Vinogradov
2010-03-27 13:26 ` Michael Shigorin
2010-03-27 18:55 ` Anton A. Vinogradov
2010-03-30 14:37 ` Evgeny Sinelnikov
2010-03-30 14:47 ` Anton A. Vinogradov
2010-03-30 14:56 ` Evgeny Sinelnikov
2010-03-30 15:07 ` Anton A. Vinogradov
2010-03-30 15:24 ` Evgeny Sinelnikov
2010-03-30 20:54 ` Michael Shigorin
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