CHANGELOG¶
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.0 - 2020-03-23¶
Added¶
Render files from Jinja2 templates (
TemplateRendered
rule)Add new
Precondition
base class (https://github.com/gabor-boros/hammurabi/pull/9)Add Code of Conduct to meet community requirements (https://github.com/gabor-boros/hammurabi/pull/10)
New section in the documentations for
Rules
andPreconditions
(https://github.com/gabor-boros/hammurabi/pull/11)Collect failed rules for every law (
Law.failed_rules
) (https://github.com/gabor-boros/hammurabi/pull/13)Add chained rules to PR body (https://github.com/gabor-boros/hammurabi/pull/13)
Add failed rules to PR body (https://github.com/gabor-boros/hammurabi/pull/13)
Throw a warning when no GitHub client is initialized (https://github.com/gabor-boros/hammurabi/pull/13)
Raise runtime error when no GitHub client is initialized, but PR creation called (https://github.com/gabor-boros/hammurabi/pull/13)
Guess owner/repository based on the origin url of the working directory (https://github.com/gabor-boros/hammurabi/pull/13)
Changed¶
Add stub formatting to Makefile’s stubs command
Extract common methods of
Precondition
andRule
to a newAbstractRule
class (https://github.com/gabor-boros/hammurabi/pull/9)Extended CONTRIBUTING guidelines to include a notice for adding
Rules
andPreconditions
(https://github.com/gabor-boros/hammurabi/pull/11)Refactor package structure and extract preconditions to separate submodule (https://github.com/gabor-boros/hammurabi/pull/11)
Pull request body generation moved to the common
GitMixin
class (https://github.com/gabor-boros/hammurabi/pull/13)Pillar will always create lock file in the working directory (https://github.com/gabor-boros/hammurabi/pull/13)
Call expandvar and expanduser of configuration files (https://github.com/gabor-boros/hammurabi/pull/13)
Hammurabi only works in the current working directory (https://github.com/gabor-boros/hammurabi/pull/13)
Read settings (pyproject.toml) path from
HAMMURABI_SETTINGS_PATH
environment variable (https://github.com/gabor-boros/hammurabi/pull/13)Fix version handling in docs
Fixed¶
Remove faulty author of git committing (https://github.com/gabor-boros/hammurabi/pull/13)
Only attempt to create a PR if there is no PR from Hammurabi (https://github.com/gabor-boros/hammurabi/pull/13)
Fix double committing issue (https://github.com/gabor-boros/hammurabi/pull/13)
Fix committing of laws when nothing changed (https://github.com/gabor-boros/hammurabi/pull/13)
Fixed several CLI arguments related issues (https://github.com/gabor-boros/hammurabi/pull/13)
Fixed a typo in the Bug issue template of GitHub (https://github.com/gabor-boros/hammurabi/pull/13)
Removed¶
Removed target directory setting from config and CLI (https://github.com/gabor-boros/hammurabi/pull/13)
0.1.2 - 2020-03-18¶
Changed¶
Extended Makefile to generate stubs
Extend documentation how to generate and update stubs
Update how to release section of CONTRIBUTING.rst
0.1.1 - 2020-03-17¶
Changed¶
Moved unreleased section of CHANGELOG to the top
Updated changelog entries to contain links for release versions
Updated CONTRIBUTING document to mention changelog links
Refactored configuration handling (https://github.com/gabor-boros/hammurabi/pull/5)
Fixed¶
Fixed wrong custom rule example in the README
Smaller issues around git committing and pushing (https://github.com/gabor-boros/hammurabi/pull/5)
0.1.0 - 2020-03-12¶
Added¶
- Basic file manipulations
Create file
Create files
Remove file
Remove files
Empty file
- Basic directory manipulations
Create directory
Remove directory
Empty directory
- Basic file and directory operations
Change owner
Change mode
Move file or directory
Copy file or directory
Rename file or directory
- Plain text/general file manipulations
Add line
Remove line
Replace line
- INI file specific manipulations
Add section
Remove section
Rename section
Add option
Remove option
Rename option
- Miscellaneous
Initial documentation
CI/CD integration