Discussion:
[Ipmitool-devel] Convert CVS to Git - lets get started
Petter Reinholdtsen
2014-01-11 10:29:38 UTC
Permalink
I had a look at converting the ipmitool CVS repository to git, and
came across
<URL: http://www.pete-woods.com/blog/convertingacvsrepositoryonsourceforgetoagitrepository >
which is a script doing the job.

It seem to work well, but will need a map from usernames to full name
and email address to give a sensible git repository. This is the list
of authors currently mentioned in the CVS repo.

627 Author: iceblink <>
336 Author: stybla <>
127 Author: zoltar74 <>
110 Author: isabellf <>
98 Author: audetjm <>
60 Author: carolh <>
52 Author: jmank <>
22 Author: ledva <>
17 Author: blaism <>
15 Author: ohrn <>
15 Author: jharg <>
13 Author: pere <>
12 Author: lorf <>
11 Author: scratchnsniff <>
9 Author: jdblair <>
9 Author: chu11 <>

I'll try to create a mapping file before doing the conversion.

Should I go ahead and do the conversion and upload the git repo to
sourceforge (or somewhere else)?
--
Happy hacking
Petter Reinholdtsen
Zdenek Styblik
2014-01-11 10:53:28 UTC
Permalink
Post by Petter Reinholdtsen
I had a look at converting the ipmitool CVS repository to git, and
came across
<URL: http://www.pete-woods.com/blog/convertingacvsrepositoryonsourceforgetoagitrepository >
which is a script doing the job.
It seem to work well, but will need a map from usernames to full name
and email address to give a sensible git repository. This is the list
of authors currently mentioned in the CVS repo.
It really depends for how long you're willing and want to wait. I'm
almost sure some of those peoples are "gone". And for those, I'd roll
with: $username <$***@users.sourceforge.net>

[...]
Post by Petter Reinholdtsen
Should I go ahead and do the conversion and upload the git repo to
sourceforge (or somewhere else)?
Let's stick with SF.net.

Z.
Post by Petter Reinholdtsen
--
Happy hacking
Petter Reinholdtsen
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ipmitool-devel mailing list
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
Petter Reinholdtsen
2014-01-11 11:06:46 UTC
Permalink
Thank you for the details. I dug into my was email archive, and
combined your info and mine, and end up with this list:

'iceblink' : ('Duncan Laurie', '***@iceblink.org'),
'stybla' : ('Zdenek Styblik', '***@gmail.com'),
'zoltar74' : ('Jeremy Ellington', '***@jeremye.net'),
'isabellf' : ('Francois Isabelle', '***@users.sourceforge.net'),
'audetjm' : ('Jean-Michel Audet', 'Jean-***@ca.Kontron.com'),
'carolh' : ('Carol Hebert', '***@us.ibm.com'),
'jmank' : ('Jim Mankovich', '***@hp.com'),
'ledva' : ('Ales Ledvinka', '***@users.sourceforge.net'),
'blaism' : ('Marie-Josee Blais', '***@users.sourceforge.net'),
'ohrn' : ('Fredrik Öhrn', '***@chl.chalmers.se'),
'jharg' : ('Jordan Hargrave', '***@dell.com'),
'pere' : ('Petter Reinholdtsen', '***@hungry.com'),
'lorf' : ('Dmitry Frolov', '***@riss-telecom.ru'),
'scratchnsniff' : ('Jon Cassorla', '***@newisys.com'),
'jdblair' : ('John Blair', '***@sun.com'),
'chu11' : ('Albert Chu', '***@llnl.gov'),

Only three sourceforge.net addresses, for isabellf, ledva and blaism.
I believe this is good enough, but welcome more and correct info if
someone got it. :)
--
Happy hacking
Petter Reinholdtsen
Zdenek Styblik
2014-01-11 11:20:54 UTC
Permalink
Post by Petter Reinholdtsen
Thank you for the details. I dug into my was email archive, and
Only three sourceforge.net addresses, for isabellf, ledva and blaism.
I haven't heard from isabellf or blaism, well, ever.
Post by Petter Reinholdtsen
I believe this is good enough, but welcome more and correct info if
someone got it. :)
I don't think you'll get many responses over the weekend ;) Also, it's
just a git repository.
Anyway ... :)

Z.
Post by Petter Reinholdtsen
--
Happy hacking
Petter Reinholdtsen
Petter Reinholdtsen
2014-01-15 09:28:21 UTC
Permalink
I've completed a draft migration from cvs to git. Please check out
the result on <URL: https://github.com/petterreinholdtsen/ipmitool/ >.

