-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NexT v7 Introduced #567
Comments
@ivan-nginx How about putting this article on the website? |
This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can also use our support channels to get help with the project. |
Of course need to do it. As a Page maybe. When I wrote that post – site was not worked, as I Remember. |
Posted on website: theme-next/theme-next.org@1eada15 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
From this year we will start to development NexT v7. And NexT v6 will not be cutted-out for now. Instead of this, we will continue maintenance for version 6 with simultaneous development of version 7.
Versions Difference
What changes planned in that versions? Good question, here they are:
As we can see, v6 will be more stable version, unlike of v7. If someone want more stability with less features, recommended to use v6 without any fear about no maintenance for this version in the future.
Objectives of Version 7
There are several globally targets for NexT v7 changes planned:
Branching Models
All last year there are no problem with branching model management. All was simple:
It was when NexT development came with single version. For now, we must support multiple versions: v6.x and v7.x, what bring some complicated as for maintainers and for users too.
Last several days I thinking a lot about this and it seems the right way was successfully founded. And before understand my decision, let's see on all articles I finded.
So, lets comment this models:
master
branch keep only releases versions, but we already have tags once per month. And I read some negative responses about this branching model.rebase
+merge --no--ff
– only with a little difference with allow to minimize merged commits history. Anyway, history will not linear.NexT Branching Model
As described above, most liked branching model is 4. But need to make some changes in this model to be sure with NexT compatibility. Let's write in order:
Only one question here: are we need to have separated v7.x branch to advantage at most cases stable releases?
Don't push «Update branch» button
To provide linear history, there is no need to update branch from master!
When we push this button, it's mean we will
merge
master
branch into currentfeature
orbugfix
branch. As a result, history will not linear. So, no need to push this button.Some more about Git
Merge ≠ Rebase. Why?
By default, GitHub merge pulls (Merge button) with
-no-ff
option. What's different withmerge
andmerge -no-ff
?As we see, it's like
rebase
, but with a little different. What's different?With
rebase
– rebased branch will be at the head from parent branch. It's like snake-game, but with separated sections.With
merge
– we get same at the result, but both branches will be in the head.Cherry-pick
In simple words: you can copy any commit from any branch and paste this commit to the head of any another branch. In this picture commit F (feature-1) from feature branch was copied into G in master branch with this feature.
The text was updated successfully, but these errors were encountered: