Skip to content

Fix block size evaluation (#1212)#1213

Merged
uweseimet merged 3 commits intodevelopfrom
issue_1212
Oct 1, 2023
Merged

Fix block size evaluation (#1212)#1213
uweseimet merged 3 commits intodevelopfrom
issue_1212

Conversation

@uweseimet
Copy link
Copy Markdown
Contributor

>piscsi -F /home/pi/images -ID0 -b 1024 test.hds
>scsictl -s
...
 0:0  SCHD  PiSCSI:SCSI HD 15 MiB:2305  1024 bytes per sector  15728640 bytes capacity  /home/us/hatari/test.hds  read-only

@uweseimet uweseimet linked an issue Sep 15, 2023 that may be closed by this pull request
@uweseimet
Copy link
Copy Markdown
Contributor Author

@akuker The SonarCloud job for this PR reports

2023-09-15T09:36:38.9794359Z ERROR: Error during SonarScanner execution
2023-09-15T09:36:38.9795725Z ERROR: Something went wrong while trying to get the pullrequest with key '1213'
2023-09-15T09:36:38.9797098Z ERROR: Caused by: Error 500 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=akuker_PISCSI&pullrequestKey=1213 : {"errors":[{"msg":"An unexpected error occurred. Please try again later."}]}

I re-tried several times without success. The SonarCloud job of the related issue runs fine. Because these two jobs run on the same sources I suspect something is wrong with the PR action. Can you please check?

@uweseimet uweseimet marked this pull request as ready for review September 15, 2023 10:13
@uweseimet
Copy link
Copy Markdown
Contributor Author

I would appreciate a code review and also for a review of the PR issue ...

@akuker
Copy link
Copy Markdown
Member

akuker commented Sep 24, 2023

@uweseimet - Sorry I missed the email for this! I'll take a look this evening.

@uweseimet
Copy link
Copy Markdown
Contributor Author

@akuker It's just a few lines.

Do you intend to release a final release compatible with buster? I am asking because changes are piling up (#1179 and #1182), which I intended to create no PR for until bookworm is available. Not merging these changes has to started to block my work on other tickets, though, so in case there is no plan for another buster release I would like to merge my changes earlier, i.e. before bookworm is available.
In case you are unsure, another buster release could be created from a branch based on the current develop branch any time, even if my changes were merged. So merging my pending changes would not prevent another buster release, but would definitely make my life easier ;-).

@akuker
Copy link
Copy Markdown
Member

akuker commented Sep 25, 2023

FYI: Life has been insanely busy for me and I haven't had a lot of time to dedicate to PiSCSI.

The PR looks good, but I want to figure out what's up with SonarCloud before we merge it.

I think it would be worthwhile to do one more release with Buster support and this issue fixed. After that, I have no objections with dropping Buster support.

Perhaps target end of this week for a release? I need to check how our translations are doing and if there are any updates needed there.

@uweseimet
Copy link
Copy Markdown
Contributor Author

@akuker OK, sounds good. Regarding SonarCloud you changed something related to PR actions some time ago, commit #74eef6f9. This might be related.

@uweseimet
Copy link
Copy Markdown
Contributor Author

uweseimet commented Sep 29, 2023

Regarding the next steps (PRs for #1179 and #1182) there are two approaches: Separate PRs for each ticket, or a single PR for #1182 only, because #1182 includes all changes of #1179. #1179 is just an intermediate step.
IMO having a single PR for #1182 requires less review work than two separate PRs. Any preference?

@akuker
Copy link
Copy Markdown
Member

akuker commented Oct 1, 2023

IMO having a single PR for #1182 requires less review work than two separate PRs. Any preference?

Agreed. Single PR is good with me.

@uweseimet uweseimet merged commit bd9b776 into develop Oct 1, 2023
@uweseimet uweseimet deleted the issue_1212 branch October 1, 2023 21:50
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.

Block size parameter (-b) is ignored

2 participants