-
Notifications
You must be signed in to change notification settings - Fork 5
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
📝 Fix Documentation Build on ReadTheDocs And Add Documentation About Versioning #673
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
08f73cf
📝 Update index.rest
hf-krechan dfa15a8
📝 Add versioning
hf-krechan 308585f
📝 Add versioning to index
hf-krechan 7ab484f
📝 Fix rst
hf-krechan ea1e41d
Merge branch 'main' into improve-documentation
hf-krechan e36b08a
🩹 Try to fix circular import on readthedocs
hf-krechan 483d4a0
try and except for version
hf-krechan 03615fd
🚨Be more precise with exception
hf-krechan 3e4677a
🎨 try with less imports
hf-krechan d7a1843
💡 Update comment
hf-krechan 4dc9284
Merge branch 'main' into improve-documentation
hf-krechan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
=============== | ||
BO4E Versioning | ||
=============== | ||
|
||
The BO4E data model uses a unique versioning system to track changes and updates. | ||
This system is easy to understand once you're familiar with its format and rationale. | ||
|
||
Let's break it down: | ||
|
||
Version Format: `YYYYMM.functional.technical` | ||
|
||
- YYYYMM: Represents the year (YYYY) and month (MM) when the version was released. For example, 202312 would mean December 2023. | ||
- functional: A number that changes when there are significant updates or new features. | ||
- technical: This number changes for minor updates, like bug fixes or spelling corrections. | ||
|
||
How Does it Work? | ||
================= | ||
|
||
1. **Base Structure**: Think of the version number as a date followed by two additional numbers, like 202312.1.2. Here, 202312 tells you the release date, 1 is the functional number, and 2 is the technical number. | ||
2. **Technical Changes**: If we fix a typo or a small bug, we only change the technical number. So, after a minor fix, the version might change from 202312.1.2 to 202312.1.3. | ||
3. **Functional Changes**: For bigger changes, like adding a new business object, we update the functional number and reset the technical number to zero. For instance, if we add a significant feature to the 202312.1.2 version, it becomes 202312.2.0. | ||
|
||
Yearly Reset: With the start of a new year, we reset both the functional and technical numbers. | ||
So, if we're moving from December 2023 (202312.2.0) to January 2024, the new version would be 202401.0.0. | ||
|
||
Why This System? | ||
================ | ||
|
||
This versioning system, inspired by semantic versioning, offers a clear and systematic way to track changes. | ||
It ensures that users can easily identify when a significant update has occurred and when minor tweaks have been made. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is necessary because we have no version given if the commit has no semantic version in the git tag.
We got the following error message on readthedocs
https://readthedocs.org/projects/bo4e-python/builds/22831284/ (unsure how long this link will live ...)