Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat: add setting labels for individual tickets | Matěj Cepl | 2024-07-19 | 1 | -57/+96 |
| | |||||
* | refactor: split open_ticket() into two subfunctions per modes. | Matěj Cepl | 2024-07-19 | 1 | -21/+117 |
| | |||||
* | feat: delayed closing of tickets. | Matěj Cepl | 2024-07-19 | 1 | -11/+24 |
| | | | | | Delaying should hopefully help todo.sr.ht to process all previous changes before the tickets are closed. | ||||
* | feat: have smaller delay between calls to hut than SMTP ones. | Matěj Cepl | 2024-07-19 | 1 | -17/+46 |
| | |||||
* | feat: check existence of labels | Matěj Cepl | 2024-07-19 | 1 | -11/+52 |
| | | | | use `hut graphql` instead | ||||
* | feat: add 'hut' option to the current 'print' and 'send' ones. | Matěj Cepl | 2024-07-19 | 1 | -37/+75 |
| | | | | All runs of the hut cmd are done by the special function run_hut(). | ||||
* | refactor: simplify API signature | Matěj Cepl | 2024-07-19 | 1 | -26/+19 |
| | | | | | We don't need to concatenate srht_owner and srht_tracker again and again, when we really need only complete tracker name. | ||||
* | refactor: it is a general delay, not just the SMTP one. | Matěj Cepl | 2024-07-19 | 1 | -20/+20 |
| | |||||
* | fix: better logging | Matěj Cepl | 2024-07-19 | 1 | -2/+2 |
| | |||||
* | Add .gitignore. | Matěj Cepl | 2024-06-02 | 1 | -0/+3 |
| | |||||
* | Add git config for subjectPrefix to the readme. | Bryan Gardiner | 2024-05-06 | 1 | -0/+6 |
| | |||||
* | Add contributing section to the readme. | Bryan Gardiner | 2024-05-06 | 1 | -0/+14 |
| | |||||
* | Send logging to stdout for correct interleaving with printed emails. | Bryan Gardiner | 2024-05-06 | 1 | -10/+22 |
| | | | | | Also indent printed emails so that the boundaries between them stand out clearer. | ||||
* | Allow the milestones file to be missing. | Bryan Gardiner | 2024-05-06 | 1 | -3/+6 |
| | |||||
* | chore: blacken the file | Matěj Cepl | 2024-05-06 | 1 | -229/+248 |
| | | | | | | | | | Formatting produced by Black is commonly agreed one, and it simplifies life a lot. Add black to your pre-commit hook. Signed-off-by: Matěj Cepl <mcepl@cepl.eu> | ||||
* | fix: use proper logging instead of print() | Matěj Cepl | 2024-05-06 | 1 | -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). Signed-off-by: Matěj Cepl <mcepl@cepl.eu> | ||||
* | Read labels and users from CSV files. | Bryan Gardiner | 2024-05-04 | 1 | -47/+123 |
| | |||||
* | Stop using datetime.utcnow() which is deprecated in Python 3.12. | Bryan Gardiner | 2024-05-04 | 1 | -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 Gardiner | 2024-05-04 | 1 | -1/+1 |
| | |||||
* | Allow of use of STARTTLS when connecting to the SMTP server. | Matěj Cepl | 2024-05-04 | 1 | -1/+12 |
| | | | | Signed-off-by: Matěj Cepl <mcepl@cepl.eu> | ||||
* | Add link back to the Sourcehut project from the git repo. | Bryan Gardiner | 2024-05-03 | 1 | -0/+2 |
| | |||||
* | Handle confidential items; indicate who changed issue metadata. | Bryan Gardiner | 2024-05-03 | 1 | -7/+86 |
| | |||||
* | Add option to create Sourcehut tickets for missing Github issues. | Bryan Gardiner | 2024-05-03 | 1 | -18/+107 |
| | |||||
* | Initial, works-for-me script to import Gitlab issues to Sourcehut. | Bryan Gardiner | 2024-05-03 | 3 | -0/+1282 |