If this look good to you, I suggest it is pushed to sourceforge and
the CVS repo is thrown away. I plan to drop the github repo when
sourceforge become the authorative source. Any objections?
--
Happy hacking
Petter Reinholdtsen
Zdenek Styblik
2014-01-15 09:37:17 UTC
Permalink
Post by Petter Reinholdtsen
I've completed a draft migration from cvs to git. Please check out
the result on <URL: https://github.com/petterreinholdtsen/ipmitool/ >.
If this look good to you, I suggest it is pushed to sourceforge and
Please, can you explain what you mean by "pushed"?
Post by Petter Reinholdtsen
the CVS repo is thrown away. I plan to drop the github repo when
sourceforge become the authorative source. Any objections?
Yes, I have like a two.
1] I don't want to receive 1.5k e-mails :)
2] I think information about releases got somehow lost. I mean, eg.
1.8.13 got released from commit XYZ, 1.8.12 got released from commit
ABC etc.

Z.
Post by Petter Reinholdtsen
--
Happy hacking
Petter Reinholdtsen
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ipmitool-devel mailing list
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
Petter Reinholdtsen
2014-01-15 09:45:51 UTC
Permalink
[Zdenek Styblik]
Post by Zdenek Styblik
Please, can you explain what you mean by "pushed"?
I mean 'git push' to a freshly created git repository on sourceforge.
Post by Zdenek Styblik
Post by Petter Reinholdtsen
the CVS repo is thrown away. I plan to drop the github repo when
sourceforge become the authorative source. Any objections?
Yes, I have like a two.
1] I don't want to receive 1.5k e-mails :)
What do you mean?
Post by Zdenek Styblik
2] I think information about releases got somehow lost. I mean, eg.
1.8.13 got released from commit XYZ, 1.8.12 got released from commit
ABC etc.
Hm. No idea why. To fix it I would have to understand more of the
conversion process. Not quite sure when I find time to look at it,
but will if no-one else beat me to it. :)
--
Happy hacking
Petter Reinholdtsen
Zdenek Styblik
2014-01-15 09:55:49 UTC
Permalink
Post by Petter Reinholdtsen
[Zdenek Styblik]
Post by Zdenek Styblik
Please, can you explain what you mean by "pushed"?
I mean 'git push' to a freshly created git repository on sourceforge.
Ok.
Post by Petter Reinholdtsen
Post by Zdenek Styblik
Post by Petter Reinholdtsen
the CVS repo is thrown away. I plan to drop the github repo when
sourceforge become the authorative source. Any objections?
Yes, I have like a two.
1] I don't want to receive 1.5k e-mails :)
What do you mean?
Every commit into CVS sends an e-mail. I just hope the same thing
won't happen with newly created git repository and 1.5k commits. Of
course, such feature is wanted to be on after CVS is thrown away.
But, anyway, it's just a personal preference. I can always filter
those e-mails out and trash them ;)

Z.
Post by Petter Reinholdtsen
Post by Zdenek Styblik
2] I think information about releases got somehow lost. I mean, eg.
1.8.13 got released from commit XYZ, 1.8.12 got released from commit
ABC etc.
Hm. No idea why. To fix it I would have to understand more of the
conversion process. Not quite sure when I find time to look at it,
but will if no-one else beat me to it. :)
--
Happy hacking
Petter Reinholdtsen
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ipmitool-devel mailing list
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
Petter Reinholdtsen
2014-01-30 19:34:08 UTC
Permalink
[Zdenek Styblik]
Post by Zdenek Styblik
Every commit into CVS sends an e-mail. I just hope the same thing
won't happen with newly created git repository and 1.5k commits. Of
course, such feature is wanted to be on after CVS is thrown away.
But, anyway, it's just a personal preference. I can always filter
those e-mails out and trash them ;)
Right. I have not looked at commit email support yet, and planned to
look at that after the migration. In other words, the initial import
should not generate any commit messages.
Post by Zdenek Styblik
2] I think information about releases got somehow lost. I mean, eg.
1.8.13 got released from commit XYZ, 1.8.12 got released from commit
ABC etc.
I had a closer look at this, and am unable to understand what you are
missing. This is the output from 'git tag', and I believe it contain
the tags pinpointing the releases:

IPMITOOL_1_4_1_1
IPMITOOL_1_5_4
IPMITOOL_1_5_6
IPMITOOL_1_5_7
IPMITOOL_1_5_8
IPMITOOL_1_5_9
IPMITOOL_1_6_0
IPMITOOL_1_6_1
IPMITOOL_1_8_0
IPMITOOL_1_8_12
IPMITOOL_1_8_13
IPMITOOL_1_8_13RC1
IPMITOOL_1_8_5
IPMITOOL_1_8_6
IPMITOOL_1_8_7
IPMITOOL_1_8_8
IPMITOOL_1_8_9
IPMITOOL_S10_U1
ipmitool

