Releases: statch/gitbot
v3.5.1
v3.5.0
v3.4.3
v3.4.2
First 2023 release!
It's been a while.
I have been and still am extremely busy, and trust me, I would like this release to be V4 as well.
Sadly, V4 is still a long way off, as exciting as it is. This release ties all the tiny fixes made over the past months together,
as well as adds convenient buttons to some messages sent by the bot to quickly head to the referenced resources.
v3.4.1
v3.4.0
v3.4.0
Another backend update, but this time, it's massive. This absolutely revamps the inner workings of the bot by getting rid of the globs
system in favor of a bot
-object-centric approach. Another notable change is the removal of launcher.py
, and instead running directly from bot.py
's __main__
function.
v3.3.0
v3.2.0
v3.2.0
Summary
Some files and directories shouldn't count towards the line count shown in the git loc
command - that's what this update addresses!
Details
As a repository collaborator/owner you can now create a JSON file named .gitbot.json
at the root of your repo, which will allow you to ignore files and directories which you don't want to be included using fnmatch patterns:
{
"loc": {
"ignore": "*.ignored.extension"
}
}
or
{
"loc": {
"ignore": ["*.ignored.extension", "lib/*", "*.py[!cod]"]
}
}
More on fnmatch
fnmatch
is a Python module that powers this GitBot feature. It's similar to the .gitignore
syntax which you know and love.
In fnmatch
the following wildcards can be used:
Pattern | Meaning |
---|---|
* | matches everything |
? | matches any single character |
[seq] | matches any character in seq |
[!seq] | matches any character not in seq |
Notes
The introduction of the .gitbot.json
config spec opens the door for many fantastic features to be implemented in the future.
v3.1.5
v3.1.5
A tiny, but very much-needed change - GitBot will no longer automatically convert single-line code blocks that are in the middle of a message:
*note: this applies to servers with git config autoconv codeblock
switched ON
**note: multiline code blocks will still get converted even inside a message