January 2020
Intermediate to advanced
640 pages
16h 56m
English
Using a single repository with versioned folders requires us to maintain the source code for all supported versions within a single repository. The simplest way to achieve this is to create a folder for each version at the root of the repository and copy all the version-specific files and subpackages inside.
Let's revisit the weather package example from the previous section. Let's assume that we use Git as our VCS and that we host our package on GitHub under the weather-as-a-service account in a repository called weather. The following flowchart illustrates how the folder layout would look using this approach:
It is important ...