Giter Site home page Giter Site logo

dai-practical-content's People

Contributors

lutonite avatar

Stargazers

 avatar

Watchers

 avatar

dai-practical-content's Issues

simplify project structure

It seems the packaged JARs do not work as intended, due to the configuration not being inherited (was an attempt to avoid having to declare the configuration in every module).

There are a couple of things I noticed while investigating:

  • The configuration for maven-assembly-plugin should be declared under pluginManagement and the plugin should be referenced in the modules
  • The maven-failsafe-plugin is not needed, we probably won't write integration tests.
  • The version for maven-surefire-plugin is parametrized, but the property isn't used in pluginManagement

PW01 - Change to text processing

After reading the instructions a couple of times, the fact that we are supposed to give charsets as parameters makes me think we are expected to use the Reader and Writer ecosystem. That is to say, we are expected to process text.

We should therefore refactor the existing base64 project to a text CLI with the ability to apply some transformations on a text file.

For the first iteration, I think we should work on building a copy, uppercase and lowercase commands.

Prepare repo for further practical works by implementing a monorepo structure

I want this repo to be my only repository where I work on practical works. As such, this repository should become a well-managed monorepo with the practical works being on own modules.

Let's start simple by creating a module for dependency management and a common parent for packaging.

To test, we should have this working for the hello-world project currently in main.

PW01 - Base64 top command with help and usage

Start integrating picocli by setting up a top base64 command (the one called from main) with two subcommands (encode and decode).

The subcommands should be abstracted, the processing is the same.

Add CI

A basic CI action should be added to build the project on every commit and run the unit tests and make sure the project compiles.

It should also upload the artifacts so that we can fetch one and compile from there.

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.