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

Get record #6

Merged
merged 6 commits into from
Dec 16, 2024
Merged

Get record #6

merged 6 commits into from
Dec 16, 2024

Conversation

kyokukou
Copy link
Contributor

No description provided.

@kyokukou kyokukou requested a review from bdc34 November 22, 2024 21:38
Copy link

@bdc34 bdc34 left a comment

Choose a reason for hiding this comment

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

One minor question about the db file.

Copy link

Choose a reason for hiding this comment

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

Do you really want to check in this browse.db? How is it created?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I copied it from the browse repository

@kyokukou kyokukou requested a review from bdc34 December 2, 2024 16:43
@@ -49,15 +51,37 @@ def __init__(self, metadata: List[Metadata]):
version=version.version,
raw='',
submitted_date=version.created,
size_kilobytes=version.source_size//1000,
source_flag=version.source_flags,
size_kilobytes = version.source_size // 1000 if version.source_size else 0,
Copy link

Choose a reason for hiding this comment

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

A kilobyte is not 1000 bytes. It is 1024.

version=version.version,
raw='',
submitted_date=version.created,
size_kilobytes=version.source_size//1000,
Copy link

Choose a reason for hiding this comment

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

1000 -> 1024

@kyokukou kyokukou requested a review from bdc34 December 2, 2024 21:17
@kyokukou kyokukou added this pull request to the merge queue Dec 16, 2024
Merged via the queue into develop with commit 140b75f Dec 16, 2024
3 checks passed
@kyokukou kyokukou deleted the get_record branch December 16, 2024 15:57
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.

2 participants