Skip to content
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

Add mirror last_updated_at to model and dataset detail API #167

Merged

Conversation

pulltheflower
Copy link
Collaborator

@pulltheflower pulltheflower commented Nov 5, 2024

  • Update mirror last_updated_at after repository mirrored
  • Update mirror last_message if failed when mirroring repository
  • Add mirror_last_updated_at to model and dataset detail API

@pulltheflower pulltheflower requested a review from Rader November 5, 2024 10:00
@Rader
Copy link
Collaborator

Rader commented Nov 5, 2024

should update repo and its mirror status in db transaction

@esperyong
Copy link

@codegpt /review

@starship-github
Copy link

The StarShip CodeReviewer was triggered but terminated because it encountered an issue: No files need to be reviewed based on the configured file extension policy.

Tips

CodeReview Commands (invoked as MR or PR comments)

  • @codegpt /review to trigger an code review.
  • @codegpt /evaluate to trigger code evaluation process.
  • @codegpt /describe to regenerate the summary of the MR.
  • @codegpt /secscan to scan security vulnerabilities for the MR or the Repository.
  • @codegpt /help to get help.

CodeReview Discussion Chat

There are 2 ways to chat with Starship CodeReview:

  • Review comments: Directly reply to a review comment made by StarShip.
    Example:
    • @codegpt How to fix this bug?
  • Files and specific lines of code (under the "Files changed" tab):
    Tag @codegpt in a new review comment at the desired location with your query.
    Examples:
    • @codegpt generate unit testing code for this code snippet.

Note: Be mindful of the bot's finite context window.
It's strongly recommended to break down tasks such as reading entire modules into smaller chunks.
For a focused discussion, use review comments to chat about specific files and their changes, instead of using the MR/PR comments.

CodeReview Documentation and Community

  • Visit our Documentation
    for detailed information on how to use Starship CodeReview.

@esperyong
Copy link

@codegpt /review

@starship-github
Copy link

🚀 The StarShip CodeReviewer has been triggered with action(s): review.

mirror/lfssyncer/minio.go Outdated Show resolved Hide resolved
@pulltheflower pulltheflower merged commit 458d0b2 into main Nov 7, 2024
@pulltheflower pulltheflower deleted the add-mirror-last-update-at-to-model-and-dataset-detail branch November 7, 2024 05:40
@starship-github
Copy link

The StarShip CodeReviewer was triggered but terminated because it encountered an issue: The MR state is not opened.

Tips

CodeReview Commands (invoked as MR or PR comments)

  • @codegpt /review to trigger an code review.
  • @codegpt /evaluate to trigger code evaluation process.
  • @codegpt /describe to regenerate the summary of the MR.
  • @codegpt /secscan to scan security vulnerabilities for the MR or the Repository.
  • @codegpt /help to get help.

CodeReview Discussion Chat

There are 2 ways to chat with Starship CodeReview:

  • Review comments: Directly reply to a review comment made by StarShip.
    Example:
    • @codegpt How to fix this bug?
  • Files and specific lines of code (under the "Files changed" tab):
    Tag @codegpt in a new review comment at the desired location with your query.
    Examples:
    • @codegpt generate unit testing code for this code snippet.

Note: Be mindful of the bot's finite context window.
It's strongly recommended to break down tasks such as reading entire modules into smaller chunks.
For a focused discussion, use review comments to chat about specific files and their changes, instead of using the MR/PR comments.

CodeReview Documentation and Community

  • Visit our Documentation
    for detailed information on how to use Starship CodeReview.

ganisback pushed a commit that referenced this pull request Dec 5, 2024
* Add mirror last_updated_at to model and dataset detail API

* Use transaction to update mirror and repository status

* Optimize code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants