Convert the repository into a Java project
@christianbender @AnupKumarPanwar @dynamitechetan
This is something which something which we have discussed in the past and have been raised by multiple users of the repo. The repo can be converted to a complete Java project with correct package structure, JUnit tests and Java language standard checkers. I want that anyone who is adding a new algorithm should add respective tests and follow a set coding standard so that the repo can become more usable for users who can then clone it into a local IDE and work on it.
Similar to Scala Repo
I propose that we create a development branch on which we can start making the changes and replace it with the master once it fulfills the above-mentioned requirement. I would like to take the initiative and start this task.
Please share your feedback.
Hey Anup. I would like to help with this as well. Let me know what you need help with
Hi Anup. Great idea. I also can help if you need.
Hello Anup,
This seems to be great thing. Please let me know if I can contribute.
I'm in.
Also, I am in and happy to contributes
So great, happy to join and contribute.
Presently working on solving most problems. I'm more than willing to help and contribute.
I can definitely help and contribute to this.
I'd love to contribute to make this repo a java project.
From what I've seen so far, the development branch is identical to the master in terms of structure and content. I'm used to working with maven in Java, however I saw that the scala repo is based on Travis CI. Would you like me to work on either of them, create the project and test for some of the existing classes?
@giannisal I initially created the development branch. I would move the code to that branch in a project structure by the weekend and would update the README for the test case format. After that we can start accepting contributions to the development branch for the tests We are using ScalaTest spec in the Java repo
I have updated the development branch and added a instructions to the README. We can start with the migration.
@christianbender Please make sure every PR is adhering to the points mentioned in README on Development branch
which build tool should be used, maven or gradle? @varunu28 I didn't see on the Development branch.
What about bazel?
@lq920320 As of now we are concentrating on adding test coverage. We would be deciding on the build tool later
@varunu28 ok
Hi, all I have started working on sorting algorithms @varunu28 Are we following java 1.8 here?
@SatyaPrakashDwibedi Yes. We are following Java 1.8.
I'm happy to contribute as well. :) Just to understand better, it is to transfer the already done algorithms from master to the new branch, in the appropriate package and then make test cases for them, right?
@Leoat12 Exactly(While following the correct coding standards and practices) So just have a look at the README in development branch and if you see some code which is not according to the Java standard coding guidelines then feel free to refractor it.
I would like some help to collaborate with you. When I read Steps to raise a PR, what do you mean with "by using the command git checkout Development". Where do I write this commad? In my local repo or in the github web?