What am I missing?
--
Happy hacking
Petter Reinholdtsen
Zdenek Styblik
2014-01-30 19:43:45 UTC
Permalink
Post by Petter Reinholdtsen
[Zdenek Styblik]
Post by Zdenek Styblik
Every commit into CVS sends an e-mail. I just hope the same thing
won't happen with newly created git repository and 1.5k commits. Of
course, such feature is wanted to be on after CVS is thrown away.
But, anyway, it's just a personal preference. I can always filter
those e-mails out and trash them ;)
Right. I have not looked at commit email support yet, and planned to
look at that after the migration. In other words, the initial import
should not generate any commit messages.
Post by Zdenek Styblik
2] I think information about releases got somehow lost. I mean, eg.
1.8.13 got released from commit XYZ, 1.8.12 got released from commit
ABC etc.
I had a closer look at this, and am unable to understand what you are
missing. This is the output from 'git tag', and I believe it contain
IPMITOOL_1_4_1_1
IPMITOOL_1_5_4
IPMITOOL_1_5_6
IPMITOOL_1_5_7
IPMITOOL_1_5_8
IPMITOOL_1_5_9
IPMITOOL_1_6_0
IPMITOOL_1_6_1
IPMITOOL_1_8_0
IPMITOOL_1_8_12
IPMITOOL_1_8_13
IPMITOOL_1_8_13RC1
IPMITOOL_1_8_5
IPMITOOL_1_8_6
IPMITOOL_1_8_7
IPMITOOL_1_8_8
IPMITOOL_1_8_9
IPMITOOL_S10_U1
ipmitool
What am I missing?
I don't see any either on github itself or in cloned out git repo.

Z.
Post by Petter Reinholdtsen
--
Happy hacking
Petter Reinholdtsen
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Ipmitool-devel mailing list
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
Petter Reinholdtsen
2014-01-30 21:23:25 UTC
Permalink
[Zdenek Styblik]
Post by Zdenek Styblik
I don't see any either on github itself or in cloned out git repo.
Hm. I tried 'git push --tags'. Any better?
--
Happy hacking
Petter Reinholdtsen
Petter Reinholdtsen
2014-01-31 08:36:49 UTC
Permalink
I've replaced the git repository on
<URL: https://github.com/petterreinholdtsen/ipmitool/ > with a new
export from CVS. Please remove your old clone and fetch the new one.

Is this git repository good enough for us to migrate from CVS to git
now?

If so, I'll update ipmitool on sourceforge to use git instead of CVS
(and remove the CVS repository), and look for a way to get commit
emails set up.
--
Happy hacking
Petter Reinholdtsen
Ales Ledvinka
2014-01-31 09:47:19 UTC
Permalink
Hello,

Works for me, almost.
Except the CVS Keywords.
http://stackoverflow.com/questions/384108/moving-from-cvs-to-git-id-equivalent

Keep or drop?

src/plugins/lan/md5.c
+/* $Id: md5.c,v 1.1 2003/11/18 17:56:02 iceblink Exp $ */
-/* $Id: md5.c,v 1.1.1.1 2003/11/18 17:56:02 iceblink Exp $ */

src/plugins/lan/md5.h
+/* $Id: md5.h,v 1.1 2003/11/18 17:56:02 iceblink Exp $ */
-/* $Id: md5.h,v 1.1.1.1 2003/11/18 17:56:02 iceblink Exp $ */

----- Original Message -----
From: "Petter Reinholdtsen" <***@hungry.com>
To: ipmitool-***@lists.sourceforge.net
Sent: Friday, January 31, 2014 9:36:49 AM
Subject: Re: [Ipmitool-devel] Convert CVS to Git - lets get started

I've replaced the git repository on
<URL: https://github.com/petterreinholdtsen/ipmitool/ > with a new
export from CVS. Please remove your old clone and fetch the new one.

Is this git repository good enough for us to migrate from CVS to git
now?

If so, I'll update ipmitool on sourceforge to use git instead of CVS
(and remove the CVS repository), and look for a way to get commit
emails set up.
--
Happy hacking
Petter Reinholdtsen
Petter Reinholdtsen
2014-01-31 09:53:47 UTC
Permalink
[Ales Ledvinka]
Post by Ales Ledvinka
Hello,
Works for me, almost.
Great. :)
Post by Ales Ledvinka
Except the CVS Keywords.
http://stackoverflow.com/questions/384108/moving-from-cvs-to-git-id-equivalent
Keep or drop?
I suggest we drop them. They no longer make sense with git.
--
Happy hacking
Petter Reinholdtsen
Ales Ledvinka
2014-01-31 10:03:00 UTC
Permalink
Same vote here. But let's see if the admin casts a veto.

