Closed bkoelman closed 6 years ago
What's the difference?
I'm guessing you intend master for minor corrections, while Develop is to be used for ongoing semantic changes.
I'm currently in the process of updating the analyzers in CSharpGuidelinesAnalyzer for the guidance changes from the past half year, submitting PRs here for whatever I come across. By the time I am done, I'm hoping we can create a new release of CSharpGuidelines to match with the analyzers release.
I was surprised to see that changes on the master branch become visible on the accompanying website, which I expected to represent the latest released version. And that the default GitHub branch is now Develop, which is where visitors get when they google the repo. This got me thinking about versioning. Instead of referring to the website, CSharpGuidelinesAnalyzer help URLs should point to a page on GitHub at a specific point in time (based on commit hash). So that users running an old version will get matching explanations, even for deleted rules.
Would you consider making master the default branch again, so visitors are seeing (almost) released rules by default? I find myself looking up the website and pasting AVxxxx in the search field more convenient than going to the Releases tab, download the html-version, search there etc.
But I'm just guessing a lot here. Can you clarify a bit how you would like things to work?
I'm guessing you intend master for minor corrections, while Develop is to be used for ongoing semantic changes.
The idea behind this is that master represents the official releases, so only important fixes should land there. Every fix technically means a new release on Github. Anything else should go to develop. In a way, this maps to GitFlow.
I was surprised to see that changes on the master branch become visible on the accompanying website, which I expected to represent the latest released version
That would require me to select a different branch for Github Pages.
Would you consider making master the default branch again, so visitors are seeing (almost) released rules by default? I find myself looking up the website and pasting AVxxxx in the search field more convenient than going to the Releases tab, download the html-version, search there etc.
Searching on the official web site doesn't work for me unfortunately. You can search on Github though.
I'll start targetting Develop for all changes after the next release, to keep master match with the latest released version. Things have gone a bit messy so far due to miscommunication.
I do use Github for searches. Therefore I'd like master to be the default branch, which is what visitors will see by default. Unfortunately that setting makes PRs target master too. But because there are less contributors than visitors it seems the best solution to me.
Also, GitHub search only finds results in the default branch, which currently is Develop. I do not think it is possible to search in master.
Alright. Let's switch the default branch to master again.
Would be great. Thanks.
Did you intend to target
master
or can it be part of the next release?