Closed slugb0t closed 2 weeks ago
Thank you for submitting this pull request! We appreciate your contribution to the project. Before we can merge it, we need to review the changes you've made to ensure they align with our code standards and meet the requirements of the project. We'll get back to you as soon as we can with feedback. Thanks again!
This pull request implements a new workflow for GitHub release integration with Zenodo archiving, adds support for custom license titles, and includes various improvements to error handling, logging, and UI elements. The changes focus on enhancing the user experience while ensuring proper metadata handling and archival compliance.
sequenceDiagram
actor User
participant GitHub
participant Zenodo
participant Database
participant Bot
User->>GitHub: Create a release
GitHub->>Bot: Trigger release event
Bot->>Database: Fetch Zenodo token
Database-->>Bot: Return Zenodo token
Bot->>Zenodo: Create or fetch deposition
Zenodo-->>Bot: Return deposition info
Bot->>GitHub: Update release metadata
Bot->>Zenodo: Upload assets
Bot->>Zenodo: Publish deposition
Zenodo-->>Bot: Confirm publication
Bot->>GitHub: Update release status
Bot->>User: Notify release completion
classDiagram
class Archival {
+updateGitHubRelease(context, repositoryName, owner, releaseId)
+publishZenodoDeposition(zenodoToken, depositionId)
+getZenodoToken(user)
+parseZenodoInfo(issueBody)
}
class License {
+validateLicense(licenseRequest, existingLicense)
+applyLicenseTemplate(context, owner, repository, subjects)
}
class Metadata {
+getCodemetaContent(context, owner, repository)
+getCitationContent(context, owner, repository)
+validateMetadata(content, fileType)
+updateMetadataIdentifier(context, owner, repository, identifier, version)
}
Archival --> Zenodo
Archival --> GitHub
License --> Database
Metadata --> Database
Metadata --> GitHub
Metadata --> Zenodo
Zenodo : API
GitHub : API
Database : Prisma
Change | Details | Files |
---|---|---|
Implemented a new workflow for Zenodo archival integration |
|
bot/archival/index.js |
Added support for custom license titles and improved license handling |
|
ui/pages/dashboard/[owner]/[repo]/edit/license.vue bot/license/index.js ui/server/api/[owner]/[repo]/license/index.post.ts ui/server/api/[owner]/[repo]/license/custom_title.put.ts |
Enhanced error handling and logging system |
|
bot/utils/tools/index.js bot/metadata/index.js ui/error.vue |
Improved UI and navigation structure |
|
ui/pages/dashboard/[owner]/[repo]/index.vue ui/pages/dashboard/[owner]/[repo]/release/zenodo.vue ui/pages/codefair.vue ui/middleware/protected.ts |
Fixed metadata handling issues |
|
bot/metadata/index.js ui/server/api/[owner]/[repo]/code-metadata/index.post.ts |
Thanks for making updates to your pull request. Our team will take a look and provide feedback as soon as possible. Please wait for any GitHub Actions to complete before editing your pull request. If you have any additional questions or concerns, feel free to let us know. Thank you for your contributions!
Thanks for closing this pull request! If you have any further questions, please feel free to open a new issue. We are always happy to help!
Summary by Sourcery
Introduce a new workflow to streamline GitHub release integration with Zenodo archiving, ensuring metadata is updated before releases. Add support for custom license titles and improve error handling and logging. Fix issues with metadata PR links and codemeta.json date updates. Enhance the UI with additional resources and improved layouts.
New Features:
Bug Fixes:
Enhancements:
Documentation:
Summary by Sourcery
Introduce a new workflow to streamline GitHub release integration with Zenodo archiving, ensuring metadata is updated before releases. Add support for custom license titles and improve error handling and logging. Fix issues with metadata PR links and codemeta.json date updates. Enhance the UI with additional resources and improved layouts.
New Features:
Bug Fixes:
Enhancements:
Documentation: