Code Monkey home page Code Monkey logo

justrelease's People

Contributors

bilalyasar avatar gitter-badger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

justrelease's Issues

Code quality improvement tips

Sorry if I'm a bit harsh, but I'm a bit tired.

I'm not going to point everything that bothers me, just the basic stuff.

Don't hesitate abusing private fields =) Like here for instance.

The code needs some cleaning-up here, you can either replace it with a else, or exit the method (much better).

Your code needs some more cleaning as the #release method is way too complex (too many lines, refactorable code, etc.).

In this file, you should not try-catch, and display the help (and then exit with the system helper), just throw it with a nice message (if the user wants help, I guess he/she can type one more line in the shell).

The code needs refactoring, just search for the 'cmd' in the same file (a bad word, you should use 'command') word, and try to make the occurrences nearer to each other.

In this file, releaseConfig needs to be hidden!

In the MavenProject class, you use a setter on a field belonging to an abstract class extended by MavenProject. Even if it has no visible incidence, it is considered bad practice...

To sum up (I didn't go through every file):

  • Don't use the default visibility in concrete ( != interface) classes;
  • Use consistent styling (the {} either need to be put after every if/for/etc instructions everywhere, or no where, just be consistent);
  • Use private methods (or delegate) to make your methods lighter.

I suggest you use Sonar as it can help you with code quality.

By the way, your project looks promising, and I'll test it when I can!

adding artifact upload feature

so that people can upload their zips, jars, artifacts etc to their server.

yaml configuration should be as simple as possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.