Skip to content

Changelog

Tobias Løfgren edited this page Feb 27, 2020 · 3 revisions

This is a log for overall changes to the project, like converting between languages and so on.

Thoughts on removing control.sh

We removed control.sh. So sad. But not really. We did this because of two reasons:

  1. We had a hard to replicating its exact behaviour. This is mainly because it uses some concepts that works well it bash, like running a program and piping its output somewhere, which is harder to do in a C# program.
  2. We felt that most or all of the scripts features were easily replicated using the dotnet CLI.

Creation of this repo (30/01/2020)

  1. Cloned https://github.com/itu-devops/2020-spring
$ git clone https://github.com/itu-devops/2020-spring
  1. Changed into the session_1 directory where the remote_code was located.
$ cd itu-devops/2020-spring
  1. Copied the remote_code directory outside the main repository folder
$ cp -r ./remote_code ../../../remote_code
  1. Changed into that new directory
  2. Created org and repo on github
  3. Initialized new git repository
$ git init
  1. Added all files to the git repositry
$ git add -A
  1. Created commit
$ git commit -m "First commit"
  1. Added github repo as remote
$ git remote add origin git@github.itu.dk:Devoops-2020/ITU-MiniTwit.git
  1. Pushed code to repository
$ git push -u origin master

Migrate to python3 (30/01/2020)

  1. used 2to3 tool for minitwit.py to update to python3. Pullrequest
  2. Created a requirements file for the projects.

##Migrate to C# We chose to migrate to C# as it is one of the most used languages in the danish industry, and since the .NET library offers a lot of cool things for working with DevOps.

  1. Start project as ASP.NET Core Web Application Using MVC 5.
  2. Refactor Flask HTML files into Razor Views for MVC.
  3. Switched from SQLite to EntityFrameworkCore (we did this early since it was honestly easier than trying to remake the original code then edit it later).

Clone this wiki locally