5700b42098
Remove redundant method
2023-03-02 16:13:16 +01:00
8855a2c6b6
Remove unused imports
2023-03-02 15:08:41 +01:00
24e8f65aaf
Remove run_test line
...
Will not be implemented, as it is already run in CI beforehand
2023-03-02 15:07:31 +01:00
9c9676b5b8
Pass Release instead of Version object
2023-03-02 15:04:30 +01:00
28344667db
Remove unused fields from ReleaseMixin
...
These are handled through repos and services instead
2023-03-02 15:03:11 +01:00
338cafc211
Validate correct branch in Release object
...
Avoids throwing exceptions in service and delegates validation to the
domain level
2023-03-02 14:59:06 +01:00
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
39d60f6854
WIP Remove prepare release service
2023-02-28 14:55:51 +01:00
802dd7d57b
WIP Remove prepare release service
2023-02-28 14:55:41 +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
c6ef13ca7c
mob
2023-02-24 11:02:11 +01:00
a09eaa7521
mob
2023-02-24 10:46:43 +01:00
0551fe6bfe
mob
2023-02-24 10:31:04 +01:00
74925a90b7
mob
2023-02-24 10:14:26 +01:00
4f499bd1f4
ignore target
2023-02-24 10:00:11 +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
b93772d3a1
Fix naming and arguments in release_mixin
2023-02-23 16:31:33 +01:00
a109759c68
Return stdout from git_repository functions
2023-02-23 16:30:43 +01:00
4a23b0b800
Implement and use TagAndPushReleaseService
2023-02-23 15:33:34 +01:00
e7152301dd
Add utility functions to git_repository
2023-02-23 15:33:00 +01:00
fa6beebc4e
Move commit logic to prepare_release_service
2023-02-23 15:15:29 +01:00
c58ddf70da
Compact updating config into one call
2023-02-23 14:40:10 +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
992c72bda3
Give 'file' a more descriptive name
2023-02-23 14:23:32 +01:00
0df4db54d8
Copy the version list when creating new Version
2023-02-23 14:16:17 +01:00
2fe05b0e06
Use deep copy of release_version object
...
Release version is modified again, when calling create_bump_version on it.
2023-02-22 16:25:18 +01:00
fa73c52fe2
Remove asterisk on destructured args
...
Otherwise we would create a tuple containing
a tuple of arguments and an empty tuple.
2023-02-22 16:23:03 +01:00
c91bbe787b
Create string from return value
...
stdout returns a list of strings.
This needed to be handled.
2023-02-22 16:20:46 +01:00
d759036989
Create realistic test conditions
2023-02-22 16:19:36 +01:00
99b8884d11
WIP implement prepare release service
2023-02-22 15:15:56 +01:00
294d664bb8
WIP Add test for release_mixin
2023-02-22 15:15:23 +01:00
d22dbbf050
Add import, remove return
2023-02-22 15:14:48 +01:00
1e2593e358
No settings in repo
2023-02-22 14:12:54 +01:00
0d0bde4b9e
Remove whitespaces
2023-02-22 14:12:03 +01:00
7d7347653e
Update release_mixin methods
2023-02-22 14:11:39 +01:00
a07c23434e
Implement tag_annotated and bugfix
2023-02-22 14:10:53 +01:00
03f8507968
Setup build.py
2023-02-22 14:10:19 +01:00
238b0304b6
Implement prepare for ReleaseMixin
2023-02-22 12:05:34 +01:00
2d8ca4ecdd
Fix test_services
2023-02-22 12:05:02 +01:00
ee8b49f078
Add some useful git functions
2023-02-22 12:04:46 +01:00
1112b1ad49
WIP Implement prepare and tagandpush services
2023-02-22 11:34:27 +01:00
821e06f82a
Pass VersionRepo to InitReleaseService
...
Update Tests.
2023-02-22 11:33:44 +01:00
1d2cb7882e
Fix test
2023-02-22 10:59:35 +01:00
3bd8497522
WIP Create test_services
2023-02-22 10:58:27 +01:00
9250d366b9
Use newly created version object
2023-02-22 10:58:11 +01:00
e2f562aa8c
Remove wildcard import
2023-02-22 10:57:55 +01:00
fea5720161
Return version objects instead of mutating
2023-02-22 10:57:42 +01:00
167eec4620
Make services testable
2023-02-22 10:57:24 +01:00
e578878b82
WIP test the services
2023-02-22 10:27:29 +01:00