feat: Add patchset history and diff support with cvsps integration
- Add cvsps package to Docker dependencies - Implement patchset retrieval and diff endpoints in API - Add _run_cvsps_command() helper for cvsps integration - Enhance file history parsing with log message extraction - Improve UI with enhanced styling and patchset functionality
This commit is contained in:
parent
c263092c10
commit
d3b40ae93f
9 changed files with 660 additions and 26 deletions
|
|
@ -4,7 +4,7 @@ FROM python:3-bookworm
|
|||
WORKDIR /app
|
||||
|
||||
# Install runtime dependencies (minimal)
|
||||
RUN apt update && apt install cvs rsh-client
|
||||
RUN apt update && apt install cvs rsh-client cvsps
|
||||
|
||||
COPY . .
|
||||
|
||||
|
|
@ -26,4 +26,4 @@ ENV CVS_URL="" \
|
|||
EXPOSE 5000
|
||||
|
||||
# Set the entrypoint to run the application with environment variables as command-line arguments
|
||||
ENTRYPOINT ["sh", "-c", "python -m cvs_proxy.app --cvs-url \"$CVS_URL\" --repo-checkouts \"$REPO_CHECKOUTS\" ${CVS_MODULE:+--cvs-module \"$CVS_MODULE\"} ${BASEPATH:+--basepath \"$BASEPATH\"} --host \"$FLASK_HOST\" --port \"$FLASK_PORT\" ${FLASK_DEBUG:+--debug}"]
|
||||
ENTRYPOINT ["sh", "-c", "python -m cvs_proxy.app --cvs-url \"$CVS_URL\" --repo-checkouts \"$REPO_CHECKOUTS\" ${CVS_MODULE:+--cvs-module \"$CVS_MODULE\"} ${BASEPATH:+--basepath \"$BASEPATH\"} --host \"$FLASK_HOST\" --port \"$FLASK_PORT\" ${FLASK_DEBUG:+--debug}"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue