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

Remove duplicate URL from deprecation message and fix indentation #48

Merged
merged 2 commits into from
May 31, 2024

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented May 31, 2024

Fixes the duplicate URL + long ling wrapping seen currently:

-----> Redis-stunnel app detected
! This buildpack uses stunnel, which isn’t supported on heroku-24 and later.
! You don’t need this buildpack for Redis 6+. Remove it with the command:
! $ heroku buildpacks:remove heroku/redis
! To use Redis’ native TLS support, see https://devcenter.heroku.com/articles/heroku-redis#security-and-compliance:
! https://devcenter.heroku.com/articles/heroku-redis#security-and-compliance
 !     Push rejected, failed to compile Redis-stunnel app.

GUS-W-15901890.

Fixes the duplicate URL + long ling wrapping seen currently:

```
-----> Redis-stunnel app detected
! This buildpack uses stunnel, which isn’t supported on heroku-24 and later.
! You don’t need this buildpack for Redis 6+. Remove it with the command:
! $ heroku buildpacks:remove heroku/redis
! To use Redis’ native TLS support, see https://devcenter.heroku.com/articles/heroku-redis#security-and-compliance:
! https://devcenter.heroku.com/articles/heroku-redis#security-and-compliance
 !     Push rejected, failed to compile Redis-stunnel app.
```
@edmorley edmorley requested a review from mble-sfdc May 31, 2024 07:27
@edmorley edmorley self-assigned this May 31, 2024
The build system (and other buildpacks) indent one space further for warning messages.

This fixes the wonky indentation seen here compared to the last log line (which comes from the build system):

Before:

```
-----> Redis-stunnel app detected
! This buildpack uses stunnel, which isn’t supported on heroku-24 and later.
! You don’t need this buildpack for Redis 6+. Remove it with the command:
! $ heroku buildpacks:remove heroku/redis
! To use Redis’ native TLS support, see:
! https://devcenter.heroku.com/articles/heroku-redis#security-and-compliance
 !     Push rejected, failed to compile Redis-stunnel app.
```

After:

```
-----> Redis-stunnel app detected
 !     This buildpack uses stunnel, which isn’t supported on heroku-24 and later.
 !     You don’t need this buildpack for Redis 6+. Remove it with the command:
 !     $ heroku buildpacks:remove heroku/redis
 !     To use Redis’ native TLS support, see:
 !     https://devcenter.heroku.com/articles/heroku-redis#security-and-compliance
 !     Push rejected, failed to compile Redis-stunnel app.
```
@edmorley edmorley force-pushed the edmorley/fix-deprecation-message branch from 2f15ce9 to 4a1b536 Compare May 31, 2024 12:41
@edmorley
Copy link
Member Author

I've also updated the existing indentation, so it matches the style used elsewhere (eg the build system's push failed message):

Before:

-----> Redis-stunnel app detected
! This buildpack uses stunnel, which isn’t supported on heroku-24 and later.
! You don’t need this buildpack for Redis 6+. Remove it with the command:
! $ heroku buildpacks:remove heroku/redis
! To use Redis’ native TLS support, see:
! https://devcenter.heroku.com/articles/heroku-redis#security-and-compliance
 !     Push rejected, failed to compile Redis-stunnel app.

After:

-----> Redis-stunnel app detected
 !     This buildpack uses stunnel, which isn’t supported on heroku-24 and later.
 !     You don’t need this buildpack for Redis 6+. Remove it with the command:
 !     $ heroku buildpacks:remove heroku/redis
 !     To use Redis’ native TLS support, see:
 !     https://devcenter.heroku.com/articles/heroku-redis#security-and-compliance
 !     Push rejected, failed to compile Redis-stunnel app.

@edmorley edmorley merged commit 9e14f7e into main May 31, 2024
4 checks passed
@edmorley edmorley deleted the edmorley/fix-deprecation-message branch May 31, 2024 12:59
@edmorley
Copy link
Member Author

$ h buildpacks:publish heroku/redis main
Publishing buildpack heroku/redis... done
Publishing buildpack was successful

$ h buildpacks:versions heroku/redis | head -n 4
 Version Released At              Status
 ─────── ──────────────────────── ─────────
 9       2024-05-31T12:59:53.428Z published
 8       2024-05-21T21:06:20.329Z published

@edmorley edmorley changed the title Remove duplicate URL from deprecation message Remove duplicate URL from deprecation message and fix indentation May 31, 2024
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.

3 participants