Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.18 KB

development-hints.md

File metadata and controls

28 lines (19 loc) · 1.18 KB

Hints For Developers Of This Project

Logging and Command Line Output

  • When a process is started that might change data, this should be logged in Scala at info level.
  • When a user expects confirmation of a successful operation, this should also be logged in Scala - the scripts do not need to print a "finished successfully" message.
  • When a process terminates abnormally, this should be logged and printed to the console in Scala - the scripts do not need to print a "finished abnormally" message.

Scala

GIT

git clone https://github.com/gdiet/backup.git

See also git.conf.

Retiring Branches

If a branch is not going to the main branch anytime soon, consider doing a 'fake merge' to the retired_branches branch and then delete it. That way it will still be available 'just in case' while not cluttering the branch list:

git checkout retired_branches
git merge -s ours origin/branch-to-retire
git push
# now delete the remote branch branch-to-retire