aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* chore: blacken the filesentMatěj Cepl2024-05-052-127/+182
| | | | | | | Formatting produced by Black is commonly agreed one, and it simplifies life a lot. Add black to your pre-commit hook.
* fix: use proper logging instead of print()Matěj Cepl2024-05-051-5/+9
| | | | | | | | | | | | | Ordinary print() function in Python is buffered (there is flush option, but it alleviates just part of problems). Logging module knows about and deals with the problem. https://stackabuse.com/bytes/flush-the-output-of-the-print-function-in-python/ https://stackoverflow.com/q/230751/164233 https://stackoverflow.com/q/55619733/164233 (logging.INFO changed during the development of the code to logging.DEBUG as needed).
* Read labels and users from CSV files.Bryan Gardiner2024-05-041-47/+123
|
* Stop using datetime.utcnow() which is deprecated in Python 3.12.Bryan Gardiner2024-05-041-2/+2
| | | | | | The warning recommends using datetime.now(datetime.UTC), but datetime.UTC doesn't exist in Python 3.10, so let's use the more backward-compatible datetime.timezone.utc instead.
* Drop incorrect return signature from file_missing_ticket().Bryan Gardiner2024-05-041-1/+1
|
* Allow of use of STARTTLS when connecting to the SMTP server.Matěj Cepl2024-05-041-1/+12
| | | | Signed-off-by: Matěj Cepl <mcepl@cepl.eu>
* Add link back to the Sourcehut project from the git repo.Bryan Gardiner2024-05-031-0/+2
|
* Handle confidential items; indicate who changed issue metadata.Bryan Gardiner2024-05-031-7/+86
|
* Add option to create Sourcehut tickets for missing Github issues.Bryan Gardiner2024-05-031-18/+107
|
* Initial, works-for-me script to import Gitlab issues to Sourcehut.Bryan Gardiner2024-05-033-0/+1282