Find and study register@ functionality #56
Labels
No Label
ANSIBLE
BUG
CODE
DEVELOPMENT
DOCUMENTATION
FEEDBACK
FIX
HOWTOs
IDEA
INFRA
ISSUE
MAILSERVER
TESTS
To-Be-Reviewed
WEB
WEBSITE
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Disroot/gpg-lacre#56
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
According to README:
We should locate that functionality, document and test it.
Turns out it is implemented by
register-handler.py
script. However, the implementation doesn't seem to be very thorough.It works as Postfix alias handler (see Install Register-handler in
INSTALL.md
):We should definitely cover this part with tests too (see #57).
Key steps of
register-handler.py
flow:Conclusion: we'll need to mock the web panel to test this script.
Gotcha. I will setup this up on lacre's test server so we could have a look, but I wonder whether we should focus on this right now or just do migration of the base code base and look into this once we are already on python3 with the base working well and ready for some closed alpha tests on test server with few people.
I think that the most important functionality is already covered with tests, so we can skip testing this script. But we should keep in mind that after migration this script can stop working -- Python 3.x uses different data types in certain contexts.
I'm closing this ticket and will update the one related to tests.