Skip to content

Trying to figure out which apps need to snapshot automatically

Notifications You must be signed in to change notification settings

mbrtargeting/auto-snapshotor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto Snapshotor

Figure out which apps need to snapshot.

Prerequisites

Maven 3.0+ is required for maven dependency resolve.

Installation

Open a new terminal and run the following command:

curl -sL https://github.com/mbrtargeting/auto-snapshotor/master/tools/install.sh | bash

Usage

Run command as from your project directory. Example usage:

as --help

Test/Lint

See JUnit, AssertJ and Ktlint

mvn verify

Tasks

Changes Collection

  • Modification from Git branches
  • Add, Remove and Rename from Git branches
  • Changes from Git working dir.
  • Other ways to define changes?
  • More Git Unit Testing

Dependency Resolving with Maven

  • Recognize Maven Project/Library
  • Resolve Maven dependencies
  • Offline Mode. All dependencies need to be installed locally
  • Online Mode

Dependency Resolving with other ways

  • JSON config?
  • Dependency resolving plugins?

Reporter

  • List of Apps to snapshot
  • Detailed reason why an app needs to snapshot. File changes/Lib changes

Methods to run

  • Main method
  • Command line
  • Jenkins

Technical

  • Lint
  • EditorConfig

Built With