Skip to content

Update perforce from 2021.1,2126753 to 21.1,2156517#108819

Merged
miccal merged 1 commit intoHomebrew:masterfrom
gitgitgadget:perforce
Jul 19, 2021
Merged

Update perforce from 2021.1,2126753 to 21.1,2156517#108819
miccal merged 1 commit intoHomebrew:masterfrom
gitgitgadget:perforce

Conversation

@dscho
Copy link
Copy Markdown
Contributor

@dscho dscho commented Jul 19, 2021

Verified:

Not verified (because I only want to fix this for git/git, where all CI builds are failing because of this:

  • brew audit --cask <cask> is error-free.
  • brew style --fix <cask> reports no offenses.

@dscho dscho force-pushed the perforce branch 3 times, most recently from 890dfe5 to 6707962 Compare July 19, 2021 12:54
@dscho
Copy link
Copy Markdown
Contributor Author

dscho commented Jul 19, 2021

Finally! The build passed!

dscho added a commit to gitgitgadget/keep-homebrew-perforce-up-to-date that referenced this pull request Jul 19, 2021
The PR to update to this version is here:

	Homebrew/homebrew-cask#108819

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Comment on lines 19 to 21
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This seems more likely that they didn't publish this release properly yet, or we're looking at the wrong source for the releases.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I thought so, too, but the CI builds are failing for multiple days now, and there are quite a few of those builds: https://github.com/git/git/actions/workflows/main.yml

image

(Yes, Perforce has this tradition of releasing on a Friday night...)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh, and for the record, I had to add a workaround for a similar issue in the past. IIRC I disabled the automated builds for a couple of weeks in the hopes that they would update their website to reflect the actual version, but even a couple of weeks had not been enough.

Therefore, in the interest of unbreaking each and every CI build of the Git project, I would like to respectfully request to just go with the pragmatic workaround. If you truly care deeply, I will monitor the release notes manually and open a PR, should the release notes ever been updated to include the current version.

Deal?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@SMillerDev ☝️

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you shoot them an email to clarify the state of this latest release and just keep this PR to the SHA/version change? I'd rather not mess with the livecheck if we can avoid it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I tried to contact Perforce's support years ago, but never heard back from them because you know, I am not a paying customer. All I need it for is to verify Git's Perforce support. I have no illusions about the prospect of getting anybody on the line this time around, either.

Me, too, I would love to avoid the livecheck issues, but unfortunately, I do not see any pragmatic way out of this without hardcoding known-bad information and its known-good replacement.

The alternative is, of course, to leave the Git project with completely broken CI runs. Not something I was working toward.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

My alternative would be to leave the livecheck broken and merge just the version update.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

But then it would look as if my PR was crafted carelessly.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this discussion proves otherwise.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

As you wish. I force-pushed, dropping the livecheck workaround (and explaining in the remaining commit message why we accept the failing livecheck).

Please note that this fails the livecheck because Perforce's release
notes were not updated when the binaries were uploaded (overwriting the
previous version's binaries, of course).

During the review of
Homebrew#108819 it was determined
that it is worth having a failing livecheck more than it is worth having
an ugly workaround (for future record, the ugly workaround is here:
Homebrew@670796228).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho
Copy link
Copy Markdown
Contributor Author

dscho commented Jul 19, 2021

For posterity: As expected, the audit failed and consequently the conclusion, too:

audit for perforce: failed
 - Version '2021.1,2156517' differs from '2021.1,2126753' retrieved by livecheck.
Error: 1 problem in 1 cask detected
Error: Version '2021.1,2156517' differs from '2021.1,2126753' retrieved by livecheck.

This was determined to be okay because the livecheck depends on Perforce's release notes to be up to date, which they are not.

@miccal miccal merged commit fc8e1c4 into Homebrew:master Jul 19, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants