-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
introduce snippets #3
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #3 +/- ##
=======================================
Coverage 83.78% 83.78%
=======================================
Files 1 1
Lines 37 37
Branches 10 10
=======================================
Hits 31 31
Misses 4 4
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
try fixing detached head and set fetch-depth to all history
def snippets(self) -> Iterator[tuple[Commit, Path]]: | ||
collected_snippets = list(self.all_snippet_files()) | ||
|
||
# nice chaos :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be fixed, but not today, it's already tomorrow ... 😩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTMyself, I'm tired
Added
ChangelogCreator
class to render new changelog from snippets and existing base changelogchangelog-generator changelog
CLI interface available and documentedSnippetCollector
to provide iterable of snippets found in specified folder, sorted by the appearance in the Git history (oldest first)Changed
Breaking
SnippetCreator
class has nofile_name
init parameter anymorecontent
property renamed toparsed_content
parse
function takesfile_name
parameterparsed_content
gets resetted with every newparse(file_name)
call_required_keys
renamed to_required_parser_keys
SnippetCreator
class has nofile_name
andcontent
init parameter anymoresnippets_file
property removedcontent
property renamed torendered_content
render
function takescontent
parameter and returnsNone
create
function takesfile_name
parameterOther
changelog2version
moved from dev dependency to package dependencyFixed
pyproject.toml
.venv*
directories