2 more files found
src/plugins/imb/imbapi.c
src/plugins/imb/imbapi.h

----- Original Message -----
From: "Petter Reinholdtsen" <***@hungry.com>
To: ipmitool-***@lists.sourceforge.net
Sent: Friday, January 31, 2014 10:53:47 AM
Subject: Re: [Ipmitool-devel] Convert CVS to Git - lets get started

[Ales Ledvinka]
Post by Ales Ledvinka
Hello,
Works for me, almost.
Great. :)
Post by Ales Ledvinka
Except the CVS Keywords.
http://stackoverflow.com/questions/384108/moving-from-cvs-to-git-id-equivalent
Keep or drop?
I suggest we drop them. They no longer make sense with git.
--
Happy hacking
Petter Reinholdtsen
Petter Reinholdtsen
2014-01-31 10:35:44 UTC
Permalink
[Ales Ledvinka]
Post by Ales Ledvinka
Same vote here. But let's see if the admin casts a veto.
I've pushed the git source to
<URL: https://sourceforge.net/p/ipmitool/source/ > now. Not too late
to remove it and start again, but as I suspect it is OK now, I just
went ahead and fixed it. Looking at commit emails now.

Should we move the files from the subdirectory ipmitool/ in git to the
root of the repository?
--
Happy hacking
Petter Reinholdtsen
Jim Mankovich
2014-01-31 12:51:49 UTC
Permalink
Peter,

looks great. I'd be just fine with moving the files from subdirectory
ipmitool/ in git to the root of the repository.

Thanks for making this happen,
Jim
Post by Petter Reinholdtsen
[Ales Ledvinka]
Post by Ales Ledvinka
Same vote here. But let's see if the admin casts a veto.
I've pushed the git source to
<URL: https://sourceforge.net/p/ipmitool/source/ > now. Not too late
to remove it and start again, but as I suspect it is OK now, I just
went ahead and fixed it. Looking at commit emails now.
Should we move the files from the subdirectory ipmitool/ in git to the
root of the repository?
--
Petter Reinholdtsen
2014-02-05 15:34:27 UTC
Permalink
[Petter Reinholdtsen 2014-01-31]
Post by Petter Reinholdtsen
I've pushed the git source to
<URL: https://sourceforge.net/p/ipmitool/source/ > now. Not too late
to remove it and start again, but as I suspect it is OK now, I just
went ahead and fixed it. Looking at commit emails now.
Commit emails are fixed, and no-one objected to the migration that I
noticed. Because of this, I hereby declare the git repository the
official ipmitool repository. :)

The now obsolete CVS respositry should get a last commit explaining that
it no longer is the correct place to trach the source, and a link to the
new one.
Post by Petter Reinholdtsen
Should we move the files from the subdirectory ipmitool/ in git to the
root of the repository?
No opinions on this?
--
Happy hacking
Petter Reinholdtsen
Zdenek Styblik
2014-02-05 15:45:55 UTC
Permalink
Post by Petter Reinholdtsen
Post by Petter Reinholdtsen
Should we move the files from the subdirectory ipmitool/ in git to the
root of the repository?
No opinions on this?
It probably would be a good thing to do, since it creates
'ipmitool-source/ipmitool/' which is ... *shrug* ... strange? :) So
+1.

Z.
Dan Gora
2014-02-05 15:51:08 UTC
Permalink
Post by Petter Reinholdtsen
[Petter Reinholdtsen 2014-01-31]
Post by Petter Reinholdtsen
I've pushed the git source to
<URL: https://sourceforge.net/p/ipmitool/source/ > now. Not too late
to remove it and start again, but as I suspect it is OK now, I just
went ahead and fixed it. Looking at commit emails now.
Commit emails are fixed, and no-one objected to the migration that I
noticed. Because of this, I hereby declare the git repository the
official ipmitool repository. :)
Great job on this! Thanks a lot!

The only other thing that you might want to look at is getting rid of the "
This commit was manufactured by cvs2svn to create tag
'IPMITOOL_1_8_13'." commits and just manually putting the tags on the
correct commit (usually the one before it I believe). That will
eliminate the need for these extra useless branches and merges.
Post by Petter Reinholdtsen
The now obsolete CVS respositry should get a last commit explaining that
it no longer is the correct place to trach the source, and a link to the
new one.
Post by Petter Reinholdtsen
Should we move the files from the subdirectory ipmitool/ in git to the
root of the repository?
No opinions on this?
Yes please, IMHO... Otherwise you get things like this:

