Monday 30 January 2017

Contributing To package.json For 'queried'

For Lab 2, our assignment is to find an open-source project that has 'keywords' metadata missing from its package.json file.

The project I have chosen to help fix a bug with is 'queried': https://www.npmjs.com/package/queried







































As you can see, there are no Keywords, as well as no open pull requests or open issues on Github. This tells me that nobody has seen this small detail as yet. So I'm going to fix it!!

First I must FORK their project into my own Github account at: https://github.com/Blackweda

I should make sure that I'm already logged in to my account on Github, then visit the site for their project files by clicking No open pull requests link on their site. It will take me to: https://github.com/dfcreative/queried/pulls, where I'll fork their project.



After pressing Fork, I saw this page:






































Now that we have it inside my github account, I will work on it.

For now, I will edit the changes inside the Github account on my browser. I'll open the package.json online editor, add keywords section with the necessary metadata details, add a commit message, create new branch called Blackweda-patch-package-json-keywords, then click Propose file change.


Now that I've completed that, I have to complete the pull request page:





























































I clicked the 'Create pull request', and on the next page I clicked 'Merge' button... However, it appears that I only made changes to the master branch of my copied version!! I need to figure out how to actually make the request to the original project creator.. Give me 5 minutes...

Okay, if you take a look at the top of my 'Open a Request Pull' page, you can see Base-Master ... Blackweda-patch-package-json-keywords. I never specified for it to go back to the original guy! Let's try and fix that.

I went back to the main page of Blackweda/queried and clicked the header Pull Requests again. This time I can see the proper designations after clicking 'New Pull Request':






Hopefully this works now!! I click and now see this:


Et voila!! My request now appears on their github page!!! So cool!!!

https://github.com/dfcreative/queried/pull/1

---------------------------------------------------------

I would say that this lab (taking it step-by-step) took me probably about 45 minutes to complete. I followed the instructions online for forking and creating a pull request, and I double checked how to properly include 'keywords' in the package.json file (proper syntax).

At first when I thought it was done, I was mistaken. I had only merged my branch file to my own master file... After that I made another Pull Request and specified a comparison between the creator's master branch and my patch branch... once that happened everything synced perfectly! I am awaiting a response from the creator, until then, my post is DONE!!

================================

Okay checked back a day later... the creator didn't make any response, they just added the new code to their package.json file... so its done now.

Friday 13 January 2017

Taking A Look At BotPress

Looking through GitHub/Trending, I narrowed my search to JavaScript just to browse around for some cool ideas. I found one particular post about BotPress, which seemed interesting in its name.

The post is called 'botpress' and its introduction says "The wordpress of bots. Create, manage and extend chatbots in seconds."

The project deals with chatbots, which are AI programs that simulate having human conversations. It is a repository of many unique modules contributed by the open source community.

Vision & Mission

Botpress is on mission to make bots ubiquitous and profitable for everybody. At Botpress, we think that using closed-source tools like Chatfuel is not the right approach for building awesome and powerful bots. To be able to create something great, it's important to have full control of your tools and to leverage the community efforts as much as possible.

Initial target audience

Botpress is at an early stage and we are looking for nodejs developers to build new modules, create chatbots and help the community to build something that will be huge... Over time, everyone will benefit from having a powerful open-source ecosystem with a wide variety of specialized modules.
If you are not a programmer or that this is your first bot, please consider using Chatfuel, FlowXO or Motion.ai, these are great tools we recommend for begineers and for non-coders.
 
The github post references its main website: https://botpress.io/ ... written in English.

It appears from just browsing the site that it allows you to download free modules and use them. It also seems to offer some guidance on how to use them in a simple manner and leaves references for more information for developers to study and implement later in their own manner.

It currently has about 36 open issues and 6 contributors so far. Their most recent updates to the source code have been implementing Google Analytics. So far, the people using the project are chatbot users and those interested in developing the coding further to better refine their modules.


https://github.com/botpress/botpress

Introduction

Hello,

My name is Wayne and this is the beginning of my blog for OSD600 course @ Seneca. Hopefully this semester I will be working on some really cool stuff and make a difference in the open source community!