52North / worldviz

Triturus WorldViz supports the development of thematic 3-d visualizations at world scale.
GNU General Public License v2.0
7 stars 4 forks source link

Logging framework and code review #6

Open nuest opened 9 years ago

nuest commented 9 years ago

Did you consider using a logging framework yet?

Would you welcome a code review from an experienced software developer from 52N?

cDanowski commented 9 years ago

Benno has it in mind, I think we will tackle this issue in during the upcoming semester break. Is there any logging framework you prefer/recommend?

A code review of an experienced software developer will be very helpful! I welcome this offering and I think Benno thinks alike.

nuest commented 9 years ago

Logging framework: Log4j2 (http://logging.apache.org/log4j/2.x/) is quite new and supposed to be fast (faster than the alternative: logback). To not depend on a particular framework, or if you want to allow users to use a different framework, you can use slf4j (http://www.slf4j.org/) as an abstraction layer. slf4j + logback is a commen setup at 52N, but log4j2 seems to be a bit ahead of logback with the latest version, so I'd recommend to use slf4j + log4j2.

Regarding the review: Would you do this in this issue, or on the Trello board? Can you tell me when you will have a window for the review (i.e. not doing any commits for half a day so that the reviewer does not look at something that is changed anyway) ?

cDanowski commented 9 years ago

Okay thank you for the recommendation. We will have a look into it during the next weeks.

Tomorrow we will have a Skype meeting with Adhitya (15:30 CEST) on which we will talk about this issue. I think after that we can tell you a concrete window.

cDanowski commented 9 years ago

@nuest we just had a Skype meeting in which we discussed th above topics. We will start logging the next week or the week after that. Regarding the code review: we agreed that we would like to wait for another two weeks until there is some more code. During the next days changes to the repository are likely. Would that be okay for you?

nuest commented 9 years ago

I don't see the reason why to delay starting with logging, but that's your choice.

Regarding the review: Sure - just get in touch a couple of days ahead and I'll see which developer can do it. Looking forward to "see" more :smile:

nuest commented 9 years ago

Let's leave this issue open for the review.

cDanowski commented 8 years ago

@nuest Hi Daniel, sorry for the late response. We would like to come back to your offering about a code review. We now have a good state of the project and could pause for some days. Do you require anything else from us? How do we proceed with the code review?

Thank you in advance!

nuest commented 8 years ago

I asked around - please ping me again in a couple of days if I forget to get back to you.

cDanowski commented 8 years ago

@nuest What about the code review? Is anyone free to do it?

nuest commented 8 years ago

I'll take some time to do it myself. Are all current developments integrated in the master branch? Can I just start with the README?

kamakshidasan commented 8 years ago

Yes. All developments from my side have been integrated into the Master branch.

On Mon, Aug 10, 2015 at 6:37 PM, Daniel Nüst notifications@github.com wrote:

I'll take some time to do it. Are all current developments integrated in the master branch? Can I just start with the README?

— Reply to this email directly or view it on GitHub https://github.com/cDanowski/worldviz/issues/6#issuecomment-129436095.

cDanowski commented 8 years ago

@nuest okay thank you :) Do you intend to only review the code of the GSOC project, or do you also intend to review the code that Benno and I have put into this repository? If you only want to review the GSOC-related code then we should point you to the corresponding subpackages.

nuest commented 8 years ago

Ok, here we go. Several things were discussed before, but I include them here so that I don't miss anything. I trust you will create all the separate issues based on my remarks as you see fit. Also, I tried to formulate short comments, please excuse me if some thing sound harsh.

Project setup

Source code

(I just randomly look at files - please point me to the package where Adhitya did most developments - Thanks!)

Tests

Documentation

[ERROR] Failed to execute goal on project 52n-v3d-worldviz: Could not resolve dependencies for project org.n52.v3d:52n-v3d-worldviz:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: org.geotools:gt-shapefile:jar:13.1, org.geotools:gt-opengis:jar:13.1, org.geotools:gt-data:jar:13.1, org.geotools:gt-api:jar:13.1, org.geotools:gt-main:jar:13.1, org.geotools:gt-metadata:jar:13.1, org.geotools:gt-referencing:jar:13.1: Could not find artifact org.geotools:gt-shapefile:jar:13.1 in lib-repository (file:///C:\Users\Daniel\dev\git\worldviz/lib-repository/) -> [Help 1]

cDanowski commented 8 years ago

thank you for the great feedback :) . We will deal with each recommendation during the next weeks. Your comments are very helpful!

The main subpackages with Adhityas work are as follows: