-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
demo web interface for DSpot #801
Comments
If based on the maven plugin, I have part of the code: a (not yet committed, still some pending issues) dspot invoker, and a Git cloner already committed in stamp-ci (https://github.com/STAMP-project/stamp-ci/blob/master/stamp-cicd-utils/src/main/java/eu/stamp_project/cicd/utils/git/GitCloner.java ). |
excellent, good to know.
not yet committed, still some pending issues
looking forward to it.
|
Consider to use also the code developed by @luandrea, based on EGit Eclipse library (Luca also contributed to this library, adding support for web proxies: his contribution now is officially part of Eclipse library): https://github.com/STAMP-project/botsing-github-app/blob/master/src/main/java/eu/stamp/botsing/service/GitHubService.java In this class you can reuse several methods to open, for instance, pull requests on Github repo, containing the amplified unit tests. |
Will be super useful, could you document its usage with some snippets or test cases? |
Same kind of code here, but for Gitlab: https://github.com/STAMP-project/stamp-ci/blob/master/stamp-cicd-utils/src/main/java/eu/stamp_project/cicd/utils/git/GitlabIssueManager.java . |
Dear @monperrus , at the moment some integration tests show how it works: https://github.com/STAMP-project/botsing-github-app/blob/master/src/test/java/eu/stamp/botsing/service/GitHubServiceTestIT.java Anyway, we will consider to write some documentation on it. |
Thanks a lot for the input material.
|
FYI @tailp is working on this.
|
That's very interesting @tailp ! Looking forward to see your progresses, and of course I will stay at your disposal in case you need some help on the code we referenced previously in this thread. |
Thank you :). I'll contact you when that's the case . |
Another source of info: two years ago I started to design REST API to expose STAMP as a service. But the project progressed in another direction, and those APIs was abandoned. They are already available at https://app.swaggerhub.com/apis/stamp-project/stamp-api/0.2.0 |
Hello @tailp That looks very nice! Thank you. |
Another source of info: two years ago I started to design REST API to expose STAMP as a service. But the project progressed in another direction, and those APIs was abandoned. They are already available at https://app.swaggerhub.com/apis/stamp-project/stamp-api/0.2.0 |
@danzone thank you very much. That sounds very interesting :). Currently I am stuck with another task on repairnator, but I'll surely take a look when I am back to Dspot again :) . |
@monperrus currently I already have a fork for the dspot-Kubernetes task. So I won't be able to fork again and make a PR until that's is done :) . I'll continue working offline in the mean time. |
Note that it's possible to have as many parallel forks and PRs as you want.
|
@tailp, per our meeting today, in your own fork, you have one branch per pull request. |
I have some questions about it:
But what should I do after running the last command to see the web interface? Thank you, and great job! |
@danglotb Hi :) , ah I think my Kubernetes cluster is running on Meanwhile you can run it yourself locally. After the readme , you'll need 3 more things mongodb, activeMQ and our dspot-pipeline dockerimage (local updates not yet pushed here, related to this #852).
The last one is left running undetached since what happens after someone submit a git url is interesting :). You can now access the page at localhost:3000 and submit an url like this random repo on the internet "https://github.com/jenkins-docs/simple-java-maven-app" which will succeed or "https://github.com/STAMP-project/dspot" , which will give you an amplification failed since multi modules autoconfig are not yet supported :) . Otherwise just ping me if you encounter any bugs, I'll fix and update the docker image. |
Hi @danglotb , @monperrus , we just successfully deployed the DSpot web demo in our cluster. You could use this link to test: http://dspot.kth-assert.net/ (which should be avaliable everywhere) As some project will keep DSpot running for quite a long time, we set up a 10 minutes timeout in the current deployment. Feel free to ping me or @tailp if you have any questions :) |
#847 is a milestone PR for this. we keep this issue open because we continue the work, esp with @borisbaldassari |
It would be great to have syntax highlighting in the test cases sent over email. |
we can have a demo web interface for DSpot. there would be two input fields: URL to a repo and email. People would submit their repo, Dspot would be run on the latest version, and the result email would be sent.
This is directly inspired by http://commit.guru/ (the code is online, we may reuse it)
Under discussion at KTH.
The text was updated successfully, but these errors were encountered: