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

Revert "add old releases to hubspot (#2290)" #2308

Merged
merged 1 commit into from
Jul 29, 2019
Merged

Conversation

garyverhaegen-da
Copy link
Contributor

On Friday evening, we have four runs of the cron job that have produced the following logs (after a change of token, which may or may not be related):

26/07/2019, 21:00:23

v0.13.15 already present in HubSpot
v0.13.14 already present in HubSpot
v0.13.13 already present in HubSpot
v0.13.12 already present in HubSpot
v0.13.10 already present in HubSpot
v0.13.5 already present in HubSpot
v0.13.0 already present in HubSpot
v0.12.25 already present in HubSpot
v0.12.24 already present in HubSpot
v0.12.22 already present in HubSpot
v0.12.21 already present in HubSpot
v0.12.20 already present in HubSpot
v0.12.19 already present in HubSpot
v0.12.18 already present in HubSpot
v0.12.17 already present in HubSpot
v0.12.16 already present in HubSpot
Publishing v0.12.15 to Hubspot...
Publishing v0.12.12 to Hubspot...
Publishing v0.12.11 to Hubspot...
Publishing v0.12.3 to Hubspot...
Done.

26/07/2019, 22:00:21

v0.13.15 already present in HubSpot
v0.13.14 already present in HubSpot
v0.13.13 already present in HubSpot
v0.13.12 already present in HubSpot
v0.13.10 already present in HubSpot
v0.13.5 already present in HubSpot
v0.13.0 already present in HubSpot
v0.12.25 already present in HubSpot
v0.12.24 already present in HubSpot
v0.12.22 already present in HubSpot
v0.12.21 already present in HubSpot
v0.12.20 already present in HubSpot
Publishing v0.12.19 to Hubspot...
Publishing v0.12.18 to Hubspot...
Publishing v0.12.17 to Hubspot...
Publishing v0.12.16 to Hubspot...
v0.12.15 already present in HubSpot
v0.12.12 already present in HubSpot
v0.12.11 already present in HubSpot
v0.12.3 already present in HubSpot
Done.

26/07/2019, 23:00:19

v0.13.15 already present in HubSpot
v0.13.14 already present in HubSpot
v0.13.13 already present in HubSpot
v0.13.12 already present in HubSpot
v0.13.10 already present in HubSpot
v0.13.5 already present in HubSpot
v0.13.0 already present in HubSpot
v0.12.25 already present in HubSpot
Publishing v0.12.24 to Hubspot...
Publishing v0.12.22 to Hubspot...
Publishing v0.12.21 to Hubspot...
Publishing v0.12.20 to Hubspot...
v0.12.19 already present in HubSpot
v0.12.18 already present in HubSpot
v0.12.17 already present in HubSpot
v0.12.16 already present in HubSpot
v0.12.15 already present in HubSpot
v0.12.12 already present in HubSpot
v0.12.11 already present in HubSpot
v0.12.3 already present in HubSpot
Done.

27/07/2019, 00:00:19

v0.13.15 already present in HubSpot
v0.13.14 already present in HubSpot
v0.13.13 already present in HubSpot
v0.13.12 already present in HubSpot
Publishing v0.13.10 to Hubspot...
Publishing v0.13.5 to Hubspot...
Publishing v0.13.0 to Hubspot...
Publishing v0.12.25 to Hubspot...
v0.12.24 already present in HubSpot
v0.12.22 already present in HubSpot
v0.12.21 already present in HubSpot
v0.12.20 already present in HubSpot
v0.12.19 already present in HubSpot
v0.12.18 already present in HubSpot
v0.12.17 already present in HubSpot
v0.12.16 already present in HubSpot
v0.12.15 already present in HubSpot
v0.12.12 already present in HubSpot
v0.12.11 already present in HubSpot
v0.12.3 already present in HubSpot
Done.

27/07/2019, 01:00:18

v0.13.15 already present in HubSpot
v0.13.14 already present in HubSpot
Publishing v0.13.13 to Hubspot...
Publishing v0.13.12 to Hubspot...
v0.13.10 already present in HubSpot
v0.13.5 already present in HubSpot
v0.13.0 already present in HubSpot
v0.12.25 already present in HubSpot
v0.12.24 already present in HubSpot
v0.12.22 already present in HubSpot
v0.12.21 already present in HubSpot
v0.12.20 already present in HubSpot
v0.12.19 already present in HubSpot
v0.12.18 already present in HubSpot
v0.12.17 already present in HubSpot
v0.12.16 already present in HubSpot
v0.12.15 already present in HubSpot
v0.12.12 already present in HubSpot
v0.12.11 already present in HubSpot
v0.12.3 already present in HubSpot
Done.

27/07/2019, 02:00:17

v0.13.15 already present in HubSpot
Publishing v0.13.14 to Hubspot...
v0.13.13 already present in HubSpot
v0.13.12 already present in HubSpot
v0.13.10 already present in HubSpot
v0.13.5 already present in HubSpot
v0.13.0 already present in HubSpot
v0.12.25 already present in HubSpot
v0.12.24 already present in HubSpot
v0.12.22 already present in HubSpot
v0.12.21 already present in HubSpot
v0.12.20 already present in HubSpot
v0.12.19 already present in HubSpot
v0.12.18 already present in HubSpot
v0.12.17 already present in HubSpot
v0.12.16 already present in HubSpot
v0.12.15 already present in HubSpot
v0.12.12 already present in HubSpot
v0.12.11 already present in HubSpot
v0.12.3 already present in HubSpot
Done.

With the net result that:

  1. We have almost all of the releases twice in the blog, and
  2. Because Dan had set up Twitter integration, we have tweeted about 0.12.3-0.12.15 on Friday evening.

Because old releases are already there and the HubSpot API has proven to be unreliable, I would like to revert to the previous approach, which was only pushing to HubSpot after updating the documentation (and therefore does not rely on the HubSpot API to detect when a new post needs to be made).

Note: this would push a new HubSpot blog post (and therefore tweet) when we pull out a release too (i.e. on each change to versions.json), which I'm not sure how I feel about.

Copy link
Contributor

@cocreature cocreature left a comment

Choose a reason for hiding this comment

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

Thanks! I guess there is one issue here if the upload of the docs succeeds but the upload to hubspot fails. If I understand this correctly, we will never retry publishing to hubspot in that case. But it definitely seems better that what we have now.

@mergify mergify bot merged commit 0109501 into master Jul 29, 2019
@mergify mergify bot deleted the hubspot-too-unreliable branch July 29, 2019 08:16
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