Closed Bug 863443 Opened 11 years ago Closed 11 years ago

Contribution Guidelines not Discoverable

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jugglinmike, Assigned: jugglinmike)

Details

Attachments

(1 file, 4 obsolete files)

Although expectations around new contributions are well-maintained on the Mozilla Wiki[1], these may not be clear to users who discover Gaia through its GitHub repository. For example the following requirements are undocumented:

- a patch should have a corresponding bug filed in BugZilla
- a patch should contain the associated bug number in its commit message title
- a patch should have the reviewer's name in its commit message

Because the wiki is not referenced in the README.md file, these requirements are not at all discoverable.

[1] https://wiki.mozilla.org/Gaia/Hacking
Assignee: nobody → mike
As noted in the commit message, GitHub.com will link to this file whenever the web interface is used to open an issue or pull request.

I think it's a good idea to keep this minimal in order to limit duplication (and prevent possible contradictions) with the guidelines hosted on the Mozilla Wiki.
Attachment #739269 - Flags: review?(felash)
In addition, julienw and I discussed the possibility of disabling the "issues" feature on GitHub.com altogether for the following reasons:

1. It is confusing. New developers could not be faulted for assuming that it is the preferred method of filing bugs (while in reality, BugZilla is the preferred tool for tracking this information)

2. Left unmaintained, it is discouraging. New developers may assume that a project with many many open issues on GitHub (over 500 at the time of this writing) does not value the input of most contributors.
Finally, the presence of long-standing pull requests tends to suggest that this is the preferred method for submitting and discussing patches. Again, this is not the case, and persisting hundreds of irrelevant open pull requests will have the same negative effects as listed above.

We should consider closing all obsolete pull requests and promoting stricter practices around managing new requests.
comment 2 and comment 3 should be sent to the mailing lists instead.

You can maybe raise the topic as soon as we land this.
Comment on attachment 739269 [details] [diff] [review]
Add file for contribution guidelines

Review of attachment 739269 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks, that will be a healthy addition !

::: CONTRIBUTING.md
@@ +1,5 @@
> +# Contributing to Gaia
> +
> +Before submitting a pull request on GitHub, please create a bug report on
> +[BugZilla](https://bugzilla.mozilla.org/) under [Boot2Gecko >
> +Gaia](https://bugzilla.mozilla.org/buglist.cgi?product=Boot2Gecko&component=Gaia&resolution=---).

I think you wanted to use https://bugzilla.mozilla.org/enter_bug.cgi?product=Boot2Gecko&component=Gaia instead ?

You can maybe precise that "you can choose a more specific module if your problem focus on a specific area of Boot2Gecko, eg a specific app".

@@ +4,5 @@
> +[BugZilla](https://bugzilla.mozilla.org/) under [Boot2Gecko >
> +Gaia](https://bugzilla.mozilla.org/buglist.cgi?product=Boot2Gecko&component=Gaia&resolution=---).
> +
> +For more details on contributing to Gaia, please see [the Gaia/Hacking page of
> +the Mozilla Wiki](https://wiki.mozilla.org/Gaia/Hacking).

The correct URL is https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia/Hacking.
Attachment #739269 - Attachment is obsolete: true
Attachment #739269 - Flags: review?(felash)
Attachment #740764 - Flags: review?(felash)
Thanks, Julien. I've made the modifications you suggested, and I will send comment 2 and comment 3 to the Gaia mailing list once this lands.
Comment on attachment 740764 [details] [diff] [review]
Add file for contribution guidelines

Review of attachment 740764 [details] [diff] [review]:
-----------------------------------------------------------------

sorry about that, I should have given the right name in the first place.

::: CONTRIBUTING.md
@@ +2,5 @@
> +
> +Before submitting a pull request on GitHub, please create a bug report on
> +[BugZilla](https://bugzilla.mozilla.org/) under [Boot2Gecko >
> +Gaia](https://bugzilla.mozilla.org/enter_bug.cgi?product=Boot2Gecko&component=Gaia).
> +You can choose a more specific module if your problem pertains to a single

ok, I think the blessed word is "component" here instead of "module", sorry about that...

@@ +3,5 @@
> +Before submitting a pull request on GitHub, please create a bug report on
> +[BugZilla](https://bugzilla.mozilla.org/) under [Boot2Gecko >
> +Gaia](https://bugzilla.mozilla.org/enter_bug.cgi?product=Boot2Gecko&component=Gaia).
> +You can choose a more specific module if your problem pertains to a single
> +component of Boot2Gecko (e.g. a specific application).

and then maybe chose another word here (to avoid repetition) but I'll let you choose.
This version corrects errors in naming conventions (as described in comment 8).
Attachment #740764 - Attachment is obsolete: true
Attachment #740764 - Flags: review?(felash)
Attachment #740861 - Flags: review?(felash)
I erroneously re-submitted an old patch. Sorry about that!
Attachment #740861 - Attachment is obsolete: true
Attachment #740861 - Flags: review?(felash)
Attachment #740897 - Flags: review?(felash)
Re-submitting once again. Not sure what's going on here (possibly a caching issue). Sorry for the noise!
Attachment #740897 - Attachment is obsolete: true
Attachment #740897 - Flags: review?(felash)
Attachment #740900 - Flags: review?(felash)
Comment on attachment 740900 [details] [diff] [review]
Add file for contribution guidelines (v4)

Review of attachment 740900 [details] [diff] [review]:
-----------------------------------------------------------------

r=me

will merge, thanks !
Attachment #740900 - Flags: review?(felash) → review+
master: 0589e45f69b0b8e96193442e71f67fa17623039c
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
I've been in contact with GitHub support regarding what I consider to be a bug in the treatment of the `contributing.md` file*. I am going to wait until the resolution of that work before raising the concerns in comment 2 and comment 3 on the mailing list (in order to avoid confusion).

* - Strangely, GitHub only displays a message about the project's `contributing.md` file if it exists in the HEAD of the user's fork. In this case, the message will reference the `contributing.md` file in the user's fork--*not* the version in the repository for which they are issuing a pull request. This means that if their `master` branch is behind Mozilla's, the message may be out of date (or may not be rendered at all).
thanks for investigating this, this is also imho a bug on their end.
I haven't heard back from GitHub.com's support staff, but it appears that they've fixed this behavior. I will compose an e-mail to the Gaia mailing list based on comment 2 and comment 3
Yep, it's still not displayed, but at least there is a link...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: