-
Notifications
You must be signed in to change notification settings - Fork 9
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
Update versioning information for dependencies, baseline & CI #312
Update versioning information for dependencies, baseline & CI #312
Conversation
- Update FFI dependency - Fix indentations
The develop branch does not exist even longer anyway.
|
…amClient into update-baseline
- Add GitHub Action workflow (`.github/workflows/main.yml`) to run tests using smalltalkCI (`.smalltalk.ston`) - Make integration tests CI-ready by providing: * secret variables for bot and client (they also have been defined in the [repository settings](https://github.com/LinqLover/TelegramBot/settings/secrets)) * a test database for TelegramClient (see `assets/tests/tdlib.zip.gpg`) that works out of the box without using a new authentication code. It is encrypted using another secret variable. * revising the `TelegramBotIntegrationTest` running logic to make it more robust and fail-safe - Fix baseline and specify missing dependencies * Create an extra package (`TelegramBot-Support-ShoutAttribute`) for extensions depending on the not-yet-released `ShoutAttribute` changeset (4680c53) * Add `BaselineOfTelegramBot >> #installPreviewDependencies` to install other not-yet-released proposals for the Squeak Trunk (works around Metacello/metacello#528 and Metacello/metacello#530) * Depend on [fork](https://github.com/LinqLover/TelegramClient) of [TelegramClient](https://github.com/hpi-swa-teaching/TelegramClient) until hpi-swa-teaching/TelegramClient#311, hpi-swa-teaching/TelegramClient#312 have been merged (528ae9a) * Add missing and remove superfluous extension methods - API: Revise offset computation for getUpdates method (89c79a0) - Fix `TelegramBotRequest >> #testSendAudio` (305755e) - Add badges to `README.md` (7621356)
e12f20b
to
0a653fc
Compare
@codeZeilen @Mrnikbobjeff Would someone of you like to give this PR a review? :-) |
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.
Looks good, some things should be touched again
Could we perhaps also close #308 while we are meddling with the release process. Simply ammed the time format specifier to include minutes and seconds and we should be good to go for our project size |
Kind of reverts cf6b804. Resolves hpi-swa-teaching#312 (comment).
This reverts commit c643655.
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.
Looks good
Great, thanks for your time! :-) |
When sending a message from the bot failed because the recipient has blocked the bot, no longer get stuck in the central update cycle by raising one TelegramBotError(403) after the other, but instead raise a dedicated TelegramBotFailure and proceed with the next update. Subclasses can refine the handling of blocked messages by overriding the hook #messageBlocked:withError:. Also introduced a new fancy Abort exception. 🤓 Fixes #17. Tests are included as well. Also reverts baseline workaround solution from 528ae9a (hpi-swa-teaching/TelegramClient#311 and hpi-swa-teaching/TelegramClient#312 are merged now).
This PR updates various versioning information for the project. Updated the baseline in order to make the whole project installable by using Metacello only, without installing any dependencies or SAR files separately. Refactored the CI configuration to remove some duplication and use Squeak-5.2, 5.3, and Trunk respectively.
Also increases timeouts for authentication handler test logic because in many cases, the authentication did not happen yet on CI before the tests timed out.
Adds description of installation via Metacello to the
README.md
(1be3f0f). These instructions already have been added to the wiki via https://github.com/hpi-swa-teaching/TelegramClient/wiki/Setup-Guide/3364dad29a019b66be4b266c3b528535016184b3.Last but not least: Fixes a failing test on master due to assumed change on the server side (8170a51).
Might be squashed when merging.