flexlate.transactions package¶
Submodules¶
flexlate.transactions.transaction module¶
- class flexlate.transactions.transaction.FlexlateTransaction(**data)[source]¶
Bases:
pydantic.main.BaseModel
- id: pydantic.types.UUID4¶
- out_root: Optional[pathlib.Path]¶
- class flexlate.transactions.transaction.TransactionType(value)[source]¶
-
An enumeration.
- ADD_OUTPUT = 'add output'¶
- ADD_SOURCE = 'add source'¶
- ADD_SOURCE_AND_OUTPUT = 'add source and output'¶
- BOOTSTRAP = 'bootstrap'¶
- REMOVE_OUTPUT = 'remove output'¶
- REMOVE_SOURCE = 'remove source'¶
- SYNC = 'sync'¶
- UPDATE = 'update'¶
- UPDATE_TARGET_VERSION = 'update template source target version'¶
- flexlate.transactions.transaction.assert_has_at_least_n_transactions(repo, n, merged_branch_name, template_branch_name)[source]¶
- flexlate.transactions.transaction.assert_last_commit_was_in_a_flexlate_transaction(repo, merged_branch_name, template_branch_name)[source]¶
- flexlate.transactions.transaction.assert_that_all_commits_between_two_are_flexlate_transactions_or_merges(repo, start, end, merged_branch_name, template_branch_name)[source]¶
- flexlate.transactions.transaction.create_transaction_commit_message(commit_message, transaction)[source]¶
- Return type
- flexlate.transactions.transaction.find_earliest_commit_that_was_part_of_transaction(repo, transaction, merged_branch_name, template_branch_name)[source]¶
- Return type
Commit
- flexlate.transactions.transaction.find_earliest_merge_commit_for_transaction(repo, transaction, merged_branch_name, template_branch_name)[source]¶
- Return type
Commit