Skip to content

Commit

Permalink
Add no-response GitHub Bot
Browse files Browse the repository at this point in the history
  • Loading branch information
GenieTim committed Jan 21, 2021
1 parent 4fd5ef5 commit 1fa7cc8
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 10 deletions.
13 changes: 13 additions & 0 deletions .github/no-response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Configuration for probot-no-response - https://github.com/probot/no-response

# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 350
# Label requiring a response
responseRequiredLabel: "awaiting feedback"
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>edu.harvard.mcz</groupId>
<artifactId>DataShot</artifactId>
<version>1.12.2</version>
<version>1.12.3-SNAPSHOT</version>
<!-- Remember to edit src/main/java/edu/harvard/mcz/imagecapture/ImageCaptureApp.java -->
<name>datashot</name>
<description>MCZ DataShot Collection Imaging Application</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void run() {
if (startPoint.isDirectory() && (!startPoint.getName().equals("thumbs"))) {
File thumbsDir =
new File(startPoint.getPath() + File.separator + "thumbs");
log.debug("Debug", thumbsDir.getPath());
// log.debug("Debug", thumbsDir.getPath());
if (!thumbsDir.exists()) {
thumbsDir.mkdir();
Singleton.getSingletonInstance().getMainFrame().setStatusMessage(
Expand Down Expand Up @@ -117,7 +117,7 @@ public void run() {
"x" + thumbHeight + " " + filesToThumb.toString();

Runtime r = Runtime.getRuntime();
log.debug("Debug", runCommand);
// log.debug("Debug", runCommand);
try {
String[] env = {""};
Process proc = r.exec(runCommand, env, startPoint);
Expand Down Expand Up @@ -179,10 +179,10 @@ public void run() {
// only try to make thumbnails of files that match the image
// file pattern.
makeFrom.add(file.getPath());
log.debug("Debug", file.getPath());
// log.debug("Debug", file.getPath());
File target = new File(thumbsDir.getPath() +
File.separatorChar + file.getName());
log.debug("Debug", target.getPath());
// log.debug("Debug", target.getPath());
if (!target.exists()) {
BufferedImage img =
new BufferedImage(Integer.parseInt(thumbWidth),
Expand Down Expand Up @@ -220,7 +220,7 @@ public void run() {
String message = "No *.JPG files found in " + startPoint.getPath();
Singleton.getSingletonInstance().getMainFrame().setStatusMessage(
message);
log.debug("Debug", message);
log.debug("Message: " + message);
}
}
String message = "Thumbnail Generation Complete.";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#-- the ISO code for primary divison
ALTER TABLE Specimen
ADD "ISO_3166_2_primary_division" varchar(11) NULL DEFAULT NULL;
ALTER TABLE Specimen ADD `ISO_3166_2_primary_division` varchar(11) NULL DEFAULT NULL;
#-- the mention whether the Specimen is already exported
ALTER TABLE Specimen
ADD COLUMN `nahimaExported` TINYINT NULL DEFAULT 0;
ALTER TABLE Specimen ADD COLUMN `nahimaExported` TINYINT NULL DEFAULT 0;

0 comments on commit 1fa7cc8

Please sign in to comment.