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

feat: merge foyer-rs/bytesize back to the OG repo #50

Merged
merged 8 commits into from
Oct 14, 2024

Conversation

MrCroxx
Copy link
Collaborator

@MrCroxx MrCroxx commented Sep 28, 2024

Changes

  • Use SI format by default with Display.
  • Use "KiB" for SI unit.
  • Bump to version 2.

Checklist

  • Update README.
  • Add changelog.
  • Fix CI branch.
  • Update package info.

Related issues & PRs

#49

* chore: release foyer-bytesize v2.0.0

Signed-off-by: MrCroxx <[email protected]>

* chore: fix doc test

Signed-off-by: MrCroxx <[email protected]>

* chore: add doc test on CI

Signed-off-by: MrCroxx <[email protected]>

---------

Signed-off-by: MrCroxx <[email protected]>
@MrCroxx MrCroxx self-assigned this Sep 28, 2024
@MrCroxx
Copy link
Collaborator Author

MrCroxx commented Sep 28, 2024

cc @hyunsik @robjtede PTAL

@MrCroxx MrCroxx requested review from hyunsik and robjtede October 2, 2024 01:12
@MrCroxx
Copy link
Collaborator Author

MrCroxx commented Oct 11, 2024

cc @hyunsik @robjtede PTAL

Hi, just a poll, anyone free to review this PR? Thanks. 🥰

CHANGELOG Outdated
Copy link
Member

Choose a reason for hiding this comment

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

should be .md

CHANGELOG Outdated
Comment on lines 3 to 10
## (reserved for the release date)

Release version v2.0.0

Changes:

- Use SI format by default with `Display`.
- Use "KiB" for SI unit.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
## (reserved for the release date)
Release version v2.0.0
Changes:
- Use SI format by default with `Display`.
- Use "KiB" for SI unit.
## Unreleased
- Use SI format by default with `Display`.
- Use "KiB" for SI unit.

Cargo.toml Outdated
description = "an utility for human-readable bytes representations"
version = "1.4.0-dev"
authors = ["Hyunsik Choi <[email protected]>"]
description = "An utility for human-readable bytes representations. Forked from https://github.com/hyunsik/bytesize ."
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
description = "An utility for human-readable bytes representations. Forked from https://github.com/hyunsik/bytesize ."
description = "A utility for human-readable bytes representations"

Makefile Outdated
Copy link
Member

Choose a reason for hiding this comment

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

if we're going to include some common recipe runner, my preference would be to use just which also has nice support in CI via the taiki-e/install-action GH action so things can be re-used locally and in CI tests

README.md Outdated
@@ -1,12 +1,14 @@
## ByteSize
[![Build Status](https://travis-ci.org/hyunsik/bytesize.svg?branch=master)](https://travis-ci.org/hyunsik/bytesize)

[![Rust](https://github.com/hyunsik/bytesize/actions/workflows/rust.yml/badge.svg)](https://github.com/hyunsik/bytesize/actions/workflows/rust.yml)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
[![Rust](https://github.com/hyunsik/bytesize/actions/workflows/rust.yml/badge.svg)](https://github.com/hyunsik/bytesize/actions/workflows/rust.yml)
[![CI](https://github.com/hyunsik/bytesize/actions/workflows/rust.yml/badge.svg)](https://github.com/hyunsik/bytesize/actions/workflows/rust.yml)

Copy link
Member

Choose a reason for hiding this comment

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

i have suggestions about CI but will submit them in an MR later

Cargo.toml Outdated
version = "1.4.0-dev"
authors = ["Hyunsik Choi <[email protected]>"]
description = "An utility for human-readable bytes representations. Forked from https://github.com/hyunsik/bytesize ."
version = "2.0.0"
Copy link
Member

Choose a reason for hiding this comment

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

lets hold off on a version bump for right now

Suggested change
version = "2.0.0"
version = "1.4.0-dev"

@MrCroxx
Copy link
Collaborator Author

MrCroxx commented Oct 11, 2024

@robjtede Suggestion applied. PTAL 🙏

Signed-off-by: MrCroxx <[email protected]>
@robjtede robjtede merged commit 9f938b5 into bytesize-rs:master Oct 14, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants