-
Notifications
You must be signed in to change notification settings - Fork 12
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
New branch structure #435
Comments
The default github-pages-upload action https://github.com/actions/deploy-pages we are using right now does not allow to specify an upload folder. This made the proposed documentation structure impossible or at least very hard to achieve, but switching to |
Sounds fine with me. @skinkie what do you think? |
I also had a look regarding getting changes_for_v.1.1 to main. Up to version v1.0.1, which was also made a release at https://github.com/VDVde/OJP/releases things are fine. A version v1.0.2 was tagged which solves some xmllint issues, but apparently not all of them as a v1.0.3 was released then, which not only added another fix "Fix schemaLocation towards siri_reference-v2.0.xsd (#211)" but also did several unfortunate additions to the master branch which make merging changes_for_v1.1 / 2.0 even more difficult, they also contain several problems:
Usually one would want to have a complete succession of commits for all releases, but in this case I'd like to do it differently: |
I just hope that the generation of the documentation can be 'stacked'. My understandig is that the generation happens once the pull request comes in, not after it is merged. |
As I wrote in #435 (comment) I am sure stacking is possible when switching from the default github-pages-upload action to https://github.com/marketplace/actions/deploy-to-github-pages You are correct that my proposal is missing the documentation for the feature/bugfix branches, I will update the proposal accordingly. |
I just updated the proposal. |
Sounds good to me. |
|
@sgrossberndt thank you for your thoughts on this and the explanation! I approve your suggestion. |
- CI runs on push/pull_request to branches as defined in #435 - Generation of documentation tables is now based on xcore - Documentation tables are generated for all those branches and uploaded to according subdirectories in GitHub pages - Documentation tables are no longer stored in the repository itself
- CI runs on push/pull_request to branches as defined in #435 - Generation of documentation tables is now based on xcore - Documentation tables are generated for all those branches and uploaded to according subdirectories in GitHub pages - Documentation tables are no longer stored in the repository itself
- CI runs on push/pull_request to branches as defined in #435 - Generation of documentation tables is now based on xcore - Documentation tables are generated for all those branches and uploaded to according subdirectories in GitHub pages - Documentation tables are no longer stored in the repository itself
- CI runs on push/pull_request to branches as defined in #435 - Generation of documentation tables is now based on xcore - Documentation tables are generated for all those branches and uploaded to according subdirectories in GitHub pages - Documentation tables are no longer stored in the repository itself
- CI runs on push/pull_request to branches as defined in #435 - Generation of documentation tables is now based on xcore - Documentation tables are generated for all those branches and uploaded to according subdirectories in GitHub pages - Documentation tables are no longer stored in the repository itself
- CI runs on push/pull_request to branches as defined in #435 - Generation of documentation tables is now based on xcore - Documentation tables are generated for all those branches and uploaded to according subdirectories in GitHub pages - Documentation tables are no longer stored in the repository itself
- CI runs on push/pull_request to branches as defined in #435 - Generation of documentation tables is now based on xcore - Documentation tables are generated for all those branches and uploaded to according subdirectories in GitHub pages - Documentation tables are no longer stored in the repository itself
- CI runs on push/pull_request to branches as defined in #435 - Generation of documentation tables is now based on xcore - Documentation tables are generated for all those branches and uploaded to according subdirectories in GitHub pages - Documentation tables are no longer stored in the repository itself
- CI runs on push/pull_request to branches as defined in #435 - Generation of documentation tables is now based on xcore - Documentation tables are generated for all those branches and uploaded to according subdirectories in GitHub pages - Documentation tables are no longer stored in the repository itself
- CI runs on push/pull_request to branches as defined in #435 - Generation of documentation tables is now based on xcore - Documentation tables are generated for all those branches and uploaded to according subdirectories in GitHub pages - Documentation tables are no longer stored in the repository itself
- CI runs on push/pull_request to branches as defined in #435 - Documentation tables are generated for all those branches and uploaded to according subdirectories in GitHub pages - Documentation tables are no longer stored in the repository itself
- CI runs on push/pull_request to branches as defined in #435 - Documentation tables are generated for all those branches and uploaded to according subdirectories in GitHub pages - Documentation tables are no longer stored in the repository itself
Yes, once they are part of a released version for the latest major version
This depends on how granular later releases may happen. Would we release a 1.0.99 after having released a 1.1.0? If yes, it could make sense. But it would not be mandatory to have them.
Yes, that was apparently ambiguous: I only want to base release/2.0 on v1.0.1, release/1.0 is based on v1.0.3. |
Current state
master
changes_for_v1.1
trip_monitoring
example for a feature branchtypos-2023-11-07
example for a bugfix branchchanges_for_v1.1
is deployed to https://vdvde.github.io/OJP/index.htmlProposed strategy
based on GitLab Flow
Branches
main
contains the most recent released state (formermaster
)develop
contains the most recent agreed and merged development state (formerchanges_for_v1.1
)release/1.0
contains the most recent released state of the major version 1.0release/2.0
contains the most recent released state of the major version 2.0feature/trip_monitoring
features are created asfeature/*
branches and merged intodevelop
bugfix/typos-2023-11-07
bugfixes are created asbugfix/*
branches and merged intodevelop
and, if necessary for a published release, into release/v2.0Documentation
main
branch, updated on merge/push to branchmain
develop
branch, updated on merge/push to branchdevelop
feature/trip_monitoring
branch, updated on merge/push to branchfeature/trip_monitoring
For pull requests I propose to only run checks, not deploy any documentation. This also makes sure that pull requests, which could be sent from anybody possibly with harmful content do not cause a deployed documentation on https://vdvde.github.io/
https://github.com/MicrosoftDocs/azure-devops-docs/blob/main/docs/repos/git/git-branching-guidance.md#manage-releases
The text was updated successfully, but these errors were encountered: