Skip to contentSkip to conversation

i2c cvs repository status

DISCUSSION Jean Delvare 3 participants 6 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi Mark,

I can see that you have just been committing important changes to the i2c CVS repository. What's the big idea?

This repository is meant to be Linux-2.4 compatible. I'm having a hard time these days trying to commit older changes into Linux-2.4 itself, before it is too late for such changes to ba accepted. You have to realize that once the Linux-2.4 kernel will have been placed into frozen mode (and this is supposed to happen as 2.4.24 is released), no more changes but bug fixes (and possibly code cleanups) will be accepted. I already doubt I'll be in time to commit all the changes before the deadline. What if you now start adding more new stuff in there?

Let me be clear. Whatever is added to the i2c CVS repository by now (including your recent "emulation patch") is *not* going to go into 2.4. So what's the point in commiting it? New stuff should go into the 2.6 kernel. With the release of the 2.6 kernel, 2.4 is no more the place for development. And the i2c CVS repository as it exists today (well, as it existed yesterday) has no other purpose but to be integrated into Linux 2.4. What is not accepted into 2.4 will more likely be lost forever unless it is ported to Linux 2.6.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#1 lore raw
Quoted 3 lines

I understand.
I didn't expect it to be included in the 2.4 patch; you're working off of the 2.8.2 release, right?

Not really. I am working off of CVS since 2.8.0. It was useful because I sometimes need to make a few adjustments to CVS so that the patches I send look better. Now I'll have to change the way I work. I'll keep my local copy of the CVS apart and won't update it, still I will commit my changes to the CVS. Hopefully there won't be too many conflicts, or this method will fail badly.

Quoted 4 lines

The 'big idea' is to get some testing of the patch
in the 2.4 world, then submit a 2.6 version of the patch to Greg. The patch came in to us against 2.4 so it's much easier to do it this way.

Isn't it strange to use 2.4 for testing? I wouldn't think people will write drivers needing new protocols for the 2.4 kernel. New drivers should go to 2.6.

Once Linux 2.7 starts its life, I'll invite you to move any development effort there, and keep the 2.4 CVS repository for bugfixes only. Idealy the CVS repository would even disappear and the bugfixes committed to 2.4 itself, but since it's unlikely that all of the CVS will be merged into 2.4, I guess we'll have to keep the repository forever.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Jean Delvare
Quoted 3 lines

Shouldn't you work off of the tagged 2.8.2? Then when you submit patches, you say, 'this patch brings the 2.4 kernel up to our 2.8.2 release'. The release is what's widely used and tested.

That's more or less the same. CVS was 2.8.2 plus the few changes I made to remove some noise in the patches. Functionnaly speaking they were the same.

Quoted 1 line

I don't see why i2c CVS now should be exclusively for your use.

That's now how I see it. My point was that the i2c CVS was meant for inclusion into Linux 2.4, and as such wasn't the place for new features, only bug fixes and cleanups, and not from me only. But it looks like you have other views, and I'm not going to argue.

Quoted 2 lines

Let's figure out another way to make it easy on you. Either with a local copy as you describe, or perhaps a CVS branch.

The local copy is easier since I'm the only one interested in it, I guess. I admit that branching would be technically better, but we have had bad experience with CVS branching, and I don't think any of us is easy enough with cvs to take a real benefit of branching.

Quoted 2 lines

Sorry for the misunderstanding. I certainly didn't realize you considered i2c CVS off-limits.

If anyone has opinions on how things should be done, I welcome comments and criticisms. Especially, I'd like to hear Greg about this.

Greg, how do you think future developments should take place now that Linux 2.6.0 is out? I certainly have a few ideas about the topic but these are not shared by everyone, as you can see ;)

Thanks.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#3 lore raw
In reply to Jean Delvare
Quoted 4 lines · Jean Delvare

Greg, how do you think future developments should take place now that Linux 2.6.0 is out? I certainly have a few ideas about the topic but these are not shared by everyone, as you can see ;)

I don't think that you should use a CVS tree at all! You will miss changes that happen in the main kernel tree, and cause those changes to get un-applied when trying to apply your patches. It also causes a mindset of only syncing up with the kernel tree at infrequent intervals, which is not a good thing.

