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

Deprecate license #17437

Closed
3 tasks done
vitorgalvao opened this issue Jan 23, 2016 · 12 comments
Closed
3 tasks done

Deprecate license #17437

vitorgalvao opened this issue Jan 23, 2016 · 12 comments

Comments

@vitorgalvao
Copy link
Member

vitorgalvao commented Jan 23, 2016

Refs #16692.

  • Deprecate license from core.
  • Remove license documentation.
  • Remove license from all official taps.
@vitorgalvao vitorgalvao added enhancement core Issue with Homebrew itself rather than with a specific cask. ready to implement labels Jan 23, 2016
@jawshooah
Copy link
Contributor

Remove license tests.

I don't think this is necessary. As long as it's just deprecated, and not completely removed, there should be tests for it.

@vitorgalvao
Copy link
Member Author

Why keep the tests, though? Ideally (or, as I see it), it being deprecated means using casks that use it won’t blow up in your face, but auditing and testing for it will. I.e., if you’re “simply a user”, everything will work as expected, but if you’re developing at all, you should be actively informed and discouraged about something deprecated.

@jawshooah
Copy link
Contributor

if you’re developing at all, you should be actively informed and discouraged about something deprecated

That's fine, and usually how it works in software development when working with languages that support API deprecation as a feature (e.g. Java). But generally, or at least in my experience, the tests remain until the deprecated API is removed in the next major release.

I'm fine with audit producing a warning for casks which use deprecated APIs, but the tests should remain until support is completely removed from the core. This ensures that the feature still works, despite being deprecated (and keeps coverage metrics from degrading as well).

@vitorgalvao
Copy link
Member Author

Sounds fair. Remove that point from the top post.

@adamo57
Copy link
Contributor

adamo57 commented Oct 2, 2016

what do you mean when you say, "Remove license from all official taps."?

@reitermarkus
Copy link
Member

Every cask has a license stanza, which is, and never was, used for anything.

"Remove license from all official taps." means removing the license stanza from all casks in the official taps (currently only two: caskroom/cask and caskroom/versions).

@adamo57
Copy link
Contributor

adamo57 commented Oct 2, 2016

So is this supposed to be a PR for both caskroom/cask and caskroom/versions repos? I'm having a little difficulty understanding how this is supposed to work under the same branch.

@reitermarkus
Copy link
Member

These are basically three separate tasks that will have to be completed in this order:

  1. Deprecate license in core code, which is now located in Homebrew/brew.
  2. Remove license from documentation, here in this repo.
  3. Remove license from all casks, here in this repo and caskroom/versions.

@vitorgalvao
Copy link
Member Author

There’s also casroom/eid and caskroom/fonts (the latter being the causer of the license stanza).

Removing stanzas is easily done with a simple script, though. Deprecating license from the core is what really matters.

@adidalal
Copy link
Contributor

adidalal commented Oct 9, 2016

cask style needs to be updated, also, to not add in an empty blank line

@vitorgalvao
Copy link
Member Author

Done! Thank you, @abookyun.

@miccal miccal removed the core Issue with Homebrew itself rather than with a specific cask. label Dec 23, 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

No branches or pull requests

6 participants