ref: Build the whole application in one bin To make easier to distribute midr all the binaries will embedded into the final build.
fix: Remove make as requirement Also fix an issue with a removed package
fix: Use wild card to fetch any compression This will make my life easier if I change the compression later. One less place to worry.
fix: Using git to archive Now it uses git to better archive the tar ball. Source: - https://git.sr.ht/~sircmpwn/hub.sr.ht/tree/master/item/.builds/alpine.yml#L25
ref: Move env var Move enviroment variables to the build manifest.
feat: Add build pieces Adding pieces to be able to later build to alpine
ref: Move the yt manager to the worker Simplify the worker/manager relationship. Now the worker is responsible for the managing the yt-dlp process as well. Also introduce chan to report back logs. That is an attempt to decouple things.
feat: Add custom css
ref: Remove model dependency fom worker It was a bit weird to have that dependency in first place.
ref: Make the slice at once A small optimization, it will create the slice at once so it won't to expand multiple time later when append is called.
fix: Pass entry as reference It was not getting the object created by gorm so `.ID` was 0 causing all sort of weird iterations. That is also cause by the lack of testes. That will also be fixed in the next commits.
feat: Add one more state Add a new state to the worker so it can better report what is happening. Also added a status report in the index page.
feat: Add gitlab pipeline
feat: Add worker Add a simple worker to manage a work queue. Right now, it is bit brittled and has no test coverage yet, but it works. Also moved from pico.css to bulma, I like the idea of classes approach of pico but for me bulma yields a better result.
ref: Move to a MVC like approach Before everything was dumped into the controller file, now it is spread out a bit. It is still far from good, like the controller is not really a controller... baby steps I guess The refactored was based on this post: https://www.alexedwards.net/blog/organising-database-access
ref: Rename snake case variable My pythonic brain kicked in and I ended up naming a variable using snake case.
feat: Add poor implementation for the worker This is just me testing a bit how doworker works, while I learn of go/gin in the process.
Initial commit