You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sync-git-submodules-branches/src/main/java/org/gemoc/sync_git_submodules_branches/SyncGitSubModulesBranchesCLI.java
.addOption("g", "gitURL", true, "git URL that will be cloned")
26
28
.addOption("c", "committerName", true, "name of the committer who'll sign the commit")
27
29
.addOption("e", "committerEmail", true, "email of the committer who'll sign the commit")
30
+
.addOption("d", "dryRun", false, "dryRun, do not commit and push the update")
31
+
.addOption("r", "reportFile", true, "file name tha will containt the markdown report")
28
32
.addOption("i", "inactivityThreshold", true, "number of days since the last commit of a specific branch before considering the branch as old/unmaintained/inactive (-1 for infinite duration)");
Copy file name to clipboardExpand all lines: sync-git-submodules-branches/src/main/java/org/gemoc/sync_git_submodules_branches/SyncGitSubmodulesBranchesMojo.java
+31-2Lines changed: 31 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,12 @@
1
1
packageorg.gemoc.sync_git_submodules_branches;
2
2
3
3
importjava.io.File;
4
+
importjava.io.IOException;
5
+
importjava.nio.charset.Charset;
4
6
importjava.util.Set;
5
7
8
+
importorg.apache.commons.io.FileUtils;
9
+
6
10
/*
7
11
* Copyright 2001-2005 The Apache Software Foundation.
8
12
*
@@ -38,11 +42,17 @@ public class SyncGitSubmodulesBranchesMojo
Copy file name to clipboardExpand all lines: sync-git-submodules-branches/src/main/java/org/gemoc/sync_git_submodules_branches/gittool/GitModuleManager.java
+50-22Lines changed: 50 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -382,7 +382,15 @@ public void createBranchForModules(Git parentgit, String missingParentBranch)
0 commit comments