Weekly Check-In #8
chirag
Published: 07/24/2023
What did I do this week?
This week I only worked on the Filtering feature for Vorta. Most challenging part was to create a syntax which can be easily understood and utilized by people and fulfil various filtering needs. My mentor helped me through this and I wrote the final syntax which is using the `argparse` module for Python hence the syntax is kept similar to Unix commands as well. Then I wrote the filter logic for matching path name and filename, specific match type like in, exact, ignore case.
What's coming up next?
I've been suggested some modifications in the syntax which I plan to complete and then cover more filter logic this week.
Did I get stuck anywhere?
No.
View Blog Post
Weekly Check-In #7
chirag
Published: 07/17/2023
What did I do this week?
Opened PR for search syntax feature in Vorta. As predicted in my previous blog, it currently only supports basic search filter which matches the row's (file's) name with the search input.
What's coming up next?
The most challenging part of this PR is to add various filtering options like path and size and providing search syntax to facilitate these search and possibly with a user friendly dialog/interface for this.
Did I get stuck anywhere?
No.
View Blog Post
Weekly Check-In #6
chirag
Published: 07/10/2023
What did I do this week?
I completed the PR for refactoring the borgmatic's docker image. It got merged and I'm now looking at my next task.
What's coming up next?
I will be working on the filtering task for Vorta. Next week I aim to open a PR with basic search function.
Did I get stuck anywhere?
No.
View Blog Post
Weekly Check-In #5
chirag
Published: 07/04/2023
What did I do this week?
This week I worked mostly on the docker task. I wrote several sections in README.md to explain how it the image can be used in different ways. I added several features to entry.sh to allow configuration via environment variables and also to allow using borgmatic subcommands directly.
My commits these week were low compared to previous ones but I learned a lot. I did get sidetrack as I tried to create several of my images to learn Dockerfile and tried various deployment using GH Actions and deployment tools which costed me a lot of hours.
What's coming up next?
I plan to work further on this task but I've also picked up an old PR for borgmatic which was pending. There are several merge conflicts due to new changes which I'm resolving so I can get back to writing actual code.
Did I get stuck anywhere?
I did. I couldn't figure out how to allow user to directly use borgmatic subcommands with docker-compose. See this comment.
View Blog Post
Weekly Check-In #4
chirag
Published: 06/26/2023
What did I do this week?
Integration Testing Task:
This week was quite intense. I was determined to complete my integration testing task. I skimmed through a lot of discussions on Borg's repository to find answers to installation issues I was encountering.
Additionally, running all tests through nox was time-consuming as tests were not concurrent. With suggestion of my mentor, I switched to using Github Action's matrix feature. It created jobs which are run concurrently upto certain limit and it dramatically reduced total time to complete all tests.
After a lot of patches and minor bug fixes, all of the tests finally passed across all the supported combinations.
Remove antiquated msmtp and ntfy images Task:
This task is the shorted one in my application. I submitted PR for this task after completing the required changes. I got to learn more about the Dockerfile and images in general.
Key learning this week:
- Github Action, matrix and composite action
- Dockerfile
What's coming up next?
I received several suggestions on my docker PR by my mentor and I plan to complete them this week.
Did I get stuck anywhere?
Not particularly.
View Blog Post