Skip to contentSkip to conversation

maintain stable and dev code separately

RFC Chao Yu 3 participants 3 messages Jul 1, 2015 – Jul 2, 2015

lore
Share & tools
lore

Chao Yu

author
#0 lore raw

Hi Jaegeuk,

Now in our f2fs git repository, we have only one major 'dev' branch for collecting last reviewed and tested patches.

And in merge window of Linux, we do not update dev branch with last patches, so in this period of two weeks, it's hard for your developers to rebase the right and last dev branch for developing, and there maybe more conflict when we merge patches.

Have you considered to maintain stable and dev code separately? Something like:

One 'devel' branch updated with new patches after being reviewed and tested; One 'stable' branch updated periodically from 'devel' branch.

In merge window linus can pull all patches from 'stable' branch, and meanwhile we can develop base on 'devel' branch.

And also Fengguang Wu's lkp project can test both branch well, especially for last patches sent in merge window.

Regards,
Yu

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/

#1 lore raw
Quoted 13 lines · Chao Yu

Hi Jaegeuk,

Now in our f2fs git repository, we have only one major 'dev' branch for collecting last reviewed and tested patches.

And in merge window of Linux, we do not update dev branch with last patches, so in this period of two weeks, it's hard for your developers to rebase the right and last dev branch for developing, and there maybe more conflict when we merge patches.

Have you considered to maintain stable and dev code separately? Something like:

Quoted 8 lines

One 'devel' branch updated with new patches after being reviewed and tested; One 'stable' branch updated periodically from 'devel' branch.

In merge window linus can pull all patches from 'stable' branch, and meanwhile we can develop base on 'devel' branch.

And also Fengguang Wu's lkp project can test both branch well, especially for last patches sent in merge window.

Good suggestion.
I've also thought about that actually.

I created and pushed *dev-test* branch for the testing purpose in order to avoid any conflicts on *dev* branch.

I'll keep *dev* branch for linux-next and we can use *dev-test* branch for upcoming changeable patches.

Thanks,

Quoted 3 lines

Regards,
Yu

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/

#2 lore raw
Quoted 30 lines

-----Original Message-----
From: Jaegeuk Kim [mailto:[email protected]]
Sent: Wednesday, July 01, 2015 10:42 AM
To: Chao Yu; Chao Yu
Cc: [email protected]; [email protected]
Subject: Re: [f2fs-dev] [RFC] maintain stable and dev code separately

Quoted 13 lines · Chao Yu

Hi Jaegeuk,

Now in our f2fs git repository, we have only one major 'dev' branch for collecting last reviewed and tested patches.

And in merge window of Linux, we do not update dev branch with last patches, so in this period of two weeks, it's hard for your developers to rebase the right and last dev branch for developing, and there maybe more conflict when we merge patches.

Have you considered to maintain stable and dev code separately? Something like:

Quoted 8 lines

One 'devel' branch updated with new patches after being reviewed and tested; One 'stable' branch updated periodically from 'devel' branch.

In merge window linus can pull all patches from 'stable' branch, and meanwhile we can develop base on 'devel' branch.

And also Fengguang Wu's lkp project can test both branch well, especially for last patches sent in merge window.

Quoted 8 lines

Good suggestion.
I've also thought about that actually.

I created and pushed *dev-test* branch for the testing purpose in order to avoid any conflicts on *dev* branch.

I'll keep *dev* branch for linux-next and we can use *dev-test* branch for upcoming changeable patches.

Great!

Thank you for your quickly replaying and action, now it's easy for me to rebase the last dev code for any testing and developing. :)

Thanks,

Quoted 2 lines

Thanks,

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/