So, I recommend just working off of the main kernel.org tree, and submit any changes that you might have to the main tree. That encourages small changes and you don't miss things that happen to the i2c code by other people (which will happen, just get used to it...)

Personally I use BitKeeper to do this kind of development, it provides a _very_ easy way to merge your changes forward and then break them out and send them on to someone else as a patch. You can also do this with just patch and diff (which is also what I used for a number of years.) I wrote an article for Linux Journal a while ago that explained one way of doing this (for both patch/diff and bitkeeper.)

That's my opinion, thanks for asking :)

greg k-h

#4 lore raw
In reply to Jean Delvare

I understand.
I didn't expect it to be included in the 2.4 patch; you're working off of the 2.8.2 release, right?

The 'big idea' is to get some testing of the patch
in the 2.4 world, then submit a 2.6 version of the patch to Greg. The patch came in to us against 2.4 so it's much easier to do it this way.

mds

Quoted 23 lines · Jean Delvare

Hi Mark,

I can see that you have just been committing important changes to the i2c CVS repository. What's the big idea?

This repository is meant to be Linux-2.4 compatible. I'm having a hard time these days trying to commit older changes into Linux-2.4 itself, before it is too late for such changes to ba accepted. You have to realize that once the Linux-2.4 kernel will have been placed into frozen mode (and this is supposed to happen as 2.4.24 is released), no more changes but bug fixes (and possibly code cleanups) will be accepted. I already doubt I'll be in time to commit all the changes before the deadline. What if you now start adding more new stuff in there?

Let me be clear. Whatever is added to the i2c CVS repository by now (including your recent "emulation patch") is *not* going to go into 2.4. So what's the point in commiting it? New stuff should go into the 2.6 kernel. With the release of the 2.6 kernel, 2.4 is no more the place for development. And the i2c CVS repository as it exists today (well, as it existed yesterday) has no other purpose but to be integrated into Linux 2.4. What is not accepted into 2.4 will more likely be lost forever unless it is ported to Linux 2.6.

#5 lore raw
In reply to Jean Delvare
Quoted 5 lines · Jean Delvare
Quoted 3 lines

I understand.
I didn't expect it to be included in the 2.4 patch; you're working off of the 2.8.2 release, right?

Quoted 8 lines

Not really. I am working off of CVS since 2.8.0. It was useful because I sometimes need to make a few adjustments to CVS so that the patches I send look better. Now I'll have to change the way I work. I'll keep my local copy of the CVS apart and won't update it, still I will commit my changes to the CVS. Hopefully there won't be too many conflicts, or this method will fail badly.

Shouldn't you work off of the tagged 2.8.2? Then when you submit patches, you say, 'this patch brings the 2.4 kernel up to our 2.8.2 release'. The release is what's widely used and tested.

I don't see why i2c CVS now should be exclusively for your use. I appreciate how much work it is to generate the patches for 2.4. Let's figure out another way to make it easy on you. Either with a local copy as you describe, or perhaps a CVS branch.

Sorry for the misunderstanding. I certainly didn't realize you considered i2c CVS off-limits.

Quoted 10 lines
Quoted 4 lines

The 'big idea' is to get some testing of the patch
in the 2.4 world, then submit a 2.6 version of the patch to Greg. The patch came in to us against 2.4 so it's much easier to do it this way.

Isn't it strange to use 2.4 for testing? I wouldn't think people will write drivers needing new protocols for the 2.4 kernel. New drivers should go to 2.6.

Quoted 6 lines

Once Linux 2.7 starts its life, I'll invite you to move any development effort there, and keep the 2.4 CVS repository for bugfixes only. Idealy the CVS repository would even disappear and the bugfixes committed to 2.4 itself, but since it's unlikely that all of the CVS will be merged into 2.4, I guess we'll have to keep the repository forever.

Here's a few reasons.

I'm running a mix of 2.4 and 2.6 machines. Isn't that true of most people on this list?

Somethings are easier to test on one side, some on the other. If I need a driver for testing that
isn't ported to 2.6 yet, it gets really hard :)

The guy that submitted the emulation patch was obviously running 2.4, how can he test my checkin and mods of his patch unless I do it on 2.4?