Posts

Showing posts from December, 2019

One last pull request

Its nearing the end of the term, so that means its time to start submitting final projects and preparing for exams. For release 0.4, we were given the same task as before, contribute to one external project and also contribute to our Telescope project. For the Telescope project i was assigned Issue #255 , which required me to find a way to silence all the logs while the application is going through all the automated tests. Every time the application is run or built, all the tests run automatically and print out the results to the console. There are tons and tons of tests that run, to test every aspect of the application. Every time a part of a test is run, there may be some messages printed out on the console, giving information on whats happening or if there are any errors. The problem is, when all there tests are run one after another, theres hundreds of messages that show up on the console and it may get very distracting and make it harder to read the test results. For our applica

Contributing to larger projects

As we progress through this semester, so does the level at which we contribute on github. For release 0.3 we were asked to contribute to 2 large projects, one of them being our internal Telescope project and the other one we were free to pick anything  we'd like. For the internal telescope project, i was assigned Issue #108 , and i was required to update some of the already existing code. The function i'm working with receives a URL string out of a queue and we use that URL to extract any information that we need. The URL is a link to a users blog posts. Currently the function just prints out the results, which is not very useful, so we need to change a few lines of code so that other modules of the Telescope project can use this function. The idea is to check every URL and extract all the useful information like the author, blog title, blog body and the time stamp of when it was posted and so on. Then we use this information to construct a "post" object that we can