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(exp): add randutil.GenerateID helper #580

Merged
merged 1 commit into from
Jan 22, 2025
Merged

feat(exp): add randutil.GenerateID helper #580

merged 1 commit into from
Jan 22, 2025

Conversation

jooola
Copy link
Member

@jooola jooola commented Jan 14, 2025

Handy helper used in multiple of our projects.

@jooola jooola requested a review from a team as a code owner January 14, 2025 19:41
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

Attention: Patch coverage is 57.14286% with 3 lines in your changes missing coverage. Please review.

Project coverage is 67.69%. Comparing base (6524772) to head (7f3240b).
Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
hcloud/exp/kit/randutil/id.go 57.14% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #580      +/-   ##
==========================================
- Coverage   67.85%   67.69%   -0.16%     
==========================================
  Files          48       49       +1     
  Lines        4996     5003       +7     
==========================================
- Hits         3390     3387       -3     
- Misses       1189     1196       +7     
- Partials      417      420       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jooola jooola requested a review from apricote January 20, 2025 11:39
@jooola jooola merged commit 9515be7 into main Jan 22, 2025
6 checks passed
@jooola jooola deleted the randutil branch January 22, 2025 10:36
jooola pushed a commit that referenced this pull request Jan 22, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.18.0](v2.17.1...v2.18.0)
(2025-01-22)


### Features

* **exp:** add `randutil.GenerateID` helper
([#580](#580))
([9515be7](9515be7))


### Bug Fixes

* allow getting resources with number as name
([#571](#571))
([b743a33](b743a33))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
apricote pushed a commit to hetznercloud/fleeting-plugin-hetzner that referenced this pull request Jan 22, 2025
…8.0 (hetznercloud/fleeting-plugin-hetzner!208)

This MR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/hetznercloud/hcloud-go/v2](https://github.com/hetznercloud/hcloud-go) | require | minor | `v2.17.1` -> `v2.18.0` |

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-go (github.com/hetznercloud/hcloud-go/v2)</summary>

### [`v2.18.0`](https://github.com/hetznercloud/hcloud-go/releases/tag/v2.18.0)

[Compare Source](hetznercloud/hcloud-go@v2.17.1...v2.18.0)

##### Features

-   **exp:** add `randutil.GenerateID` helper ([#&#8203;580](hetznercloud/hcloud-go#580)) ([9515be7](hetznercloud/hcloud-go@9515be7))

##### Bug Fixes

-   allow getting resources with number as name ([#&#8203;571](hetznercloud/hcloud-go#571)) ([b743a33](hetznercloud/hcloud-go@b743a33))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjAuNCIsInVwZGF0ZWRJblZlciI6IjM5LjEyMC40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
phm07 added a commit to hetznercloud/cli that referenced this pull request Jan 22, 2025
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