someteam / acha Goto Github PK
View Code? Open in Web Editor NEWGit Achievements
Home Page: http://acha-acha.co
License: Eclipse Public License 1.0
Git Achievements
Home Page: http://acha-acha.co
License: Eclipse Public License 1.0
It would be cool if acha supported .mailmap files (i.e. to merge users who have more than one name/e-mail address).
Successful import some rather big projects from gitlab, but from one of them get the error below.
With this bug i can`t even see others repos and achievements. After f5 only purple line and log message ->
Thu Oct 09 16:14:24 FET 2014 [worker-1] ERROR - GET /api/db/
java.lang.RuntimeException: java.lang.IllegalArgumentException: No matching ctor found for class java.util.Date
at com.cognitect.transit.impl.WriterFactory$1.write(WriterFactory.java:120)
at cognitect.transit$write.invoke(transit.clj:140)
at acha.server$write_transit_bytes.invoke(server.clj:25)
at acha.server$wrap_transit_response$fn__9136$fn__9137.invoke(server.clj:35)
at clojure.lang.AFn.applyToHelper(AFn.java:154)
at clojure.lang.AFn.applyTo(AFn.java:144)
at clojure.core$apply.invoke(core.clj:628)
at clojure.core$update_in.doInvoke(core.clj:5853)
at clojure.lang.RestFn.invoke(RestFn.java:445)
at acha.server$wrap_transit_response$fn__9136.invoke(server.clj:33)
at ring.middleware.params$wrap_params$fn__7697.invoke(params.clj:64)
at compojure.core$routing$fn__9057.invoke(core.clj:118)
at clojure.core$some.invoke(core.clj:2560)
at compojure.core$routing.doInvoke(core.clj:118)
at clojure.lang.RestFn.invoke(RestFn.java:423)
at acha.server$fn__9232.invoke(server.clj:91)
at compojure.core$if_context$fn__9079.invoke(core.clj:189)
at compojure.core$routing$fn__9057.invoke(core.clj:118)
at clojure.core$some.invoke(core.clj:2560)
at compojure.core$routing.doInvoke(core.clj:118)
at clojure.lang.RestFn.applyTo(RestFn.java:139)
at clojure.core$apply.invoke(core.clj:628)
at compojure.core$routes$fn__9061.invoke(core.clj:123)
at org.httpkit.server.HttpHandler.run(RingHandler.java:91)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: No matching ctor found for class java.util.Date
at clojure.lang.Reflector.invokeConstructor(Reflector.java:183)
at acha.db$ach__GT_entity.invoke(db.clj:170)
at clojure.core$map$fn__4345.invoke(core.clj:2614)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:484)
at clojure.core$seq.invoke(core.clj:135)
at clojure.core$concat$cat__4053$fn__4054.invoke(core.clj:696)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.Cons.next(Cons.java:39)
at clojure.lang.LazySeq.count(LazySeq.java:65)
at clojure.lang.LazySeq.size(LazySeq.java:167)
at com.cognitect.transit.impl.Util.arraySize(Util.java:41)
at com.cognitect.transit.impl.AbstractEmitter.emitArray(AbstractEmitter.java:134)
at com.cognitect.transit.impl.AbstractEmitter.marshal(AbstractEmitter.java:221)
at com.cognitect.transit.impl.AbstractEmitter.emitTagged(AbstractEmitter.java:91)
at com.cognitect.transit.impl.AbstractEmitter.emitEncoded(AbstractEmitter.java:116)
at com.cognitect.transit.impl.AbstractEmitter.marshal(AbstractEmitter.java:226)
at com.cognitect.transit.impl.AbstractEmitter.marshalTop(AbstractEmitter.java:250)
at com.cognitect.transit.impl.JsonEmitter.emit(JsonEmitter.java:29)
at com.cognitect.transit.impl.WriterFactory$1.write(WriterFactory.java:117)
... 28 more
$ java -jar acha-uber.jar --port 8080 --dir .acha
Exception in thread "main" java.lang.ExceptionInInitializerError
at acha.achievement__init.load(Unknown Source)
at acha.achievement__init.<clinit>(Unknown Source)
...
Caused by: java.util.regex.PatternSyntaxException: Illegal character range near index 19
[\ud83c\udc00-\ud83d\udeff\udbb9\udce5-\udbb9\udcee]
^
at java.util.regex.Pattern.error(Pattern.java:1713)
... 33 more
I just tried to follow README
curl -L -o acha-uber.jar https://github.com/someteam/acha/releases/download/0.2.1/acha-uber-0.2.1.jar
java -jar acha-uber.jar
My environment:
OS X 10.10 Yosemite
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
v0.2.5, running local version using Java 8.
The repo is not public, hosted on bitbucket.
Things that I tried:
15:22:09.075 [ ERROR ] worker#3 : a.dispatcher - Repo analysis failed
org.eclipse.jgit.api.errors.TransportException: <some-private-repo-url>: USERAUTH fail
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139) ~[acha-uber-0.2.5.jar:na]
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178) ~[acha-uber-0.2.5.jar:na]
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125) ~[acha-uber-0.2.5.jar:na]
at acha.git_parser$clone.invoke(git_parser.clj:43) ~[acha-uber-0.2.5.jar:na]
at acha.git_parser$load_repo.invoke(git_parser.clj:56) ~[acha-uber-0.2.5.jar:na]
at acha.dispatcher$analyze.invoke(dispatcher.clj:115) ~[acha-uber-0.2.5.jar:na]
at acha.dispatcher$worker$fn__7644$fn__7645.invoke(dispatcher.clj:130) ~[acha-uber-0.2.5.jar:na]
at acha.dispatcher$worker$fn__7644.invoke(dispatcher.clj:128) [acha-uber-0.2.5.jar:na]
at acha.dispatcher$worker.invoke(dispatcher.clj:126) [acha-uber-0.2.5.jar:na]
at acha.dispatcher$run_workers$fn__7662.invoke(dispatcher.clj:143) [acha-uber-0.2.5.jar:na]
at clojure.lang.AFn.run(AFn.java:22) [acha-uber-0.2.5.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_20]
Caused by: org.eclipse.jgit.errors.TransportException: [email protected]:apstrktr/leblon.git: USERAUTH fail
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:159) ~[acha-uber-0.2.5.jar:na]
at acha.git_parser.proxy$org.eclipse.jgit.transport.JschConfigSessionFactory$ff19274a.getSession(Unknown Source) ~[acha-uber-0.2.5.j$r:na]
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:136) ~[acha-uber-0.2.5.jar:na]
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:262) ~[acha-uber-0.2.5.jar:na]
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:161) ~[acha-uber-0.2.5.jar:na]
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) ~[acha-uber-0.2.5.jar:na]
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) ~[acha-uber-0.2.5.jar:na]
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1115) ~[acha-uber-0.2.5.jar:na]
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130) ~[acha-uber-0.2.5.jar:na]
... 11 common frames omitted
Caused by: com.jcraft.jsch.JSchException: USERAUTH fail
at com.jcraft.jsch.UserAuthPublicKey.start(UserAuthPublicKey.java:118) ~[acha-uber-0.2.5.jar:na]
at com.jcraft.jsch.Session.connect(Session.java:463) ~[acha-uber-0.2.5.jar:na]
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116) ~[acha-uber-0.2.5.jar:na]
... 19 common frames omitted
AFAIU, until you release a new version with changes from #5, I can only build acha from source. So I tried to do that, and here is what I got: full logs here
$ lein do clean, cljsbuild clean, cljsbuild once prod, uberjar
Deleting files generated by lein-cljsbuild.
Compiling ClojureScript.
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/javascript/jscomp/CompilerOptions : Unsupported major.minor version 51.0, compiling:(cljs/closure.clj:1:1)
at clojure.lang.Compiler.load(Compiler.java:7196)
at clojure.lang.RT.loadResourceScript(RT.java:370)
...
Caused by: java.lang.UnsupportedClassVersionError: com/google/javascript/jscomp/CompilerOptions : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
...
Subprocess failed
My environment:
OS X Yosemite 10.10
$ lein --version
Leiningen 2.5.0 on Java 1.6.0_65 Java HotSpot(TM) 64-Bit Server VM
$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
I tried to find any outdated clojure-related software, but all I have seems to be up-to-date. Can you please help me?
As a admin, only i want to add or change repos. As user, i can see only already added repos by admin without possibility to add them
Add a way to merge achievements for an author that uses different emails for their commits.
but for todays tools this code doesn't compile. Unfortunately I don't know cojure. But My guess is that it probably is not too difficult to get this running again if you know what you're doing. So please anyone, Fix it...
Who knows it? The Class? Bueller...? Bueller...?
When I tried to import a large-ish repo, I keep getting OutofMemoryError
s. The first time the message said java.lang.OutOfMemoryError: Java heap space
so I ran the jar again using java -Xmx2048m -jar acha-uber-0.2.4.jar
and this time the message said java.lang.OutOfMemoryError: GC overhead limit exceeded
.
This always fails at the repository scanning
stage so I don't get to see anything. Is there any way to fix this? I don't think the repo I'm trying to import is that large -- only 1800+ commits on the master branch (3000+ overall).
I was trying to clone [email protected]:ecss/teleconference.git
and got exception:
Cannot [email protected]:ecss/teleconference.git: java.net.URISyntaxException: Illegal character in scheme name at index 3: [email protected]:ecss/teleconference.git
$ java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
Acha says I swore in this commit: rackerlabs/otter@01d216c
My only guess is that it thinks "blow" is a swear word in that context, but clearly it's not.
Hi there! Thanks for a such funny tool. Also just thought, it would be awesome if acha-acha would be able to send slack notifications about recent achievements. What do you think?
I found that acha supports file:// URL's, but I tried add some repos from home directory and got error โ even /Users folder name was changed to /users so system failed to find it โ my filesystem is case sensitive. After symlink in /tmp everything is fine
Bad URL: http://acha.clojurecup.com/aches/[email protected]
Example repository: http://acha.clojurecup.com/#/repos/46
If some collaborative repository has been added, all the users were inside are added. It may happen accidentally, and someone may be had no wish to participate. Wimp guy he is.
Browser logs:
read-transit /api/db/ (1109713 bytes): 73.624ms
acha.min.js:938 Pushed 28186 datoms
acha.min.js:986 DB initialization: 234.714ms
Hardware:
Browser: Google Chrome, Version 40.0.2214.94 m
PS: Checked on http://acha-acha.co
It will be nice to have a Rest API to add repo and get achievements list for user
Acha doesn't want to scan my private repos.
I installed the app locally, tried to use https clone url from github and got "Not authorized" message, tried ssh clone url from github like [email protected]:Foo/foo.git and got "Cannot add [email protected]:Foo/foo.git: java.net.URISyntaxException: Illegal character in scheme name at index 3: [email protected]:Foo/foo.git". I am sure I have full access to the repos with my ssh keys. May be problems with private key pass phrase?
The only way it works for me is to clone repo manually and then give "file:/path-to-repo" as clone URL to Acha.
So, is it possible to add support of gitlab with ssh login and possibility to add repos that you have access.
Bottom of the left column has some information that I can't see because every time I scroll to the bottom, new content loads.
Hi, today I found post about acha and a project I am working on. When clicking at my icon, I saw my registered GitHub / Gravatar email address ?!
This is from my perspective a NO GO. I have disallowed to show my email on GitHub.
Seems to need a fix on that.
Tom
Acha currently tries to use ws:// URLs when being served over HTTPS (e.g. using a forwarding SSL proxy). This breaks browsers which disallow using ws:// (i.e. non-SSL) URLs.
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.