-
Notifications
You must be signed in to change notification settings - Fork 19.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert the repository into a Java project #474
Comments
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 |
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 |
@SatyaPrakashDwibedi Yes. We are following Java 1.8. |
I'm happy to contribute as well. :) |
@Leoat12 Exactly(While following the correct coding standards and practices) |
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 You would have to fork the repo first and then when you |
@varun I'm going to try it from eclipse. Thank you.
El lun., 27 ago. 2018 a las 18:35, Varun Upadhyay (<notifications@github.com>)
escribió:
… @MarisaAfuera <https://github.com/MarisaAfuera> You would have to fork
the repo first and then when you cd into the repo on your local machine,
you need to switch to development branch using git checkout Development
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#474 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASac7J8TAVfcOdtRIUT4urIBfZyhgHJfks5uVB_jgaJpZM4VlgEF>
.
|
@MarisaAfuera I suppose eclipse also has a very good Git support(Not sure about exact setup) If you face any issues on eclipse, I would advice you to run this command through a terminal |
@varun. Thanks. I have installed a plugin for git. I could change the
repository in my local environment to development. Now I look for something
to do.
El lun., 27 ago. 2018 19:10, Varun Upadhyay <notifications@github.com>
escribió:
… @MarisaAfuera <https://github.com/MarisaAfuera> I suppose eclipse also
has a very good Git support(Not sure about exact setup)
If you face any issues on eclipse, I would advice you to run this command
through a terminal
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#474 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASac7Pvl8fRrBPMlHUhQ7e7xUkYrv8giks5uVCgagaJpZM4VlgEF>
.
|
@varunu28 is there any progress on this issue? if not much, I will work on this tonight, and create a PR |
@burnz248 The Development branch is created and instructions for opening a PR have been updated in the README of the branch |
After forking, cloning and checking out to the Development I noticed that the structure of the project is not conventional, at least as I far as I've seen. The structure we usually see is this:
With this we have the same packages for both source and tests: com.example |
@Leoat12 I have the project opened in IntelliJ and it shows a green mark in the IDE. I have a vanilla setup of IntelliJ and it is showing no issues. Can you please check if you have any kind of checker enabled? |
I have started working on sorting algorithms, search algorithms. |
@varunu28 I can contribute as well, if needed!Thanks |
@varunu28 Is this still on going task? |
@smitamoonka @SmitaMoon Yes. This is active. Refer to the README on the development branch and raise a PR against Development. |
Actually converting the repo into a Java project will not solve the purpose of this organization. We want to create this organization as an open source learning resource for data structures and algorithms which is easy to understand for beginners also and every program is capable of independent execution. This will also make it convenient to automatically fetch the code and execute it in case we go for building a website for learning the DSA. |
I've added a PR #815 that cleans up the code base to make working on it easier. After it gets merged I'll start with adding tests and all missing algorithms to the repo. |
is this still going on ? If yes, I want in on it !! Which algorithms need JUnit tests ? |
Just take a look at the development branch. Everything in there is OK. Everything else needs a port plus Junit tests |
Here's a question before I dive into this. |
If it doesn't exist in development you have to get the code from master and add it to development. After that, you need to write unit tests for it. The tests should cover up most of the behavior of each algorithm. Like exceptions that might be thrown, wrong input formats etc. By port I meant taking the algorithm from master and adding it to development. They need some tweaking because you don't need the main method anymore. The stuff in main should be covered by the tests. |
Great, thank you, I will get to it soon, I'm gonna do CombSort.java first. |
I've added PR #825, which has 2 new files:
|
Looks good. |
Hi all, Nowadays, Gradle is the most common build tool for new Java projects. |
Is this still something that needs to be addressed? |
Is this still on going task? If so I would like to contribute :) |
Excellent Idea! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@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.
The text was updated successfully, but these errors were encountered: