9bde301ee4
Use release class
...
Create it out of the given release_repo.
Thus simplifying the call tree as we only access the release_repo in the
service.
2023-02-28 15:04:14 +01:00
ef51db1403
Fix some of the tests
2023-02-28 13:25:47 +01:00
975de636ed
mob
2023-02-24 11:39:38 +01:00
0551fe6bfe
mob
2023-02-24 10:31:04 +01:00
74925a90b7
mob
2023-02-24 10:14:26 +01:00
0cdf4b4c9c
Update files for in project release testing
...
1. commit anything and include one release type
2. run `pyb release` in project root
3. check that release commit and version bump commit were added
4. reset with `git reset origin/main`
2023-02-23 16:34:22 +01:00
4a23b0b800
Implement and use TagAndPushReleaseService
2023-02-23 15:33:34 +01:00
fa6beebc4e
Move commit logic to prepare_release_service
2023-02-23 15:15:29 +01:00
1ce4bd9c55
Remove release_type as requirement for Version
...
Require it in functions that actually use it instead
2023-02-23 14:38:54 +01:00
99b8884d11
WIP implement prepare release service
2023-02-22 15:15:56 +01:00
821e06f82a
Pass VersionRepo to InitReleaseService
...
Update Tests.
2023-02-22 11:33:44 +01:00
167eec4620
Make services testable
2023-02-22 10:57:24 +01:00
f94d1879dc
Implement release type calculation
2023-02-22 10:27:07 +01:00
0f4899bf39
Fix typos in services.py
2023-02-22 09:59:16 +01:00
6883435248
Refactor for code consistency
2023-02-21 15:52:09 +01:00
c137344932
Implement bump release
2023-02-20 16:21:02 +01:00
fa7e10d3ce
Implement creation of bump version
2023-02-20 15:50:58 +01:00
eb998cfdbb
Implement creation of release version
2023-02-20 14:45:15 +01:00
ecdea88a6b
Refactor version variable
...
Avoid ambiguous variable names.
We are handling a version list and a version string.
2023-02-20 13:47:14 +01:00
88c3acb73c
WIP Create version repo in services with classmethod
...
The goal is to create a single version_repo object for each
file loaded. In that way we may avoid loading the file for loading
and writing.
2023-02-20 13:33:28 +01:00
38c7aa97ca
Prepare services.py
2023-02-16 16:55:01 +01:00