-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add linting rule for adding a license #3880
Comments
Similar issue on AC -> mozilla-mobile/android-components#846 |
While I'd love to have this, it's not the top of our priorities. Would love a contributor PR on this! |
Is header format defined in mozilla-mobile/android-components#4460 works in this project as well? |
Yes, the same header format works here too 😄 |
@NotWoods Cool. I'll make PR today. |
Should we publish |
@dector Yes, can you try publishing and consuming it from |
@pocmo Sorry for the late reply. I was busy a bit. :( If I got your proposal right - the idea is to publish module from AC project to local maven repository and reuse it in Fenix project? Isn't it adding explicit dependency on AC? |
@dector Oh, I meant only for testing if everything works. After that we'd actually publish it from AC to maven.mozilla.org |
@pocmo Ah, sure! Using rulesets from a maven repository works similarly to using rulesets from a separate module. Should I just set |
Yeah, it should. But I am not sure whether our build/publish mechanism will work as expected. That's why I would love to try that with a local repository before enabling it in buildconfig.yml. If that works then yes, let's set it to publish: true and then test again with the snapshots. :) |
@pocmo Awesome! I tested I guess main publishing mechanism is implemented in |
Closing in favor of mozilla-mobile/android-components#6351 |
We should have a linting rule that triggers if a new file does not include the Mozilla license.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: