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

Hi, Sorry I couldn't keep up but what I came to know that as we are now migrating to a complete java project structure so we don't just need algorithms but also with test cases right?? If Yes: I see that for conversion, search and sorting is done I can go ahead with Compression. If No: Where did I miss?? Thanks

SatyaPrakashDwibedi avatar Oct 09 '18 11:10 SatyaPrakashDwibedi

Hi there, My name is Ales and i am new here and i want to be a contributor to this repo . So, how can i be that one , what are the procedures to follow?

ales-blaze avatar Nov 08 '18 04:11 ales-blaze

@SatyaPrakashDwibedi You can refer the master branch and add tests for algorithms for which the tests are not present in Development

@ales-blaze Please refer README in Development branch

varunu28 avatar Nov 08 '18 04:11 varunu28

I had read that and i want to know answer of questions like, will you guys going to assign me which algo i have to implement? or may i choose it by my own?

ales-blaze avatar Nov 09 '18 08:11 ales-blaze

@ales-blaze You can pick up an algorithm present in the master branch for which test cases are yet not implemented and then refactor the code into the module as described on the Development branch along with tests.

varunu28 avatar Nov 09 '18 14:11 varunu28

@ales-blaze You would need to provide some more details about the issue you are facing while posting a PR

I would suggest you have a look at GitHub PR

varunu28 avatar Nov 10 '18 14:11 varunu28

@varunu28 I am having issues with pushing my local repo to this repo. whenever I pushed the local repo, it prompts me authentication window multiple times and after that the response to the request returned is Error 403. help, please!

ales-blaze avatar Nov 12 '18 10:11 ales-blaze

I want to contribute as well. Does it matter which algorithm and corresponding tests I choose?

a2937 avatar Mar 04 '19 19:03 a2937

@a2937 You can go ahead by raising a PR. Just check that the algorithm you are choosing is not already present in the development branch.

varunu28 avatar Mar 05 '19 17:03 varunu28

If you still need a hand, I'd love to help.

LukeBMorrow avatar Mar 10 '19 02:03 LukeBMorrow

hi,guys.can this project be imported into IDEA

justStarNew avatar Mar 11 '19 10:03 justStarNew

@LukeBMorrow You can get started by raising a PR. Please check README on Development branch

varunu28 avatar Mar 11 '19 14:03 varunu28

@justStarNew Yes. It can be

varunu28 avatar Mar 11 '19 14:03 varunu28

Unmark the src directory as source root, and mark the "java" directory as source root.

(I.e. src/main/java)

On Mon, Mar 11, 2019, 21:41 justStarNew [email protected] wrote:

@varunu28 https://github.com/varunu28 I hate to say it, but when i import the project into IDEA,I got this problem. [image: 5523542951553] https://user-images.githubusercontent.com/18233711/54168496-bc404080-44a9-11e9-8a73-d5a995386779.png

I think it might be IDEA configuration problem,so i mark the src directory as source root. [image: 5523544203731] https://user-images.githubusercontent.com/18233711/54168538-07f2ea00-44aa-11e9-9fb2-ac0c56e4f4f3.png

and i got this above.. [image: 5523545223050] https://user-images.githubusercontent.com/18233711/54168572-2fe24d80-44aa-11e9-849b-ecad353efe34.png can you guys help me,thanks in advance.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TheAlgorithms/Java/issues/474#issuecomment-471813044, or mute the thread https://github.com/notifications/unsubscribe-auth/AgKglwYKDX8r1C2C9BMcahJd8Yeq4zGqks5vVwWugaJpZM4VlgEF .

burnz248 avatar Mar 13 '19 19:03 burnz248

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

Danpatpang avatar Apr 01 '19 16:04 Danpatpang

@Danpatpang Thanks. Go ahead by raising a PR

varunu28 avatar Apr 01 '19 21:04 varunu28

I have started working on sorting algorithms, search algorithms. @varunu28 May I implement DepthFirstSearch, BreadthFirstSearch and RadixSort?

Danpatpang avatar Apr 02 '19 06:04 Danpatpang

@varunu28 I can contribute as well, if needed!Thanks

smitamoonka avatar May 16 '19 18:05 smitamoonka

@varunu28 Is this still on going task?

SmitaMoon avatar May 23 '19 19:05 SmitaMoon

@smitamoonka @SmitaMoon Yes. This is active. Refer to the README on the development branch and raise a PR against Development.

varunu28 avatar May 23 '19 19:05 varunu28