Skip to content
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

[pull] dev from Rongronggg9:dev #37

Open
wants to merge 209 commits into
base: dev
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented Nov 5, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Nov 5, 2023
Rongronggg9 and others added 17 commits November 7, 2023 03:06
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Rongronggg9 and others added 30 commits May 4, 2024 12:38
Signed-off-by: Rongrong <[email protected]>
A completely empty entry will make `calculate_update` use
`entry.content` as an alternative hash source. Though it is always a
list, it was mistakenly assumed to be a string, making such a fallback
causing AttributeError.

Fix it by extracting the first non-empty `content.value` in such a
circumstance.

Signed-off-by: Rongrong <[email protected]>
On some broken system environments, `pip` or `pip3` may use a different
Python installation other than the one used by `python3`.

Signed-off-by: Rongrong <[email protected]>
Bumps [lxml](https://github.com/lxml/lxml) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](lxml/lxml@lxml-5.2.1...lxml-5.2.2)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [rapidfuzz](https://github.com/rapidfuzz/RapidFuzz) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/rapidfuzz/RapidFuzz/releases)
- [Changelog](https://github.com/rapidfuzz/RapidFuzz/blob/main/CHANGELOG.rst)
- [Commits](rapidfuzz/RapidFuzz@v3.9.0...v3.9.1)

---
updated-dependencies:
- dependency-name: rapidfuzz
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
bot.disconnected usually means the bot is logged out due to a network
error or Telegram DC degradation, so we should exit with a non-zero code
to indicate an error.

Now the bot will exit with exit-code 100 when disconnected. This aims to
avoid confusion when running the bot in a container or as a service.

Signed-off-by: Rongrong <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
float('inf') was used to represent a huge number, but caused some random
errors (in particular, cannot be converted into an int). Replacing them
with (2 ** 63 - 1) fixes these errors and still work as expected.

Signed-off-by: Rongrong <[email protected]>
Print the bot's Telegram user info when the bot is started. This is to
help bot managers to find the bot's username and user ID when deploying
the bot.

Signed-off-by: Rongrong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants