Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Dead/broken formula cleanup. #37014

Closed
wants to merge 1 commit into from
Closed

Conversation

geoff-nixon
Copy link
Contributor

I apologize for the "drive-by" PR. This is my follow up to #36430, a collection of fixes for formulae with source URLs that are either 404, or have bad checksums.

If any of these changes are controversial, I can try to split them out, or feel free to handle these differently if you see fit.

See corresponding PRs in head-only and boneyard.

Summary (also see line notes):

  • Move dbslayer, pathfinder, tcpurify to boneyard.
  • Move dromeaudio and figtoipe to head-only.
  • New source location, update, repack: dvorak7min, gtk-gnutella, ipbt, libgadu, logcheck, mysql-cluster, sipsak, ssdb, unittest, vilistextum, yacas.
  • Rename coremod to libxmp-lite, add alias.
  • Move coremod to boneyard; add new formula for libxml-lite. See discussion in line notes.

@@ -2,8 +2,9 @@

class Dvorak7min < Formula
homepage 'http://dvorak7min.sourcearchive.com/'
url 'http://dvorak7min.sourcearchive.com/downloads/1.6.1-13.1/dvorak7min_1.6.1.orig.tar.gz'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This isn't 404, but downloads an empty file. The Debian repack addresses this.

@@ -0,0 +1,10 @@
class LibxmpLite < Formula
Copy link
Contributor Author

Choose a reason for hiding this comment

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

As @mistydemeo noted, this is the former "coremod". Add formula + alias.

Copy link
Member

Choose a reason for hiding this comment

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

Unfortunately, for technical reasons we can't support formula renames. Mind doing this the other way around? E.g. add an alias under the libxmp-lite name, and leave the formula itself as coremod.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ugh... 😦.
Correct me if I misunderstand, but the "technical reason" is: any extant install of "coremod" would be effectively orphaned, i.e., since the coremod alias now always points to libxml-lite, there's no way to brew rm coremod on the old version, that command will always try to brew rm libxmp-lite.

My personal preference (in light of this) would be to revert back to "boneyarding" the coremod formula, while adding a new libxmp-lite formula. This actually seems a lot more prudent to me: given the fact that the libname has changed, "upgrading" coremod to libxmp-lite would probably cause breakage in anything dynamically linked to the old library. Plus, the formulae wouldn't conflict, since everything else has been renamed as well. Thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm going ahead and pushing the changes I suggest above for now.

Copy link
Member

Choose a reason for hiding this comment

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

If the library name has changed that seems a good reason to boneyard/new formula, yeh.

…udio and figtoipe to head-only. New source/update/repack: dvorak7min, gtk-gnutella, ipbt, libgadu, logcheck, mysql-cluster, sipsak, ssdb, unittest, vilistextum, yacas. Add libxmp-lite formula (former coremod).
@@ -22,14 +22,17 @@
"cmucl" => "homebrew/binary",
"comparepdf" => "homebrew/boneyard",
"connect" => "homebrew/boneyard",
"coremod" => "homebrew/boneyard",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've gone ahead and put this back in boneyard, whilst adding the additional libxmp-lite formula.

@geoff-nixon
Copy link
Contributor Author

It seems there are still gonna be some 'bot failures, but I wouldn't have a clue as to how to "test" libxmp-lite, etc. And surely even with some rubocop errors, better than getting 404s?

@MikeMcQuaid
Copy link
Member

It seems there are still gonna be some 'bot failures, but I wouldn't have a clue as to how to "test" libxmp-lite, etc. And surely even with some rubocop errors, better than getting 404s?

See cmake.rb for an example of an application formula with a good test and tinyxml2.rb for an example of a library formula with a good test. Thanks!

@jacknagel
Copy link
Contributor

Please also split this up to follow the "one commit per formula, one formula per commit" guideline. Thanks.

geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 22, 2015
geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 22, 2015
geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 22, 2015
geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 22, 2015
geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 22, 2015
geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 22, 2015
@geoff-nixon
Copy link
Contributor Author

@jacknagel 😓 Done, as requested.
Sorry for not copying over all the notes, that took ages, and I'm spent.

@MikeMcQuaid I've added tests where it seemed feasible, including in the new libxmp-lite formula; apologies for the rest.

geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 22, 2015
geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 23, 2015
@tdsmith
Copy link
Contributor

tdsmith commented Feb 23, 2015

Closing as redundant with the child PRs.

@tdsmith tdsmith closed this Feb 23, 2015
@geoff-nixon
Copy link
Contributor Author

👍

geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 23, 2015
geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 23, 2015
geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 23, 2015
geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 23, 2015
geoff-nixon added a commit to pullreq/homebrew that referenced this pull request Feb 24, 2015
@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants