#1058 Send email before api token expires
Merged by pingou. Opened by vivekanand1101.
vivekanand1101/pagure api_email  into  master

Download 1058.patch
no initial comment

checked it using datetime.datetime.utcnow().minute

If you use ''' then you shouldn't include \n, they won't be rendered.

Actually, I seem to be wrong here :)

This will be ran by a cron job which we likely do not want to send an email everytime it runs, could we have a --debug option that prints something and otherwise doesn't print anything?

Maybe we could convert email_days to dates earlier so we do not have to do it for every token we process?

Few comments but looking good, thanks for looking into this! :)

rebased

Looks good to me, thanks! :)

Pull-Request has been merged by pingou

Metadata