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

Add post_install_message in gemspec #3723

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

TonyCTHsu
Copy link
Contributor

What does this PR do?

  1. Add post_install_message in gemspec
  2. Update unrelease comparison in changelog

@TonyCTHsu TonyCTHsu added the dev/internal Other internal work that does not need to be included in the changelog label Jun 18, 2024
@TonyCTHsu TonyCTHsu requested a review from a team as a code owner June 18, 2024 16:13
@TonyCTHsu TonyCTHsu added this to the 1.23.3 milestone Jun 18, 2024
ddtrace.gemspec Outdated Show resolved Hide resolved
ddtrace.gemspec Outdated Show resolved Hide resolved
ddtrace.gemspec Outdated Show resolved Hide resolved
@TonyCTHsu TonyCTHsu force-pushed the tonycthsu/post-install-message branch from 152bba1 to 0a86bc4 Compare June 27, 2024 10:48
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.25%. Comparing base (4c8b42c) to head (a2c9679).
Report is 8 commits behind head on 1.x-stable.

Additional details and impacted files
@@              Coverage Diff               @@
##           1.x-stable    #3723      +/-   ##
==============================================
- Coverage       98.25%   98.25%   -0.01%     
==============================================
  Files            1257     1257              
  Lines           74911    74914       +3     
  Branches         3567     3567              
==============================================
+ Hits            73602    73604       +2     
- Misses           1309     1310       +1     

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

@TonyCTHsu TonyCTHsu merged commit c891ba8 into 1.x-stable Jun 28, 2024
193 checks passed
@TonyCTHsu TonyCTHsu deleted the tonycthsu/post-install-message branch June 28, 2024 19:04
@TonyCTHsu TonyCTHsu mentioned this pull request Jul 1, 2024
ivoanjo added a commit that referenced this pull request Jul 3, 2024
**What does this PR do?**

This PR is a follow-up on #3723.

For the 1.23.3 dd-trace-rb release, we included a quite detailed
post-install message to tell customers that the new release was out:

```
Thank you for installing ddtrace. We have released our next major version!

As of version 2, `ddtrace` gem has been renamed to `datadog`.
The 1.x series will now only receive maintenance updates for security and critical bug fixes.

To upgrade, please replace gem `ddtrace` with gem `datadog`.
For detailed instructions on migration, see: https://dtdg.co/ruby-v2-upgrade
```

My thinking is -- some customers may not be able to move to 2.x as
quickly as they wanted, and thus seeing that message again and again may
start to be slightly annoying.

Thus, this PR replaces with with the minimalistic

```
The ddtrace gem has been renamed to datadog. We recommend upgrading: https://dtdg.co/ruby-v2-upgrade
```

**Motivation:**

Continue suggesting to customers that the should upgrade, while at the
same time not being too annoying about it.

**Additional Notes:**

It actually may not a half-bad idea that we released a version with the
big message, and then shorted in.

Specifically, customers that mostly keep up-to-date will probably see
that message quite quickly, and thus upgrade.

For the long tail of customers that may need to remain on 1.x, the
more minimalistic message that will go out in a few weeks/months on
a future 1.x maintenance release will continue to remind them.

**How to test the change?**

```bash
$ bundle exec rake build
 # ...

ddtrace 1.23.3 built to pkg/ddtrace-1.23.3.gem.

$ gem install pkg/ddtrace-1.23.3.gem
Building native extensions. This could take a while...
    The ddtrace gem has been renamed to datadog. We recommend upgrading: https://dtdg.co/ruby-v2-upgrade
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/internal Other internal work that does not need to be included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants