Java icon indicating copy to clipboard operation
Java copied to clipboard

Convert the repository into a Java project

Open varunu28 opened this issue 8 years ago • 74 comments

@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.

varunu28 avatar Jul 29 '18 17:07 varunu28

Hey Anup. I would like to help with this as well. Let me know what you need help with

burnz248 avatar Jul 29 '18 18:07 burnz248

Hi Anup. Great idea. I also can help if you need.

MarisaAfuera avatar Jul 30 '18 11:07 MarisaAfuera

Hello Anup,

This seems to be great thing. Please let me know if I can contribute.

rahul-vishwadhaar avatar Aug 03 '18 02:08 rahul-vishwadhaar

I'm in.

ahmedsameha1 avatar Aug 04 '18 03:08 ahmedsameha1

Also, I am in and happy to contributes

mkabdullahi avatar Aug 05 '18 21:08 mkabdullahi

So great, happy to join and contribute.

lq920320 avatar Aug 10 '18 03:08 lq920320

Presently working on solving most problems. I'm more than willing to help and contribute.

esarella avatar Aug 15 '18 04:08 esarella

I can definitely help and contribute to this.

asdiamond avatar Aug 15 '18 17:08 asdiamond

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 avatar Aug 20 '18 02:08 giannisal

@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

varunu28 avatar Aug 23 '18 21:08 varunu28

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

varunu28 avatar Aug 24 '18 17:08 varunu28

which build tool should be used, maven or gradle? @varunu28 I didn't see on the Development branch.

lq920320 avatar Aug 25 '18 05:08 lq920320

What about bazel?

asdiamond avatar Aug 25 '18 05:08 asdiamond

@lq920320 As of now we are concentrating on adding test coverage. We would be deciding on the build tool later

varunu28 avatar Aug 25 '18 05:08 varunu28

@varunu28 ok

lq920320 avatar Aug 25 '18 05:08 lq920320

Hi, all I have started working on sorting algorithms @varunu28 Are we following java 1.8 here?

SatyaPrakashDwibedi avatar Aug 25 '18 14:08 SatyaPrakashDwibedi

@SatyaPrakashDwibedi Yes. We are following Java 1.8.

varunu28 avatar Aug 25 '18 14:08 varunu28

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 avatar Aug 27 '18 00:08 Leoat12

@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.

varunu28 avatar Aug 27 '18 02:08 varunu28

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?

MarisaAfuera avatar Aug 27 '18 16:08 MarisaAfuera