Take Smaller Tasks
Amir Mullagaliev
Posted on November 1, 2024
Introduction
As I told you in previous blog I have taken a huge project that was a time consuming. It's been just couple of days before Hactoberfest
finished, and I had 1 accepted PR and 1 not merged, so I had to quickly find a new project that would contain at least 2 issues that I would be able to complete.
PDFLY Project
PDFLY is a cool CLI tool to manipulate pdf files. It was a good project as we have been working on cli tool since the beginning of current semester, so I considered it as a sign from above.
I found issue related to creation of new feature. As time was limited, I started working on it right away, made some silly mistakes, but it was pretty enjoyable. For the reason, that I liked working on CLI tools.
Issue: Add --format Option for Custom Page Sizes in x2pdf Command, allowing users to specify custom page sizes for PDF output. The option supports standard formats such as Letter, A4-portrait, and A4-landscape, as well as custom dimensions (e.g., 210x297 mm). This enhancement provides flexibility for generating PDFs with various page sizes, scaling and centering images to fit each specified format.
Eventually, opened PR, and maintainer asked to make some fixes and then accepted the code.
Here's screenshot of added function to the tool:
Conclusion
Overall, I liked working on smaller projects more that on huge because the maintainers are more likely to help you and leave a descriptive instructions on how to complete it.
Posted on November 1, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.