abhaykatheria's Blog

Weekly Blog Post #5

abhaykatheria
Published: 08/06/2020

Hi everyone  a little late on this blog as I have to go back to college to get my stuff back. I passed the second evaluation, yay,. Till now I have been able to get the module metadata except the licenses. The licenses can be collected in 2 ways one is through making bash scripts to find and collect licenses from the module directory. Since licenses files dont have a set structure or a convention that's why its getting difficult and a foolproof  guarantee cant be given. Another way is through making an in house copyright to License parser. For debian licenses we have debut  used in tern I have to come up with similar kind of parser. I also have one idea of training a model from data collected by using github's api but thats just overkill.

View Blog Post

Weekly Check-in #5

abhaykatheria
Published: 07/28/2020

What did I do this week?

After adding the functionality of cd ing into workdir. I was able to give more time copyright extraction. Currently its under testing but I will try to get it done asap.

What's next?

Some testing and getting the pr merged.

Did I get stuck somewhere?

Got stuck with Shell script but managed to find a way around .

View Blog Post

Weekly Blog Post #4

abhaykatheria
Published: 07/22/2020

Hi everyone, Its been exciting 8 weeks my exams were scrapped this sem and I got a decent score :) . Also I am still working on go lang metadata extraction. Now the issue of cd'ing into the workdir is resolved and the PR will get merged soon :) . Now only issue left is collecting copyrights. If I can get it done by the next week it will be really great. I think thats all I have for this blog post.

Adios Amigos.

View Blog Post

Weekly Check-in #4

abhaykatheria
Published: 07/10/2020

What did I do this week?

This week was mostly debugging the shell scripts for go metadata extraction.

What's next?

I aim to complete the work by next week.

Did I get stuck somewhere?

Tern is not picking up go command. and also I have to find a way to cd into wrokdir.

View Blog Post

Weekly Blog Post #3

abhaykatheria
Published: 07/06/2020

So this week I had my first evaluation. It went great also I received my stipend today so hurray.Extracting golang metadata with shell is frustrating not every go lang module have licenses or the copyright text in a set format. So writing a generic script is quiet challenging I researched on how go license works turns out they have a dedicated license parser as well as scripts which can request license from github. But we can't do that. This week was mostly debugging and restarting again. Now I am trying to work on go.sum file. Extracting names and versions is easy. So all the go modules live in ~/go/pkg/mod and then repo name. But we can't cd into module dir with its name because some does which have upper case letter in their name have different directory name. My exams are also nearing so I have to study for that too . :P

View Blog Post