Release 0.4 Final

PR1: https://github.com/excaliburjs/Excalibur/pull/1118
PR2: https://github.com/excaliburjs/Excalibur/pull/1124

For this release, I worked on files ActionSpec.ts, AnimationSpec.ts and BoundingBoxSpec.ts under the src/spec/ folder in Excalibur under 2 pull requests. The first PR worked on ActionSpec.ts to first get used to working on files in Excalibur. This allowed me to ask some questions to the issue poster and solve them. After that, I worked on the latter 2 files with the knowledge I got from the first one. All these changes were updating files using var to use const and let. While this change may be small, the amount of lines needed to be changed were quite numerous. Large files obviously have more variable declarations than smaller ones, especially test tiles like the 3 I worked on. This release allowed me to see that different projects have different requirements in styling of their code, they even wanted the var in for loops changed.

Release 0.4 Update

Issue: https://github.com/excaliburjs/Excalibur/issues/1102

For my Release 0.4 for OSD600, I chose Excaliburjs Issue #1102. As of yet, I have not created a PR for the issue as I am currently looking for files to work on, since the issue post description does not specify. I submitted a comment to the issue asking which files I can work on, as well as suggestions on files I wanted to work on. I have much work to do for this PR, including finding multiple files as well as the modules needed to run and test my edits. As this issue can be considered a “chore” type, almost no one has touched the issue, giving me a good chance of getting many files to edit. My plan is to at least edit 2 files.

Release 0.3 Submission

PR: https://github.com/MarquezProject/marquez/pull/388

My original issue for 0.3, nodejs, turned out to have no work available in the issue and suffered from an unorganized available work table. Therefore I have decided to switch to another issue. The issue I’ve chosen is one of my incomplete issues from 0.2, the Marquez Project. For 0.2, I started working on it but never finished it. The original work committed had many issues and when it was finally done and passed the CircleCI test, it turns out I was required to write a file-specific test for it myself. This blog post will be about the work I committed to the issue after Release 0.2, as well as the test file I have been working on for it.

For the file itself, the code went through many, many revisions as it could not pass the compiling test on the way to merging. First issue: Gradle 5.2.1 itself was not installed, therefore the test call didn’t exist. Second issue: my JRE (Java Run-time Environment) was extremely outdated, thus I couldn’t even call the test properly in the beginning. Third issue: I had to make updated to other files to work with my new file as well as add new imports. This resulted in type conversion errors, missing required variable declarations in the other files (I had to create a new constructor for a file) and other things that did not match up. After working with the maintainer of the issue, I finally completed the file, which ended up far smaller than I had imagined (literally a methods made up of 4 lines of code in the editor).

public static Namespace map(
@NonNull NamespaceName namespaceName,
@NonNull NamespaceRequest request) {
return new Namespace(namespaceName.getValue(), request.getOwner(), request.getDescription().orElse(null)); }

Next on the agenda is a test file specifically for this code. I have begin writing the basic outline of it, however I must continue to read guidelines and instructions from a website recommended to me from the maintainer. I will get this done soon.

Release 0.3 Update

Issue: https://github.com/nodejs/node/issues/26546
PR: https://github.com/nodejs/node/pull/26875

For this release project, I have begun working on an issue for nodejs, however I did not expect that most of the files were already taken. I found a file that has yet to be updated, however it was just a simple line change. At this moment, I am wondering if I should switch to a different issue. The change I have made is:

const debug = require('util').debuglog('policy');
to
const debug = require('internal/util/debuglog').debuglog('policy');

If I do not get a reply about how to test whether this change will work in a few days, I intend to close the PR and move to a different issue.

SPO600 Lab 8

https://github.com/nodejs/node/issues/26546
https://github.com/excaliburjs/Excalibur/issues/1102

