Gentoo Archives: gentoo-science

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] Re: overlay move to git
Date: Mon, 23 Feb 2009 12:29:06
Message-Id: 200902231318.25035.alexxy@gentoo.org
In Reply to: Re: [gentoo-science] Re: overlay move to git by Flammie Pirinen
1 On Понедельник 23 февраля 2009 10:08:55 Flammie Pirinen wrote:
2 > 2009-02-22, My Th sanoi:
3 > > There is my work flow with git on Science overlay.
4 > >
5 > > >$ git clone git+ssh://git@×××××××××××××××××××.org/proj/sci.git
6 > > >$ git branch $NAME
7 > > >$ git checkout $NAME
8 > >
9 > > ... edit ...
10 > >
11 > > >$ git add $FILES
12 > > >$ export ECHANGELOG_USER="Your Name <your.name@g.o>"
13 > > >$ echangelog
14 > > >$ ebuild *.ebuild digest
15 > > >$ repoman -p full
16 > > >$ git add $FILES
17 > > >$ git status
18 > > >$ git commit
19 > > >$ git push --dry-run -v origin HEAD:master
20 > > >$ git checkout master
21 > > >$ git pull origin
22 > > >$ git checkout $NAME
23 > > >$ git rebase master
24 > > >$ git push --dry-run -v origin HEAD:master
25 > > >$ git push -v origin HEAD:master
26 > > >$ git checkout master
27 > > >$ git pull origin
28 > > >$ git branch -d $NAME
29 >
30 > I wonder if this short and simple work flow is really all necessary. I
31 > have to admit I have no prior experience with DVCS’s and in last thread
32 > when I asked advice no one replied, so I just did something along the
33 > lines of:
34 >
35 > $ git pull
36 > $ vim
37 > $ git commit
38 > $ git push
39 >
40 > During my last update. It seemed like it worked though? Will something
41 > break soon if I continue to use this set of commands? What is the work
42 > flow for trivial version bump, if so? I would hope that I do not have
43 > to execute some 22 commands every time I bump my packages from now on.
44
45 Better
46 $ git pull
47 $ vim
48 $ echangelog
49 $ repoman commit
50 $ git push
51
52 --
53 Alexey 'Alexxy' Shvetsov
54 Gentoo/KDE
55 Gentoo/MIPS
56 Gentoo Team Ru

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-science] Re: overlay move to git Justin <justin@×××××××××.net>