Commit graph

534 commits

Author SHA1 Message Date
bom
c6ef13ca7c mob 2023-02-24 11:02:11 +01:00
a09eaa7521 mob 2023-02-24 10:46:43 +01:00
bom
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
bom
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
bom
b93772d3a1 Fix naming and arguments in release_mixin 2023-02-23 16:31:33 +01:00
bom
a109759c68 Return stdout from git_repository functions 2023-02-23 16:30:43 +01:00
bom
4a23b0b800 Implement and use TagAndPushReleaseService 2023-02-23 15:33:34 +01:00
bom
e7152301dd Add utility functions to git_repository 2023-02-23 15:33:00 +01:00
bom
fa6beebc4e Move commit logic to prepare_release_service 2023-02-23 15:15:29 +01:00
bom
c58ddf70da Compact updating config into one call 2023-02-23 14:40:10 +01:00
bom
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
bom
992c72bda3 Give 'file' a more descriptive name 2023-02-23 14:23:32 +01:00
bom
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
bom
238b0304b6 Implement prepare for ReleaseMixin 2023-02-22 12:05:34 +01:00
bom
2d8ca4ecdd Fix test_services 2023-02-22 12:05:02 +01:00
bom
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
bom
3bd8497522 WIP Create test_services 2023-02-22 10:58:27 +01:00
bom
9250d366b9 Use newly created version object 2023-02-22 10:58:11 +01:00
bom
e2f562aa8c Remove wildcard import 2023-02-22 10:57:55 +01:00
bom
fea5720161 Return version objects instead of mutating 2023-02-22 10:57:42 +01:00
bom
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
f94d1879dc Implement release type calculation 2023-02-22 10:27:07 +01:00
33fdf3073a Rename for consitency 2023-02-22 10:26:49 +01:00
ff4cb70266 Rename for consitency 2023-02-22 10:26:25 +01:00
ac564ade7e Update tests for git handler 2023-02-22 10:25:21 +01:00
bom
0b3daf595a WIP rework git handler 2023-02-22 09:59:35 +01:00
bom
0f4899bf39 Fix typos in services.py 2023-02-22 09:59:16 +01:00
bom
72e9add5af Add system repository for command line handling 2023-02-22 09:58:57 +01:00
94b993ccf5 Fix bugs and tests 2023-02-21 16:14:47 +01:00
6883435248 Refactor for code consistency 2023-02-21 15:52:09 +01:00
fce565d2d5 Implement git handler 2023-02-21 15:08:39 +01:00
e9301dedd1 Readd tests for python, clojure and json 2023-02-21 10:17:16 +01:00