diff --git a/lib/readyForStable.js b/lib/readyForStable.js index 1a9d70423..965d0d846 100644 --- a/lib/readyForStable.js +++ b/lib/readyForStable.js @@ -72,6 +72,16 @@ async function checkIssues(latest, stable, stats, result) { for (let i = 0; i < labels.length; i++) { if (labels[i].name === 'stale') { console.log(` issue marked as stale, will try to refresh`); + const comment = `This issue seems to be still valis. So it should nozt be flagged stale.\n` + + `Please consider processing the issue`; + `@mcm1957 for evidence`; + try { + addComment(owner, adapter, issueId, comment); + } catch (e) { + console.log(`error adding comment to ${issueId}`); + console.log(e.toString()); + } + console.log(` comment added to ${issueId}`); } } } else { @@ -87,7 +97,8 @@ async function checkIssues(latest, stable, stats, result) { const comment = `This issue seems to be outdated.\n\n` + `This issue suggests to update the stable version of this adapter to ${issue.to} but the current ` + `stable version is already ${stable[adapter].version}.\n\n` + - `So this issue should be closed.`; + `So this issue should be closed.\n\n` + + `@mcm1957 for evidence`; try { addComment(owner, adapter, issueId, comment); } catch (e) { @@ -107,7 +118,8 @@ async function checkIssues(latest, stable, stats, result) { const comment = `This issue seems to be outdated.\n\n` + `This issue suggests to update the stable version of this adapter to ${issue.to} but in the meantime ` + `an update to version ${res[0].latest.version} is suggested.\n\n` + - `So this issue will be closed and replaced by an updated one.`; + `So this issue will be closed and replaced by an updated one.\n\n` + + `@mcm195 for evidence`; try { addComment(owner, adapter, issueId, comment); } catch (e) { @@ -287,7 +299,9 @@ function generateIssue(adapter, stableFile) { body += `Click to [edit](https://github.com/ioBroker/ioBroker.repositories/edit/master/sources-dist-stable.json)\n`; } body += '\n\n'; - body += 'Note: This is an automatically generated message and not personally authored by bluefox!\n'; + body += 'Note: This is an automatically generated message and not personally authored by bluefox!\n'+ + body += ' Do not close this issue manually as a new issue will be created if condition for update still exists\n'+ + body += ' @mcm1957 for evidence'; console.log(`CREATE ISSUE for ioBroker.${adapter.adapter} [ https://www.github.com/${adapter.owner}/ioBroker.${adapter.adapter} ]:`); console.log(`${TITLE} from ${adapter.stable.version} to ${adapter.latest.version}\n\n ${body}`); console.log(``);