For releases 0.3 and 0.4, I found an issue from Nodejs and Excaliburjs. The former being a frequently used cross platform runtime that executes JavaScript code externally from a browser while the latter is a HTML5 game engine. For 0.3, I intend to do the issue for nodejs. As it is labelled a good first issue, there is a large quantity of files to work on. I intend to do approximately 2-3 of them, if not more. For 0.4, Excaliburjs is my choice. The issue itself does not list how many files need altering, but it will not be a small amount most likely. I intend to work on the larger files if possible.

Release 0.2 Part 3

Pull request: https://github.com/teacherfund/TeacherFund_next/pull/57

For my third update I worked on changing CSS structured code into SCSS structured code in an SCSS file in the TeacherFund project. The file I edited was the _footer.scss file written in, of course, CSS. As I finished the task, I have improved on learning the difference between CSS and SCSS structure. For my PR, all checks have been cleared and it has been reviewed and changed.

Release 0.2 Final Part

All PRs:
https://github.com/mochajs/mocha/pull/3811
https://github.com/PopeSpaceous/Solitary/pull/151
https://github.com/teacherfund/TeacherFund_next/pull/57
https://github.com/MarquezProject/marquez/pull/388

Previous Posts:
https://dli119seneca.wordpress.com/2019/03/06/lab4-release-0-2-part-1/
https://dli119seneca.wordpress.com/2019/03/06/lab5-release-0-2-part-2/
https://dli119seneca.wordpress.com/2019/03/06/lab-6-release-0-2-part-3/
https://dli119seneca.wordpress.com/2019/03/06/release-0-2-part-3/

In this assignment I learned many things about github and open source projects. In the first, I learned about different data sources, which makes reading the referenced source easier or harder trading minimized code for well spaced code. Whether this change is necessary, it depends on the needs of the programmers.

In the second, I caught a glimpse of C# programming structure in Unity.

In the third, I learned the difference between CSS structure and SCSS structure, despite it doing basically the same thing.

And finally in the fourth, I learned a bit about Java from the poster of the issue. Communication takes a long time on github.

The last thing I learned is that finding issues to work on in github is a tedious task. For one, you have to find a task you have knowledge in and second, you have to adhere to their contribution.md. Through this, I realized how little programming knowledge I have thanks to opensource, and now strive to improve on what languages I know.

Release 0.2 Part 4

Pull request: https://github.com/MarquezProject/marquez/pull/388

For my last pull request, I looked at those my fellow classmates have chosen and found the Marquez Project to be appearing a bit more than the rest. I decided to take a look and chose an issue where I had to add a file based of another one with a few changes. I got in contact with the issue poster and we had a discussion about what I should do (discussion in https://github.com/MarquezProject/marquez/issues/301). I created the file and made the changes, however testing will not work due to a task failing, which fails the test in a second…(Task :compilejava FAILED). I hope to continue talking with the poster to determine what is wrong and whether the changes I have made are correct.

Lab5/Release 0.2 Part 2

Pull request: https://github.com/PopeSpaceous/Solitary/pull/151

For my second update, I decided to work on a game called Solitary. This change was a simple typo correction in file references. The language used in the file I updated is C#, as the file is a .unity file. What I gained from this project is a glimpse at unity and C# coding structure and how confusing it looks. Conversing with the project owner, it turns out that I needed to change all files and the folder along with all references to Crytogram to Cryptogram else the game crashes. Now awaiting testing and answers.

Lab4/Release 0.2 Part 1

Pull Request: https://github.com/mochajs/mocha/pull/3811

For my first update, I decided to work on an issue in MochaJS. The issue was a simple change from the original source script/link references (cdnjs.cloudflare.com) to a different one that organized the same data (unpkg.com). The data from cloudflare had all data clumped together in a single paragraph, making it user unfriendly but minimized, while the data from unpkg properly spaced all data, making it easy to read like a written code from a programmer. The file I edited was written in JavaScript and as it was a simple change I finished it rather quickly. What I learned from this part was that different sources provide different levels of readability for users and that trading minimization for clarity is debatable. The checks took a while but all passed and now await merging.