Nort TODO

From NovaOrdis Knowledge Base
Revision as of 01:03, 29 November 2016 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Testing

mvn -Dmaven.surefire.debug="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005" -Dtest=ReleaseCommandTest clean test

TODO

  • __undo/rollback functionality__:
    • undo functionality in the JVM shutdown hook.
    • Sequences should have "rollback()" methods, not undo().
    • Rollback Git tagging:
4.2.2 source commit ok
fatal: tag 'release-4.2.2' already exists
WARN  SequenceController: failed to undo build sequence: undo() NOT YET IMPLEMENTED
[error]: failed to tag the local source repository

The undo solution for git tagging is:

git tag -d release-4.2.2
git push origin :refs/tags/release-4.2.2


  • 11/26/16 prevent the embedded installation script .install to accidentally overwrite the installation it is part of. Probably the best protection is to delete it.
  • Replace the bash functionality with a set of commands implemented in Go. Implement the functionality as described in the nort#User_Manual.