twbs / no-carrier Goto Github PK
View Code? Open in Web Editor NEWTool to auto-close old GitHub issues that were abandoned by their reporter
Home Page: http://blog.getbootstrap.com/2015/08/04/no-carrier/
License: MIT License
Tool to auto-close old GitHub issues that were abandoned by their reporter
Home Page: http://blog.getbootstrap.com/2015/08/04/no-carrier/
License: MIT License
bash: ./cron.daily.sh: Permission denied
$ heroku run ./cron.daily.sh
Running ./cron.daily.sh on hacke2323uieu23r... starting, run.3251 (Free)
Running ./cron.daily.sh on hacke2323uieu23r... connecting, run.3251 (Free)
Running ./cron.daily.sh on hacke2323uieu23r... up, run.3251 (Free)
bash: ./cron.daily.sh: Permission denied
Ping @cvrebert 👍
This will account for the possibility of the bot missing some of its daily runs.
Hey everybody
I've set everything up but I keep getting this error each time:
#latestEvent('closed'): thrown java.lang.IllegalStateException(event of type 'closed')
Issues have never been closed/reopened before, account has correct privileges (I can do everything manually) but can't seem to automate it. It's a private repository, in case that changes anything. Login is successful since I see issues being listed. This is the log, just repeating itself with different #:
2017-03-01 14:41:40,034 [INFO ] com.getbootstrap.no_carrier.Main$ - Checking issue #1196 ...
2017-03-01 14:42:01,461 [ERROR] com.jcabi.github.Issue$Smart - #latestEvent('closed'): thrown java.lang.IllegalStateException(event of type 'closed' not found in issue #1196) out of com.jcabi.github.Issue$Smart#latestEvent_aroundBody40[391] in 16s
2017-03-01 14:42:08,538 [ERROR] com.jcabi.github.Issue$Smart - #latestEvent('reopened'): thrown java.lang.IllegalStateException(event of type 'reopened' not found in issue #1196) out of com.jcabi.github.Issue$Smart#latestEvent_aroundBody40[391] in 7s
.2017-03-01 14:42:19,600 [INFO ] com.getbootstrap.no_carrier.Main$ - GitHub rate limit status: [4653/5000] (resets @ 1970-01-18T05:26:20.011Z)
2017-03-01 14:42:19,600 [INFO ] com.getbootstrap.no_carrier.Main$ - Checking issue #1107 ...
Can I skip the second <label>
argument? I want to close any kind of dead PR/issue without manually add a label on it.
I'd like to use some different text for the explanatory comment that is posted when an issue is closed. However, currently the only way to do that is to fork the repository and build from source. It would be much more convenient to allow exporting an optional environment variable to override the explanatory comment.
I know that GitHub treats issues and pull requests as part of the same internal system, so it doesn't seem implausible to me that NO CARRIER automatically closes both, even though it only explicitly mentions issues.
If this is true, then I would recommend mentioning it in the documentation (I could provide a pull request for this); otherwise, I guess this is a feature request—auto-closing pull requests is also very useful.
Hi,
I've downloaded the .jar file from the releases page.
Then I've tried to run it, but I get the following error:
2017-02-01 13:09:00,143 [ERROR] com.jcabi.aspects.aj.MethodValidator - JSR-303 validator failed to initialize: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath. (see http://aspects.jcabi.com/jsr-303.html)
Console output:
2017-02-01 21:25:25,776 [ERROR] com.jcabi.aspects.aj.MethodValidator - JSR-303 validator failed to initialize: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath. (see http://aspects.jcabi.com/jsr-303.html)
2017-02-01 21:25:25,802 [INFO ] com.getbootstrap.no_carrier.Main$ - Started session.
2017-02-01 21:25:25,910 [INFO ] com.getbootstrap.no_carrier.Main$ - Repo(test/test), Credentials(username = test, password = <SECRET>), Label(auto closed), Timeout(PT5760H)
2017-02-01 21:25:27,220 [INFO ] com.getbootstrap.no_carrier.Main$ - Closed 0 issues.
2017-02-01 21:25:27,220 [INFO ] com.getbootstrap.no_carrier.Main$ - Session complete; exiting.
X-Ref: https://bugs.eclipse.org/bugs/show_bug.cgi?id=449416
If this feature really isn't there, then we'll probably need to submit a patch to implement it.
This is currently blocked on GitHub exposing an API for issue locking.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.