-
Notifications
You must be signed in to change notification settings - Fork 304
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
Integrated code lifecycle
: Simplify repository handling for commit history
#8546
Integrated code lifecycle
: Simplify repository handling for commit history
#8546
Conversation
...va/de/tum/in/www1/artemis/web/rest/programming/ProgrammingExerciseParticipationResource.java
Fixed
Show fixed
Hide fixed
...va/de/tum/in/www1/artemis/web/rest/programming/ProgrammingExerciseParticipationResource.java
Fixed
Show fixed
Hide fixed
...va/de/tum/in/www1/artemis/web/rest/programming/ProgrammingExerciseParticipationResource.java
Fixed
Show fixed
Hide fixed
…ogramming exercise creation)
…tService in tests)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally:
- Commit history for Test, Template, and Solution open with no error and display correct commits (commit view displays correct changes)
- Same for regular participation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on TS2 and works as expected without any errors and all commits being displayed correctly. Code LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good to me 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on TS2. Works as expected. Code lgtm
Checklist
General
Server
Client
Changes affecting Programming Exercises
Motivation and Context
To compare commits, the commit detail view retrieves the content of a repository. This always involved the server having to clone / checkout / pull the local repository at each commit, scanning the working copy, then rewinding. On production, this resulted in longer waiting times.
Description
Steps for Testing
Prerequisites:
Template, Test, and Solution repositories
Regular participations
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Review Progress
Performance Review
Code Review
Manual Tests
Test Coverage
Client
Server
Note: More extensive testing of this new functionality will be done in a follow-up PR, as the repository setup of the tests currently does not allow us to test it properly.