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

Enabled upload of zip archive of multiple SRG XML files #512

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vanessuniq
Copy link
Contributor

Feature enhancement #498
Signed-off-by: Vanessa Fotso [email protected]

@vanessuniq vanessuniq added V3.0 enhancement Pull requests that add a new feature ruby Pull requests that update Ruby code ux Addresses change on the user interface labels Dec 20, 2022
@vanessuniq vanessuniq added this to the v3.0 milestone Dec 20, 2022
@vanessuniq vanessuniq linked an issue Dec 20, 2022 that may be closed by this pull request
@vanessuniq vanessuniq temporarily deployed to vulcan-pr-512 December 20, 2022 02:21 Inactive
@vanessuniq vanessuniq enabled auto-merge (squash) January 26, 2023 16:34
@vanessuniq vanessuniq force-pushed the 498-allow-for-uploading-multiple-srg-files-at-once branch from 3306e55 to 3adfb6a Compare January 26, 2023 16:35
@aaronlippold
Copy link
Member

Is this PR ready for merge?

@vanessuniq vanessuniq temporarily deployed to vulcan-pr-512 July 14, 2023 16:21 Inactive
@vanessuniq vanessuniq disabled auto-merge August 24, 2023 12:16
@aaronlippold aaronlippold requested a review from Copilot December 3, 2024 20:40
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 suggestion.

@@ -23,7 +23,7 @@ def self.from_mapping(benchmark_mapping)
title = benchmark_mapping.title.first rescue nil
version = "V#{benchmark_mapping.version.version}" \
"#{SecurityRequirementsGuide.revision(benchmark_mapping.plaintext.first)}" rescue nil
release_date = SecurityRequirementsGuide.release_date(benchmark_mapping.plaintext.first)
release_date = SecurityRequirementsGuide.release_date(benchmark_mapping.plaintext.first) rescue nil
Copy link
Preview

Copilot AI Dec 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using rescue nil suppresses all errors, which might hide issues that should be addressed. Suggestion: Handle specific exceptions or log the error for debugging purposes.

Suggested change
release_date = SecurityRequirementsGuide.release_date(benchmark_mapping.plaintext.first) rescue nil
release_date = SecurityRequirementsGuide.release_date(benchmark_mapping.plaintext.first) rescue StandardError => e; Rails.logger.error(e.message); nil

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Pull requests that add a new feature ruby Pull requests that update Ruby code ux Addresses change on the user interface V3.0
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

Allow for uploading multiple SRG files at once
2 participants