Cron code refactoring #178
Labels
No Label
Roadmap
V
bug
docs
duplicate
enhancement
good first issue
help wanted
idea
invalid
question
wontfix
Idea
Roadmap
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#178
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
It might be possible to completely separate the cron code from Vieter & publish it separately to vpm. I'd really like to do this because I have other plans with the cron code, e.g. an automatic builder of Docker images.
The cron code currently is very heavily tailored towards Vieter. I'd like to gradually change this.
For one, I'd like all recurring actions to be placed inside the pqueue, instead of just the builds. Polling the repos, rebuilding the builder image... all of these things could be added to the pqueue by defining a struct which takes a function as an argument.
The next step then is to use generics to completely decouple the cron code from Vieter the way vweb does.
After these two steps, I think it would be possible to split the cron code completely from Vieter & publish it separately.
Split cron code into own V packageto Cron code refactoringThe cron code is now contained in libvieter, so this issue is no longer relevant.