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

[Stacked] Fixes CI linting #323

Conversation

schneems
Copy link
Contributor

This mostly allows using the deprecated API while we transition to the new API. This would allow us to merge #321 as a smaller PR and then we can gradually transition the rest of the codebase instead of one large shebang re-write.

@schneems schneems requested a review from a team as a code owner September 21, 2024 18:05
@schneems schneems force-pushed the schneems/fix-clippy-stacked branch 4 times, most recently from a0f781b to 566133e Compare September 21, 2024 18:09
@schneems schneems force-pushed the schneems/fix-clippy-stacked branch from 566133e to e80cdac Compare September 21, 2024 18:10
@schneems schneems merged commit a0bd563 into schneems/continue-migrate-metrics-agent-layer Sep 23, 2024
7 of 8 checks passed
@schneems schneems deleted the schneems/fix-clippy-stacked branch September 23, 2024 14:58
schneems added a commit that referenced this pull request Sep 23, 2024
* Use metadata as single point of truth (SPOT)

Previously we were using a metadata structure that was decoupled from the work being done (stored in the DOWNLOAD_URL constant). This created the possibility to update one without the other.

* Style URLs

* [Stacked] Fixes CI linting (#323)

* Clippy recommended method

* Allow deprecated Layer use

* Clippy lint suggestions

* Allow deprecated layer API usage

* Allow deprecated layer API

* Fewer allow(deprecation)-s
runesoerensen added a commit that referenced this pull request Sep 23, 2024
* Use libcnb 0.23.0

* Migrate metrics_agent layer to struct layer API

* Improve metrics agent logging

Also update integration test to verify build output

* Require download_url value

* Remove unnecessary layer env logic

As noted in the removed comment: It doesn't seem necessary as the layer env isn't explicitly modified as far as I can tell -- but perhaps there was some trait API magic happening I'm not familiar with?

* Migrate metrics_agent log output to bullet_stream

* [Stacked] Continue metadata migration (#322)

* Use metadata as single point of truth (SPOT)

Previously we were using a metadata structure that was decoupled from the work being done (stored in the DOWNLOAD_URL constant). This created the possibility to update one without the other.

* Style URLs

* [Stacked] Fixes CI linting (#323)

* Clippy recommended method

* Allow deprecated Layer use

* Clippy lint suggestions

* Allow deprecated layer API usage

* Allow deprecated layer API

* Fewer allow(deprecation)-s

---------

Co-authored-by: Richard Schneeman <[email protected]>
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