dg:speedy:ipmitool => git clone git://git.code.sf.net/p/ipmitool/source latest
Cloning into 'latest'...
remote: Counting objects: 9940, done.
remote: Compressing objects: 100% (2166/2166), done.
remote: Total 9940 (delta 6228), reused 9929 (delta 6224)
Receiving objects: 100% (9940/9940), 1.78 MiB | 370.00 KiB/s, done.
Resolving deltas: 100% (6228/6228), done.
Checking connectivity... done
dg:speedy:ipmitool => ls
latest/
dg:speedy:ipmitool => cd latest/
dg:speedy:latest(master) => ls
ipmitool/
dg:speedy:latest(master) =>

There's no reason to have that extra ipmitool directory.

thanks
dan
--
Dan Gora
Software Engineer

Adax, Inc.
Av Dona Maria Alves, 1070 Casa 5
Centro
Ubatuba, SP
CEP 11680-000
Brasil

Tel: +55 (12) 3833-1021 (Brazil and outside of US)
: +1 (510) 859-4801 (Inside of US)
: dan_gora (Skype)

email: ***@adax.com
Zdenek Styblik
2014-01-31 14:01:29 UTC
Permalink
On Fri, Jan 31, 2014 at 9:36 AM, Petter Reinholdtsen <***@hungry.com> wrote:
[...]
Post by Petter Reinholdtsen
(and remove the CVS repository)
Petter,

I just wonder why would you do such thing.

Z.
Petter Reinholdtsen
2014-01-31 14:11:12 UTC
Permalink
[Zdenek Styblik]
Post by Jim Mankovich
Post by Petter Reinholdtsen
(and remove the CVS repository)
Petter,
I just wonder why would you do such thing.
Why I would remove the then obsolete CVS repository if we migrate to
git? To make sure everyone trying to track the current ipmitool
source know that the CVS respotiory is obsolete. To make sure no-one
end up like I have done, several times, trying to track what is
believed to be the upstream version control system only to find out
that it was abandoned years ago.

Why are you asking?
--
Happy hacking
Petter Reinholdtsen
Zdenek Styblik
2014-01-31 15:28:58 UTC
Permalink
Post by Petter Reinholdtsen
[Zdenek Styblik]
Post by Jim Mankovich
Post by Petter Reinholdtsen
(and remove the CVS repository)
Petter,
I just wonder why would you do such thing.
Why I would remove the then obsolete CVS repository if we migrate to
git? To make sure everyone trying to track the current ipmitool
source know that the CVS respotiory is obsolete. To make sure no-one
end up like I have done, several times, trying to track what is
believed to be the upstream version control system only to find out
that it was abandoned years ago.
Why are you asking?
Because trashing it doesn't make any sense since it contains all history up
until now. I believe people are inteligent enough to figure out which repo
is active. And one last commit with a note in Readme should be enough.

Z.
Post by Petter Reinholdtsen
--
Happy hacking
Petter Reinholdtsen
------------------------------------------------------------------------------
Post by Petter Reinholdtsen
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
Post by Petter Reinholdtsen
_______________________________________________
Ipmitool-devel mailing list
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
Petter Reinholdtsen
2014-01-31 15:45:12 UTC
Permalink
[Zdenek Styblik]
Post by Zdenek Styblik
Because trashing it doesn't make any sense since it contains all
history up until now.
So do the git repository, I believe.
Post by Zdenek Styblik
I believe people are inteligent enough to figure out which repo is
active. And one last commit with a note in Readme should be enough.
Well, observation show that it is not about intelligence, but more
about available knowledge and time, and that some people will use the
wrong repository if more than one repository is available. :)

But if you want to keep it for a while, I'll let it be after the
migration. :)
--
Happy hacking
Petter Reinholdtsen
Jim Mankovich
2014-01-15 14:20:34 UTC
Permalink
Petter,
Your migration to git does not seem to have the CVS tags which
texturally identify the versions of each file which makes up all prior
releases ipmitool. This means that there will be no way to check out
prior source releases of ipmitool to fix defects. The ipmitool CVS
tags need to be migrated to the git repository.

Jim
Post by Petter Reinholdtsen
I've completed a draft migration from cvs to git. Please check out
the result on <URL: https://github.com/petterreinholdtsen/ipmitool/ >.
If this look good to you, I suggest it is pushed to sourceforge and
the CVS repo is thrown away. I plan to drop the github repo when
sourceforge become the authorative source. Any objections?
--
Loading...